[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210511152538.148084-3-nchatrad@amd.com>
Date: Tue, 11 May 2021 20:55:38 +0530
From: Naveen Krishna Chatradhi <nchatrad@....com>
To: linux-edac@...r.kernel.org, x86@...nel.org
Cc: linux-kernel@...r.kernel.org, bp@...en8.de, mingo@...hat.com,
mchehab@...nel.org, Mukul Joshi <mukul.joshi@....com>
Subject: [PATCH 3/3] x86/mce: Add MCE priority for Accelerator devices
From: Mukul Joshi <mukul.joshi@....com>
Create a new MCE priority for accelerator devices on the
notifier chain. On some future AMD platforms, GPU devices
will process MCE errors and work as error detection
devices.
Signed-off-by: Mukul Joshi <mukul.joshi@....com>
Reviewed-by: John Clements <John.Clements@....com>
Reviewed-by: Yazen Ghannam <yazen.ghannam@....com>
---
arch/x86/include/asm/mce.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 8cbe7221a253..849f10a8602d 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -173,6 +173,7 @@ enum mce_notifier_prios {
MCE_PRIO_LOWEST,
MCE_PRIO_MCELOG,
MCE_PRIO_EDAC,
+ MCE_PRIO_ACCEL,
MCE_PRIO_NFIT,
MCE_PRIO_EXTLOG,
MCE_PRIO_UC,
--
2.17.1
Powered by blists - more mailing lists