powerpc/e6500: Update machine check for L1D cache err
authorMatt Weber <matthew.weber@rockwellcollins.com>
Wed, 28 Jun 2017 16:14:29 +0000 (11:14 -0500)
committerScott Wood <oss@buserror.net>
Tue, 29 Aug 2017 04:15:32 +0000 (23:15 -0500)
commita4e89ffb59235fd11d27107dea3efa4562ac0a12
tree8a2e97f092315e36a01e89aa48893fcae219518b
parentd1d0d5ffb3006eaf9b5f41c89fe801e032cbbfe4
powerpc/e6500: Update machine check for L1D cache err

This patch updates the machine check handler of Linux kernel to
handle the e6500 architecture case. In e6500 core, L1 Data Cache Write
Shadow Mode (DCWS) register is not implemented but L1 data cache always
runs in write shadow mode. So, on L1 data cache parity errors, hardware
will automatically invalidate the data cache but will still log a
machine check interrupt.

Signed-off-by: Ronak Desai <ronak.desai@rockwellcollins.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/kernel/traps.c