OSDN Git Service

drm/amdgpu: add uncorrectable error count print in UMC ecc irq cb
authorGuchun Chen <guchun.chen@amd.com>
Fri, 10 Apr 2020 03:41:54 +0000 (11:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:01:44 +0000 (12:01 -0400)
commit1f3ef0efbacb2aa63e8e3933664192ee27d0d95b
treea834c82d487332fbed5ac27007313c22b3f08b93
parent7adf5619ae82244446e0e9e5199d96c316f3c80d
drm/amdgpu: add uncorrectable error count print in UMC ecc irq cb

Uncorrectable error count printing is missed when issuing UMC
UE injection. When going to the error count log function in GPU
recover work thread, there is no chance to get correct error count
value by last error injection and print, because the error status
register is automatically cleared after reading in UMC ecc irq
callback. So add such message printing in UMC ecc irq cb to be
consistent with other RAS error interrupt cases.

Signed-off-by: Guchun Chen <guchun.chen@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_umc.c