drm/amdgpu: Add unrecoverable error message definitions for VFs
authorEllen Pan <yunru.pan@amd.com>
Tue, 29 Apr 2025 21:00:50 +0000 (17:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:43:07 +0000 (17:43 -0400)
Host may stop runtime services after reaching a bad page threshold.

This notification will indicate to the VF that it no longer has
access to the GPU.

Reviewed-by: Shravan Kumar Gande <Shravankumar.Gande@amd.com>
Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Signed-off-by: Ellen Pan <yunru.pan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h

index 3b0c55f..92ca130 100644 (file)
@@ -351,6 +351,7 @@ enum amd_sriov_mailbox_response_message {
        MB_REQ_RAS_CPER_DUMP_READY              = 14,
        MB_RES_MSG_RAS_BAD_PAGES_READY          = 15,
        MB_RES_MSG_RAS_BAD_PAGES_NOTIFICATION   = 16,
+       MB_RES_MSG_UNRECOV_ERR_NOTIFICATION     = 17,
        MB_RES_MSG_TEXT_MESSAGE                 = 255
 };