]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add MB_REQ_MSG_READY_TO_RESET response when VF get FLR notification.
authorJiange Zhao <Jiange.Zhao@amd.com>
Fri, 19 Mar 2021 02:32:04 +0000 (10:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Aug 2021 19:17:57 +0000 (15:17 -0400)
commit2c517c295fb39626d28d63e12236929d7d068152
tree0f3bc514e363562382e370590d6faecbed4d1483
parentef8a7d7861a28c2dae43c32539d517ec65275aaa
drm/amdgpu: Add MB_REQ_MSG_READY_TO_RESET response when VF get FLR notification.

When guest received FLR notification from host, it would
lock adapter into reset state. There will be no more
job submission and hardware access after that.

Then it should send a response to host that it has prepared
for host reset.

Signed-off-by: Jiange Zhao <Jiange.Zhao@amd.com>
Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Emily.Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h