linux/arch/arc/mm
Jose Abreu 57e4f87ebe 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-09-27 14:39:23 +02:00
..
cache.c ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses 2017-08-30 10:21:46 +02:00
dma.c arc: Implement arch-specific dma_map_ops.mmap 2016-11-03 10:01:07 -07:00
extable.c ARC: Fix coding style issues 2013-04-09 12:21:14 +05:30
fault.c mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
highmem.c ARC: export kmap 2016-08-19 10:45:29 -07:00
init.c treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
ioremap.c ARCv2: Support dynamic peripheral address space in HS38 rel 3.0 cores 2016-09-30 14:48:17 -07:00
Makefile ARC: mm: HIGHMEM: kmap API implementation 2015-10-28 19:49:04 +05:30
mmap.c mm: larger stack guard gap, between vmas 2017-06-24 07:11:18 +02:00
tlb.c ARC: Re-enable MMU upon Machine Check exception 2017-09-27 14:39:23 +02:00
tlbex.S ARC: mm: retire ARC_DBG_TLB_MISS_COUNT... 2016-10-28 10:10:28 -07:00