aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorStylon Wang <stylon.wang@amd.com>2022-10-26 21:00:40 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-11-15 11:52:40 -0500
commita5d313b4165ca08686d5d41ee08b0a8cab2737ca (patch)
treec3ae20a3bcf41c4e44be3776a54e98630dcf652d /tools/perf/scripts/python/bin
parentdrm/amdgpu: Add psp_13_0_10_ta firmware to modinfo (diff)
downloadlinux-a5d313b4165ca08686d5d41ee08b0a8cab2737ca.tar.gz
linux-a5d313b4165ca08686d5d41ee08b0a8cab2737ca.zip
drm/amd/display: Fix invalid DPIA AUX reply causing system hang
[Why] Some DPIA AUX replies have incorrect data length from original request. This could lead to overwriting of destination buffer if reply length is larger, which could cause invalid access to stack since many destination buffers are declared as local variables. [How] Check for invalid length from DPIA AUX replies and trigger a retry if reply length is not the same as original request. A DRM_WARN() dmesg log is also produced. Reviewed-by: Roman Li <Roman.Li@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Stylon Wang <stylon.wang@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.0.x
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions