WSL2-Linux-Kernel/arch/powerpc/kernel
Paul Mackerras 320787c75c [POWERPC] Fix handling of unrecoverable SLB miss interrupts
If an SLB miss interrupt happens while the RI bit of MSR is zero, we
can't just return, because RI being zero indicates that SRR0/SRR1
potentially had live values in them, and the process of taking an
interrupt overwrites them.

This should never happen, but if it does, we try to print a nice oops
message.  That doesn't work, however, because the code at unrecov_slb
assumes that the MMU has been turned on, but we call it with the MMU
off (and have done so since the SLB miss handler was rewritten to run
without turning the MMU on) -- except on iSeries, where everything runs
with the MMU on.

This fixes it by adding the necessary code to turn the MMU on if
necessary.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-14 21:11:22 +10:00
..
vdso32
vdso64
Makefile
align.c
asm-offsets.c
audit.c
btext.c
clock.c
compat_audit.c
cpu_setup_6xx.S
cpu_setup_44x.S
cpu_setup_pa6t.S
cpu_setup_ppc970.S
cputable.c
crash.c
crash_dump.c
dma_64.c
entry_32.S
entry_64.S
firmware.c
fpu.S
head_8xx.S
head_32.S
head_40x.S
head_44x.S
head_64.S
head_booke.h
head_fsl_booke.S
ibmebus.c
idle.c
idle_6xx.S
idle_power4.S
init_task.c
io.c
iomap.c
iommu.c
irq.c
isa-bridge.c
kprobes.c
l2cr_6xx.S
legacy_serial.c
lparcfg.c
machine_kexec.c
machine_kexec_32.c
machine_kexec_64.c
misc.S
misc_32.S
misc_64.S
module_32.c
module_64.c
msi.c
nvram_64.c
of_device.c
of_platform.c
paca.c
pci-common.c
pci_32.c
pci_64.c
pci_dn.c
pmc.c
ppc32.h
ppc_ksyms.c
proc_ppc64.c
process.c
prom.c
prom_init.c
prom_parse.c
ptrace.c
ptrace32.c
rio.c
rtas-proc.c
rtas-rtc.c
rtas.c
rtas_flash.c
rtas_pci.c
semaphore.c
setup-common.c
setup.h
setup_32.c
setup_64.c
signal.c
signal.h
signal_32.c
signal_64.c
smp-tbsync.c
smp.c
softemu8xx.c
suspend.c
swsusp.c
swsusp_32.S
swsusp_64.c
swsusp_asm64.S
sys_ppc32.c
syscalls.c
sysfs.c
systbl.S
systbl_chk.c
systbl_chk.sh
tau_6xx.c
time.c
traps.c
udbg.c
udbg_16550.c
vdso.c
vecemu.c
vector.S
vio.c
vmlinux.lds.S