linux/arch/powerpc
Benjamin Herrenschmidt a944a9c40b powerpc/ppc64: Gracefully handle early interrupts
If we take an interrupt such as a trap caused by a BUG_ON before the
MMU has been setup, the interrupt handlers try to enable virutal mode
and cause a recursive crash, making the original problem very hard
to debug.

This fixes it by adjusting the "kernel_msr" value in the PACA so that
it only has MSR_IR and MSR_DR (translation for instruction and data)
set after the MMU has been initialized for the processor.

We may still not have a console yet but at least we don't get into
a recursive fault (and early debug console or memory dump via JTAG
of the kernel buffer *will* give us the proper error).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-04-07 10:33:15 +10:00
..
boot powerpc: T4240: Add ina220 node in dts 2014-03-19 16:57:25 -05:00
configs Merge remote-tracking branch 'scott/next' into next 2014-03-24 10:26:10 +11:00
crypto
include powerpc/le: Enable RTAS events support 2014-04-07 10:33:12 +10:00
kernel powerpc/ppc64: Gracefully handle early interrupts 2014-04-07 10:33:15 +10:00
kvm Merge tag 'kvm-3.15-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2014-04-02 14:50:10 -07:00
lib selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests 2014-03-07 15:53:12 +11:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm Merge remote-tracking branch 'scott/next' into next 2014-03-24 10:26:10 +11:00
net net: filter: add jited flag to indicate jit compiled filters 2014-03-31 00:45:08 -04:00
oprofile cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE} 2014-03-19 14:10:24 +01:00
perf powerpc/perf: Fix handling of L3 events with bank == 1 2014-03-24 09:48:33 +11:00
platforms powerpc/le: Enable RTAS events support 2014-04-07 10:33:12 +10:00
sysdev Devicetree changes for v3.15 2014-04-02 14:27:15 -07:00
xmon powerpc: Fix xmon disassembler for little-endian 2014-03-07 15:50:12 +11:00
Kconfig Devicetree changes for v3.15 2014-04-02 14:27:15 -07:00
Kconfig.debug Merge branch 'kconfig-diet' from Dave Hansen 2013-07-04 11:25:51 -07:00
Makefile powerpc: Fix error when cross building TAGS & cscope 2013-11-25 11:49:11 +11:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00