linux/arch/arc/mm
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
..
cache.c ARC: mm: Decouple RAM base address from kernel link address 2017-09-01 11:26:27 -07:00
dma.c
extable.c
fault.c
highmem.c
init.c ARC: mm: Decouple RAM base address from kernel link address 2017-09-01 11:26:27 -07:00
ioremap.c
Makefile
mmap.c
tlb.c ARC: Re-enable MMU upon Machine Check exception 2017-09-01 11:29:05 -07:00
tlbex.S