]> git.karo-electronics.de Git - linux-beck.git/commit
EDAC, mpc85xx: Fix PCIe error capture
authorTillmann Heidsieck <theidsieck@leenox.de>
Mon, 15 Aug 2016 19:08:49 +0000 (21:08 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 18 Aug 2016 08:17:40 +0000 (10:17 +0200)
commit6fa06b0d9e9514bfca9b89493161f2a2cbb079a9
tree1e1166f6e0a54fb64a9a1c47b1583440198d42c5
parent7bb8b777794bdeb9e53b3c0f39ed5474930a062a
EDAC, mpc85xx: Fix PCIe error capture

According to the reference manual of MPC8572 and T4240, bit 31 of
PEX_ERR_CAP_STAT is W1C (write 1 to clear).

Add the corresponding write to PEX_ERR_CAP_STAT in order to fix the PCIe
error capture.

Tested on a T4240 processor.

Signed-off-by: Tillmann Heidsieck <theidsieck@leenox.de>
Acked-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20160815190849.29327-1-theidsieck@leenox.de
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mpc85xx_edac.c