From 32ad9fc073308083eb7797ededae5ba5a6418f72 Mon Sep 17 00:00:00 2001 From: Bryan Boatright Date: Thu, 7 Feb 2008 00:14:58 -0800 Subject: [PATCH] --- yaml --- r: 83821 b: refs/heads/master c: 6b09ff9d787911b0b46a4d286e68f1f84e8b0b94 h: refs/heads/master i: 83819: 8dd6a8771a8dfc918e1fc727c12390e6a9cf57f0 v: v3 --- [refs] | 2 +- trunk/drivers/edac/edac_pci_sysfs.c | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 4f050a5ff99d..23a3f5fdf10d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4f4aeeabc061826376c9a72b4714d062664999ea +refs/heads/master: 6b09ff9d787911b0b46a4d286e68f1f84e8b0b94 diff --git a/trunk/drivers/edac/edac_pci_sysfs.c b/trunk/drivers/edac/edac_pci_sysfs.c index 5b075da99145..71c3195d3704 100644 --- a/trunk/drivers/edac/edac_pci_sysfs.c +++ b/trunk/drivers/edac/edac_pci_sysfs.c @@ -558,8 +558,10 @@ static void edac_pci_dev_parity_test(struct pci_dev *dev) debugf4("PCI STATUS= 0x%04x %s\n", status, dev->dev.bus_id); - /* check the status reg for errors */ - if (status) { + /* check the status reg for errors on boards NOT marked as broken + * if broken, we cannot trust any of the status bits + */ + if (status && !dev->broken_parity_status) { if (status & (PCI_STATUS_SIG_SYSTEM_ERROR)) { edac_printk(KERN_CRIT, EDAC_PCI, "Signaled System Error on %s\n", @@ -593,8 +595,10 @@ static void edac_pci_dev_parity_test(struct pci_dev *dev) debugf4("PCI SEC_STATUS= 0x%04x %s\n", status, dev->dev.bus_id); - /* check the secondary status reg for errors */ - if (status) { + /* check the secondary status reg for errors, + * on NOT broken boards + */ + if (status && !dev->broken_parity_status) { if (status & (PCI_STATUS_SIG_SYSTEM_ERROR)) { edac_printk(KERN_CRIT, EDAC_PCI, "Bridge " "Signaled System Error on %s\n",