From 49e917bffdb4d43caa418b9712235d174272a664 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Apr 2016 13:24:21 -0500 Subject: nb/amd/amdfam10: Only flag machine check exception if valid bit is set Change-Id: I42d901ae9445943a863fb3ba9bda5a915f255e02 Signed-off-by: Timothy Pearson Reviewed-on: https://review.coreboot.org/14264 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Tested-by: Raptor Engineering Automated Test Stand Reviewed-by: Martin Roth --- src/northbridge/amd/amdfam10/misc_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/northbridge/amd/amdfam10/misc_control.c b/src/northbridge/amd/amdfam10/misc_control.c index de9f34233f..eee5c465fb 100644 --- a/src/northbridge/amd/amdfam10/misc_control.c +++ b/src/northbridge/amd/amdfam10/misc_control.c @@ -178,7 +178,7 @@ static void misc_control_init(struct device *dev) if (dimm_present) { uint32_t mc4_status_high = pci_read_config32(dev, 0x4c); uint32_t mc4_status_low = pci_read_config32(dev, 0x48); - if (mc4_status_high != 0) { + if ((mc4_status_high & (0x1 << 31)) && (mc4_status_high != 0xffffffff)) { printk(BIOS_WARNING, "\nWARNING: MC4 Machine Check Exception detected on node %d!\n" "Signature: %08x%08x\n", node, mc4_status_high, mc4_status_low); } -- cgit v1.2.3