diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2020-03-10 15:40:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-13 16:20:31 +0300 |
commit | 5bbc6604a62814511c32f2e39bc9ffb2c1b92cbe (patch) | |
tree | c1e6708156fe3be825454aa1a37ee9d7ad3ddb99 /tools/perf/scripts/python/stackcollapse.py | |
parent | b55dbe596942e15b3d18d36a41af4fde022c9d48 (diff) | |
download | linux-5bbc6604a62814511c32f2e39bc9ffb2c1b92cbe.tar.xz |
drm/amd/amdgpu: Fix GPR read from debugfs (v2)
The offset into the array was specified in bytes but should
be in terms of 32-bit words. Also prevent large reads that
would also cause a buffer overread.
v2: Read from correct offset from internal storage buffer.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions