linux/arch/arc
Jose Abreu 1ee55a8f7f ARC: Re-enable MMU upon Machine Check exception
I recently came upon a scenario where I would get a double fault
machine check exception tiriggered by a kernel module.
However the ensuing crash stacktrace (ksym lookup) was not working
correctly.

Turns out that machine check auto-disables MMU while modules are allocated
in kernel vaddr spapce.

This patch re-enables the MMU before start printing the stacktrace
making stacktracing of modules work upon a fatal exception.

Cc: stable@kernel.org
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Reviewed-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
[vgupta: moved code into low level handler to avoid in 2 places]
2017-09-01 11:29:05 -07:00
..
boot ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
configs ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
include ARC: mm: Decouple RAM base address from kernel link address 2017-09-01 11:26:27 -07:00
kernel ARC: Re-enable MMU upon Machine Check exception 2017-09-01 11:29:05 -07:00
lib ARC: dw2 unwind: enable cfi pseudo ops in string lib 2016-09-30 14:48:22 -07:00
mm ARC: Re-enable MMU upon Machine Check exception 2017-09-01 11:29:05 -07:00
oprofile
plat-axs10x ARC: [plat-axs103] refactor the DT fudging code 2017-09-01 11:26:26 -07:00
plat-eznps ARC: [plat-eznps] handle extra aux regs #1: save/restore on context switch 2017-08-28 15:17:36 -07:00
plat-hsdk ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
plat-sim ARC: [plat-sim] Include this platform unconditionally 2017-08-04 13:49:47 +05:30
plat-tb10x arc: select GPIOLIB directly 2016-04-26 14:07:59 +02:00
Kbuild
Kconfig ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
Kconfig.debug ARC: With earlycon in use, retire EARLY_PRINTK 2015-05-11 11:20:21 +05:30
Makefile ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00