mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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: [email protected] Signed-off-by: Jose Abreu <[email protected]> Reviewed-by: Alexey Brodkin <[email protected]> Signed-off-by: Vineet Gupta <[email protected]> [vgupta: moved code into low level handler to avoid in 2 places]