AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/14] drm/amd/pm: add pmfw eeprom messages into uniras interface
@ 2026-01-30  2:29 Gangliang Xie
  2026-01-30  2:29 ` [PATCH 02/14] drm/amd/pm: add feature query interface for uniras Gangliang Xie
                   ` (12 more replies)
  0 siblings, 13 replies; 25+ messages in thread
From: Gangliang Xie @ 2026-01-30  2:29 UTC (permalink / raw)
  To: amd-gfx; +Cc: tao.zhou1, YiPeng.Chai, KevinYang.Wang, Gangliang Xie

add pmfw eeprom related messages into smu_v13_0_6_ras_send_msg

Signed-off-by: Gangliang Xie <ganglxie@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
index 57f4069bc827..0fcd6a1c0e92 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
@@ -3499,12 +3499,22 @@ static int smu_v13_0_6_ras_send_msg(struct smu_context *smu, enum smu_message_ty
 {
 	int ret;
 
+	if (amdgpu_sriov_vf(adev))
+		return -EOPNOTSUPP;
+
 	switch (msg) {
 	case SMU_MSG_QueryValidMcaCount:
 	case SMU_MSG_QueryValidMcaCeCount:
 	case SMU_MSG_McaBankDumpDW:
 	case SMU_MSG_McaBankCeDumpDW:
 	case SMU_MSG_ClearMcaOnRead:
+	case SMU_MSG_GetRASTableVersion:
+	case SMU_MSG_GetBadPageCount:
+	case SMU_MSG_GetBadPageMcaAddr:
+	case SMU_MSG_SetTimestamp:
+	case SMU_MSG_GetTimestamp:
+	case SMU_MSG_GetBadPageIpid:
+	case SMU_MSG_EraseRasTable:
 		ret = smu_cmn_send_smc_msg_with_param(smu, msg, param, read_arg);
 		break;
 	default:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread
* [PATCH 01/14] drm/amd/pm: add pmfw eeprom messages into uniras interface
@ 2026-01-26  3:55 Gangliang Xie
  2026-01-26  3:55 ` [PATCH 07/14] drm/amd/ras: add check safety watermark func for pmfw eeprom Gangliang Xie
  0 siblings, 1 reply; 25+ messages in thread
From: Gangliang Xie @ 2026-01-26  3:55 UTC (permalink / raw)
  To: amd-gfx; +Cc: tao.zhou1, YiPeng.Chai, Gangliang Xie

add pmfw eeprom related messages into smu_v13_0_6_ras_send_msg

Signed-off-by: Gangliang Xie <ganglxie@amd.com>
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
index 57f4069bc827..81b7fafa1817 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
@@ -3505,6 +3505,13 @@ static int smu_v13_0_6_ras_send_msg(struct smu_context *smu, enum smu_message_ty
 	case SMU_MSG_McaBankDumpDW:
 	case SMU_MSG_McaBankCeDumpDW:
 	case SMU_MSG_ClearMcaOnRead:
+	case SMU_MSG_GetRASTableVersion:
+	case SMU_MSG_GetBadPageCount:
+	case SMU_MSG_GetBadPageMcaAddr:
+	case SMU_MSG_SetTimestamp:
+	case SMU_MSG_GetTimestamp:
+	case SMU_MSG_GetBadPageIpid:
+	case SMU_MSG_EraseRasTable:
 		ret = smu_cmn_send_smc_msg_with_param(smu, msg, param, read_arg);
 		break;
 	default:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2026-01-30  8:14 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30  2:29 [PATCH 01/14] drm/amd/pm: add pmfw eeprom messages into uniras interface Gangliang Xie
2026-01-30  2:29 ` [PATCH 02/14] drm/amd/pm: add feature query interface for uniras Gangliang Xie
2026-01-30  2:29 ` [PATCH 03/14] drm/amd/ras: add pmfw eeprom smu interfaces Gangliang Xie
2026-01-30  3:02   ` Wang, Yang(Kevin)
2026-01-30  4:31     ` Xie, Patrick
2026-01-30  5:41   ` Lazar, Lijo
2026-01-30  8:07     ` Xie, Patrick
2026-01-30  2:29 ` [PATCH 04/14] drm/amd/ras: add uniras smu feature flag init func Gangliang Xie
2026-01-30  2:29 ` [PATCH 05/14] drm/amd/ras: add wrapper funcs for pmfw eeprom Gangliang Xie
2026-01-30  5:44   ` Lazar, Lijo
2026-01-30  2:29 ` [PATCH 06/14] drm/amd/ras: Add table reset func " Gangliang Xie
2026-01-30  5:48   ` Lazar, Lijo
2026-01-30  8:14     ` Xie, Patrick
2026-01-30  2:29 ` [PATCH 07/14] drm/amd/ras: add check safety watermark " Gangliang Xie
2026-01-30  5:50   ` Lazar, Lijo
2026-01-30  2:29 ` [PATCH 08/14] drm/amd/ras: add append " Gangliang Xie
2026-01-30  5:53   ` Lazar, Lijo
2026-01-30  2:29 ` [PATCH 09/14] drm/amd/ras: make MCA IPID parse global Gangliang Xie
2026-01-30  2:29 ` [PATCH 10/14] drm/amd/ras: add read func for pmfw eeprom Gangliang Xie
2026-01-30  5:57   ` Lazar, Lijo
2026-01-30  2:29 ` [PATCH 11/14] drm/amd/ras: adapt page retirement process " Gangliang Xie
2026-01-30  2:29 ` [PATCH 12/14] drm/amd/ras: add initialization func " Gangliang Xie
2026-01-30  2:29 ` [PATCH 13/14] drm/amd/ras: add check " Gangliang Xie
2026-01-30  2:29 ` [PATCH 14/14] drm/amd/ras: adapt syc info " Gangliang Xie
  -- strict thread matches above, loose matches on Subject: below --
2026-01-26  3:55 [PATCH 01/14] drm/amd/pm: add pmfw eeprom messages into uniras interface Gangliang Xie
2026-01-26  3:55 ` [PATCH 07/14] drm/amd/ras: add check safety watermark func for pmfw eeprom Gangliang Xie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox