From: Jan Glauber Date: Wed, 5 Apr 2017 10:27:39 +0000 (+0200) Subject: EDAC, thunderx: Fix L2C MCI interrupt disable X-Git-Tag: v4.14-rc1~893^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=621c4fe3cca5a0bc421916696e0c5e764d0a510b;p=platform%2Fkernel%2Flinux-rpi.git EDAC, thunderx: Fix L2C MCI interrupt disable Fix a typo that disabled the MCI interrupts using the wrong bitmask. Signed-off-by: Jan Glauber Cc: David Daney Cc: Ralf Baechle Cc: Sergey Temerkhanov Cc: linux-edac Link: http://lkml.kernel.org/r/20170405102739.6301-1-jglauber@cavium.com Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c index b5fe689..f39f4bb 100644 --- a/drivers/edac/thunderx_edac.c +++ b/drivers/edac/thunderx_edac.c @@ -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; }