]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Send RMA CPER at bad page loading
authorKent Russell <kent.russell@amd.com>
Thu, 22 Jan 2026 15:19:28 +0000 (10:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jan 2026 23:13:24 +0000 (18:13 -0500)
commite0d11bdb294cd1325eeccfec05e07d8c2534b43e
treedd97f2d0e85d9d1dbfc422af085d79dc326401e1
parent91544c45fa6a165abde6f2363bb7ded5843ef840
drm/amdgpu: Send RMA CPER at bad page loading

Some older builds weren't sending RMA CPERs when the bad page threshold
was exceeded. Newer builds have resolved this, but there could be
systems out there with bad page numbers higher than the threshold, that
haven't sent out an RMA CPER. To be thorough and safe, send an RMA CPER
when we load the table, if the threshold is met or exceeded, instead of
waiting for the next UE to trigger the CPER.

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c