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

Gande, Shravan kumar Shravankumar.Gande at amd.com
Mon May 5 20:16:02 UTC 2025


[AMD Official Use Only - AMD Internal Distribution Only]

Looks good.

Reviewed-by: Shravan Kumar Gande <Shravankumar.Gande at amd.com>

Thanks,
Shravan

-----Original Message-----
From: Pan, Ellen <Yunru.Pan at amd.com>
Sent: Tuesday, April 29, 2025 5:41 PM
To: amd-gfx at lists.freedesktop.org
Cc: Skvortsov, Victor <Victor.Skvortsov at amd.com>; Rehman, Ahmad <Ahmad.Rehman at amd.com>; Chan, Hing Pong <Jeffrey.Chan at amd.com>; Gande, Shravan kumar <Shravankumar.Gande at amd.com>; Luo, Zhigang <Zhigang.Luo at amd.com>; Pan, Ellen <Yunru.Pan at amd.com>; Skvortsov, Victor <Victor.Skvortsov at amd.com>
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.

Signed-off-by: Victor Skvortsov <victor.skvortsov at amd.com>
Signed-off-by: Ellen Pan <yunru.pan at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
index 3b0c55f67fe4..92ca13097aaa 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
@@ -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



More information about the amd-gfx mailing list