Commit ff613de9 authored by Friedrich Vock's avatar Friedrich Vock Committed by Liu Chuang
Browse files

drm/amdgpu: Reset IH OVERFLOW_CLEAR bit

mainline inclusion
from mainline-v6.8-rc3
commit 7330256268664ea0a7dd5b07a3fed363093477dd
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9HL6R
CVE: CVE-2024-26915

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7330256268664ea0a7dd5b07a3fed363093477dd



--------------------------------

Allows us to detect subsequent IH ring buffer overflows as well.

Cc: Joshua Ashton <joshua@froggi.es>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarFriedrich Vock <friedrich.vock@gmx.de>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>

conflicts:
drivers/gpu/drm/amd/amdgpu/cik_ih.c
drivers/gpu/drm/amd/amdgpu/cz_ih.c
drivers/gpu/drm/amd/amdgpu/iceland_ih.c
drivers/gpu/drm/amd/amdgpu/si_ih.c
drivers/gpu/drm/amd/amdgpu/tonga_ih.c
drivers/gpu/drm/amd/amdgpu/vega10_ih.c

Signed-off-by: default avatarLiu Chuang <liuchuang40@huawei.com>
parent d4f6b526
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment