]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc76c98e1833789c984afafd4fd04162b1da4b967
treea834c82d487332fbed5ac27007313c22b3f08b93
parentc0e33e01e0931c384c785cc86eef18099b7400e8
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