]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit138cf2b158305d3f1f3193005f67b04e252f42c1
tree8a2e97f092315e36a01e89aa48893fcae219518b
parent14ab12be7a9a3b8b9be9af9d7f4000e093dee888
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