]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd15f85f78237912c4b48b031ed27d9d20b349de6
treec6a82a5cfd48c00b509af6f3fad17f25594aa9c6
parente72b0820109ac961c58ce70a3d2e507d2c8df1e1
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