linux-stable-rt/arch/ia64/kernel
Kenji Kaneshige a6cd6322d5 [IA64] Fix irq migration in multiple vector domain
Fix the problem that the following error message is sometimes displayed
at irq migration when vector domain is enabled.

    "Unexpected interrupt vector %d on CPU %d is not mapped to any IRQ!"

The cause of this problem is an interrupt is sent to the previous
target CPU after cleaning up vector to irq mapping table. To clean up
vector to irq map on the previous target CPU safty, change the irq
migration in multiple vector domain as follows. The original idea is
from x86 interrupt management code.

    - Delay vector to irq table cleanup until the interrupts are sent
      to new target CPUs. By this, it is ensured that target CPU is
      completely changed on the interrupt controller side.

    - Even after the interrupts are sent to new target CPUs, there can
      be pended interrupts remaining on the previous target CPU. So we
      need to delay clearning up vector to irq table until the pended
      interrupt is handled. For this, send IPI to the previous target
      CPU with lower priority vector and clean up vector to irq table
      in its handler.

This patch affects only to irq migration code with multiple vector
domain is enabled.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2008-03-04 14:16:20 -08:00
..
cpufreq
.gitignore
Makefile
acpi-ext.c
acpi-processor.c
acpi.c Merge branches 'release' and 'fluff' into release 2008-02-07 03:38:22 -05:00
asm-offsets.c
audit.c
brl_emu.c
crash.c
crash_dump.c
cyclone.c
efi.c
efi_stub.S
entry.S [IA64] Wire up timerfd_{create,settime,gettime} syscalls 2008-02-08 12:00:32 -08:00
entry.h
err_inject.c
esi.c
esi_stub.S
fsys.S
fsyscall_gtod_data.h
gate-data.S
gate.S
gate.lds.S
head.S
ia64_ksyms.c
init_task.c
iosapic.c [IA64] Fix irq migration in multiple vector domain 2008-03-04 14:16:20 -08:00
irq.c
irq_ia64.c [IA64] Fix irq migration in multiple vector domain 2008-03-04 14:16:20 -08:00
irq_lsapic.c
ivt.S
jprobes.S
kprobes.c
machine_kexec.c vmcoreinfo: fix the configuration dependencies 2008-02-07 08:42:25 -08:00
machvec.c
mca.c [IA64] Fix large MCA bootmem allocation 2008-02-08 12:01:53 -08:00
mca_asm.S
mca_drv.c
mca_drv.h
mca_drv_asm.S
minstate.h
module.c
msi_ia64.c [IA64] Fix irq migration in multiple vector domain 2008-03-04 14:16:20 -08:00
numa.c
pal.S
palinfo.c
patch.c
perfmon.c [IA64] Rename TIF_PERFMON_WORK back to TIF_NOTIFY_RESUME 2008-02-08 12:00:54 -08:00
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
perfmon_montecito.h
process.c [IA64] Simplify cpu_idle_wait 2008-02-08 12:01:40 -08:00
ptrace.c [IA64] Synchronize RBS on PTRACE_ATTACH 2008-02-08 12:01:29 -08:00
relocate_kernel.S
sal.c
salinfo.c
semaphore.c
setup.c
sigframe.h
signal.c [IA64] signal(ia64): add a signal stack overflow check 2008-03-04 14:10:59 -08:00
smp.c
smpboot.c idle_regs() must be __cpuinit 2008-02-06 10:41:08 -08:00
sys_ia64.c
time.c time: fix typo in comments 2008-02-08 09:22:29 -08:00
topology.c
traps.c
unaligned.c
uncached.c
unwind.c
unwind_decoder.c
unwind_i.h
vmlinux.lds.S