Skip to contentSkip to conversation

drm/amdgpu: Add unrecoverable error message definitions for VFs

PATCH In review Ellen Pan 2 participants 2 messages Apr 29, 2025 – May 5, 2025

Subsystems (2)
lore
Share & tools
lore

Ellen Pan

author
#0 lore raw

PATCH 3/4 drm/amdgpu: Add unrecoverable error message definitions for VFs

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.

---
 drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +1 -0
index 3b0c55f67fe4..92ca13097aaa 100644
@@ -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
 };
 
Signature · 1 line
2.34.1
Reviewed-by on v1 3/4
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Looks good.

Thanks,
Shravan

-----Original Message-----
From: Pan, Ellen <[email protected]>
Sent: Tuesday, April 29, 2025 5:41 PM
To: [email protected]
Cc: Skvortsov, Victor <[email protected]>; Rehman, Ahmad <[email protected]>; Chan, Hing Pong <[email protected]>; Gande, Shravan kumar <[email protected]>; Luo, Zhigang <[email protected]>; Pan, Ellen <[email protected]>; Skvortsov, Victor <[email protected]>
Subject: [PATCH 3/4] drm/amdgpu: Add unrecoverable error message definitions for VFs

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.

---
 drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +1 -0
index 3b0c55f67fe4..92ca13097aaa 100644
@@ -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
 };
 

--
2.34.1