summaryrefslogtreecommitdiffstats
path: root/arch/arc/mm/cache.c
diff options
context:
space:
mode:
authorNoam Camus <noamca@mellanox.com>2017-06-13 17:03:45 +0300
committerVineet Gupta <vgupta@synopsys.com>2017-08-28 15:17:36 -0700
commit983394959f5edff6b39bcd10317badaaf33efa99 (patch)
tree40493ca158134c5f1a553e9f1985dd64e69b3b60 /arch/arc/mm/cache.c
parent644fa02b392e25d7592951da2b2b64b4d533d1be (diff)
downloadlinux-stable-983394959f5edff6b39bcd10317badaaf33efa99.tar.gz
linux-stable-983394959f5edff6b39bcd10317badaaf33efa99.tar.bz2
linux-stable-983394959f5edff6b39bcd10317badaaf33efa99.zip
ARC: [plat-eznps] Handle user memory error same in simulation and silicon
On ARC700 (and nSIM), user mode memory error triggers an L2 interrupt which is handled gracefully by kernel (or it tries to despite this being imprecise, and error could get charged to kernel itself). The offending task is killed and kernel moves on. NPS hardware however raises a Machine Check exception for same error which is NOT recoverable by kernel. This patch aligns kernel handling for nSIM case, to same as hardware by overriding the default user space bus error handler. Signed-off-by: Noam Camus <noamca@mellanox.com> Signed-off-by: Elad Kanfi <eladkan@mellanox.com> [vgupta: rewrote changelog] Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/cache.c')
0 files changed, 0 insertions, 0 deletions