amd/amdkfd: add ras page retirement handling for sq/sdma (v3)
authorTao Zhou <tao.zhou1@amd.com>
Thu, 23 Sep 2021 06:11:22 +0000 (14:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:57 +0000 (15:22 -0400)
commitc7490949239646c61db869014fcc74ed2cb91d53
treec6a82a5cfd48c00b509af6f3fad17f25594aa9c6
parente5d59cfa330523e47cba62a496864acc3948fc27
amd/amdkfd: add ras page retirement handling for sq/sdma (v3)

In ras poison mode, page retirement will be handled by the irq handler of the
module which consumes corrupted data.

v2: rename ras_process_cb to ras_poison_consumption_handler.
    move the handler's implementation from ASIC specific file to common
file.

v3: call gpu reset for xGMI connected mode.

Signed-off-by: Tao Zhou <tao.zhou1@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_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c