drm/amdgpu: Decode deferred error type in gfx aca bank parser
authorXiang Liu <xiang.liu@amd.com>
Wed, 19 Mar 2025 09:02:49 +0000 (17:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Mar 2025 16:16:35 +0000 (12:16 -0400)
commit338f7412c7ea2ce007e83c5ad7c5e01d8cfce1e1
tree2b6d3472e6f6e606f9fc3492e8fa79a23702e5f3
parent2ec0a7c337fd1087abd5adda638c028f8ae9a989
drm/amdgpu: Decode deferred error type in gfx aca bank parser

In the case of injecting uncorrected error with background workload,
the deferred error among uncorrected errors need to be specified
by checking the deferred and poison bits of status register.

v2: refine checking for deferred error
v2: log possiable DEs among CEs
v2: generate CPER records for DEs among UEs

Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c