From: Ellen Pan Date: Tue, 29 Apr 2025 21:00:50 +0000 (-0400) Subject: drm/amdgpu: Add unrecoverable error message definitions for VFs X-Git-Tag: v6.16-rc1~144^2~10^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6be34e1d1f0efc624a7505ac98609d8c6e732b85;p=thirdparty%2Flinux.git 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. Reviewed-by: Shravan Kumar Gande Signed-off-by: Victor Skvortsov Signed-off-by: Ellen Pan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h index 3b0c55f67fe46..92ca13097aaa8 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 };