Files
linux/drivers/gpu/drm/amd/amdgpu
Tom St Denis d32c72a264 drm/amd/amdgpu: Fix GPR read from debugfs (v2)
commit 5bbc6604a6 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-25 08:27:06 +01:00
..
2020-03-05 16:45:16 +01:00
2019-09-16 09:59:21 -05:00
2015-06-03 21:03:15 -04:00
2019-06-20 11:36:22 -05:00
2019-06-20 11:36:22 -05:00
2017-10-20 13:28:44 -04:00
2019-01-14 10:58:37 +01:00
2019-06-10 23:00:01 +02:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2019-06-20 21:16:38 -05:00
2016-08-31 15:21:09 -04:00
2019-11-14 05:53:10 +10:00
2020-02-28 17:23:37 +01:00