2020-07-08 15:37:09

by Yazen Ghannam

[permalink] [raw]
Subject: [PATCH] EDAC/mce_amd: Add new error descriptions for existing types

From: Yazen Ghannam <[email protected]>

A few existing MCA bank types will have new error types in future SMCA
systems.

Add the descriptions for the new error types.

Signed-off-by: Yazen Ghannam <[email protected]>
---
drivers/edac/mce_amd.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 325aedf46ff2..4fd06a3dc6fe 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -210,6 +210,11 @@ static const char * const smca_if_mce_desc[] = {
"L2 BTB Multi-Match Error",
"L2 Cache Response Poison Error",
"System Read Data Error",
+ "Hardware Assertion Error",
+ "L1-TLB Multi-Hit",
+ "L2-TLB Multi-Hit",
+ "BSR Parity Error",
+ "CT MCE",
};

static const char * const smca_l2_mce_desc[] = {
@@ -228,7 +233,8 @@ static const char * const smca_de_mce_desc[] = {
"Fetch address FIFO parity error",
"Patch RAM data parity error",
"Patch RAM sequencer parity error",
- "Micro-op buffer parity error"
+ "Micro-op buffer parity error",
+ "Hardware Assertion MCA Error",
};

static const char * const smca_ex_mce_desc[] = {
@@ -244,6 +250,8 @@ static const char * const smca_ex_mce_desc[] = {
"Scheduling queue parity error",
"Branch buffer queue parity error",
"Hardware Assertion error",
+ "Spec Map parity error",
+ "Retire Map parity error",
};

static const char * const smca_fp_mce_desc[] = {
@@ -360,6 +368,7 @@ static const char * const smca_smu2_mce_desc[] = {
"Instruction Tag Cache Bank A ECC or parity error",
"Instruction Tag Cache Bank B ECC or parity error",
"System Hub Read Buffer ECC or parity error",
+ "PHY RAM ECC error",
};

static const char * const smca_mp5_mce_desc[] = {
--
2.25.1


2020-08-16 08:45:23

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] EDAC/mce_amd: Add new error descriptions for existing types

On Wed, Jul 08, 2020 at 03:35:15PM +0000, Yazen Ghannam wrote:
> From: Yazen Ghannam <[email protected]>
>
> A few existing MCA bank types will have new error types in future SMCA
> systems.
>
> Add the descriptions for the new error types.
>
> Signed-off-by: Yazen Ghannam <[email protected]>
> ---
> drivers/edac/mce_amd.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette