Commit 621c4fe3 authored by Jan Glauber's avatar Jan Glauber Committed by Borislav Petkov

EDAC, thunderx: Fix L2C MCI interrupt disable

Fix a typo that disabled the MCI interrupts using the wrong bitmask.
Signed-off-by: default avatarJan 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.comSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 41003396
...@@ -2123,7 +2123,7 @@ static void thunderx_l2c_remove(struct pci_dev *pdev) ...@@ -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); writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_CBC_INT_ENA_W1C);
break; break;
case PCI_DEVICE_ID_THUNDER_L2C_MCI: 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; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment