]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/ras: Add sriov ras preprocessing before gpu reset
authorYiPeng Chai <YiPeng.Chai@amd.com>
Thu, 30 Oct 2025 08:49:14 +0000 (16:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:34 +0000 (13:56 -0500)
commit73c6c22694430089a6f39f1677fbf598785376d3
tree6fe3eaa8d49a91977efdaa255a9fe15ac231ced3
parent61a9a4138b57dda023ee4f473724c48d7fd3640b
drm/amd/ras: Add sriov ras preprocessing before gpu reset

Sriov host may clear all VF commands registered to auto
update list during VF reset, set ecc.auto_uUpdate block
to false before VF reset, and after VF reset is complete,
RAS_CMD__GET_ALL_BLOCK_ECC_STATUS command will be re-registered
to auto update list of sriov host.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-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/ras/ras_mgr/amdgpu_ras_mgr.c
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.h