EDAC, thunderx: Fix L2C MCI interrupt disable
authorJan Glauber <jglauber@cavium.com>
Wed, 5 Apr 2017 10:27:39 +0000 (12:27 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 5 Apr 2017 12:46:05 +0000 (14:46 +0200)
Fix a typo that disabled the MCI interrupts using the wrong bitmask.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Sergey Temerkhanov <s.temerkhanov@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170405102739.6301-1-jglauber@cavium.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/thunderx_edac.c

index b5fe6894df5e24463d78b6ec355d6b9ceb055012..f39f4bb7b0f9420030a75dd2527b712ff1310fab 100644 (file)
@@ -2123,7 +2123,7 @@ static void thunderx_l2c_remove(struct pci_dev *pdev)
                writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_CBC_INT_ENA_W1C);
                break;
        case PCI_DEVICE_ID_THUNDER_L2C_MCI:
-               writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
+               writeq(L2C_MCI_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
                break;
        }