kernel-hacking-2024-linux-s.../arch/powerpc
Milton Miller 8767e9badc powerpc/xics: EOI unmapped irqs after disabling them
When reciving an irq vector that does not have a linux mapping, the kernel
prints a message and calls RTAS to disable the irq source.   Previously
the kernel did not EOI the interrupt, causing the source to think it is
still being processed by software.  While this does add an additional
layer of protection against interrupt storms had RTAS failed to disable
the source, it also prevents the interrupt from working when a driver
later enables it.  (We could alternatively send an EOI on startup, but
that strategy would likely fail on an emulated xics.)

All interrupts should be disabled when the kernel starts, but this can
be observed if a driver does not shutdown an interrupt in its reboot
hook before starting a new kernel with kexec.

Michael reports this can be reproduced trivially by banging the keyboard
while kexec'ing on a P5 LPAR: even though the hvc_console driver request's
the console irq later in boot, the console is non-functional because
we're receiving no console interrupts.

Reported-By: Michael Ellerman
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-10-13 10:55:47 +11:00
..
boot powerpc: Sync RPA note in zImage with kernel's RPA note 2008-10-10 15:55:19 +11:00
configs powerpc: Remove CHRP and PMAC support from FSL defconfigs 2008-10-07 14:26:20 +11:00
include/asm Merge commit 'jwb/jwb-next' 2008-10-07 11:15:07 +11:00
kernel powerpc: Sync RPA note in zImage with kernel's RPA note 2008-10-10 15:55:19 +11:00
kvm KVM: ppc: fix invalidation of large guest pages 2008-07-27 12:02:05 +03:00
lib powerpc: New copy_4K_page() 2008-09-15 11:07:42 -07:00
math-emu powerpc/math-emu: Use kernel generic math-emu code 2008-10-01 08:40:07 -05:00
mm powerpc: Reserve in bootmem lmb reserved regions that cross NUMA nodes 2008-10-10 15:55:19 +11:00
oprofile powerpc/cell/oprofile: Fix test on overlay_tbl_offset in vma_map 2008-10-10 15:55:18 +11:00
platforms powerpc/xics: EOI unmapped irqs after disabling them 2008-10-13 10:55:47 +11:00
sysdev Merge commit 'jwb/jwb-next' 2008-10-07 11:15:07 +11:00
xmon Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
Kconfig powerpc: Enforce sane MAX_ORDER 2008-10-07 14:26:20 +11:00
Kconfig.debug powerpc: Split-out common MSI bitmap logic into msi_bitmap.c 2008-08-20 16:34:57 +10:00
Makefile powerpc: Enforce a non-spe kernel build even on broken compilers 2008-09-15 11:08:41 -07:00