76e677e25d
I've noticed a kernel hang during a storm of CMC interrupts, which was tracked down to the continual execution of the interrupt handler. There's code in the CMC handler that's supposed to disable CMC interrupts and switch to polling mode when it sees a bunch of CMCs. Because disabling CMCs across all CPUs isn't safe in interrupt context, the disable is done with a schedule_work(). But with continual CMC interrupts, the schedule_work() never gets executed. The following patch immediately disables CMC interrupts for the current CPU. This then allows (at least) one CPU to ignore CMC interrupts, execute the schedule_work() code, and disable CMC interrupts on the rest of the CPUs. Acked-by: Keith Owens <kaos@sgi.com> Signed-off-by: Bryan Sutula <Bryan.Sutula@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> |
||
---|---|---|
.. | ||
cpufreq | ||
acpi-ext.c | ||
acpi.c | ||
asm-offsets.c | ||
brl_emu.c | ||
cyclone.c | ||
efi_stub.S | ||
efi.c | ||
entry.h | ||
entry.S | ||
fsys.S | ||
gate-data.S | ||
gate.lds.S | ||
gate.S | ||
head.S | ||
ia64_ksyms.c | ||
init_task.c | ||
iosapic.c | ||
irq_ia64.c | ||
irq_lsapic.c | ||
irq.c | ||
ivt.S | ||
jprobes.S | ||
kprobes.c | ||
machvec.c | ||
Makefile | ||
mca_asm.S | ||
mca_drv_asm.S | ||
mca_drv.c | ||
mca_drv.h | ||
mca.c | ||
minstate.h | ||
module.c | ||
numa.c | ||
pal.S | ||
palinfo.c | ||
patch.c | ||
perfmon_default_smpl.c | ||
perfmon_generic.h | ||
perfmon_itanium.h | ||
perfmon_mckinley.h | ||
perfmon.c | ||
process.c | ||
ptrace.c | ||
sal.c | ||
salinfo.c | ||
semaphore.c | ||
setup.c | ||
sigframe.h | ||
signal.c | ||
smp.c | ||
smpboot.c | ||
sys_ia64.c | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
uncached.c | ||
unwind_decoder.c | ||
unwind_i.h | ||
unwind.c | ||
vmlinux.lds.S |