linux/arch/arc/mm
Jose Abreu bc51612700 ARC: Re-enable MMU upon Machine Check exception
commit 1ee55a8f7f upstream.

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.

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]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-11-26 13:50:29 +00:00
..
cache_arc700.c ARC: [SMP] Enable icache coherency 2014-06-26 11:59:01 +05:30
dma.c ARC: I/O and DMA Mappings 2013-02-15 23:15:54 +05:30
extable.c ARC: Fix coding style issues 2013-04-09 12:21:14 +05:30
fault.c arc: mm: Fix build failure 2015-02-04 10:58:32 +00:00
init.c ARC: support external initrd 2014-03-26 14:31:27 +05:30
ioremap.c ARC: Use <linux/*> headers instead of <asm/*> 2013-04-09 12:21:14 +05:30
Makefile ARC: [mm] Aliasing VIPT dcache support 4/4 2013-05-09 22:00:57 +05:30
mmap.c mm: larger stack guard gap, between vmas 2017-07-02 17:13:02 +01:00
tlb.c ARC: Re-enable MMU upon Machine Check exception 2017-11-26 13:50:29 +00:00
tlbex.S ARC: use ASL assembler mnemonic 2016-11-20 01:17:38 +00:00