kernel-fxtec-pro1x/arch/ia64
Alex Williamson 451fe00cf7 [IA64] Clear IRQ affinity when unregistered
When we offline a CPU, migrate_irqs() tries to determine whether the
affinity bits of the IRQ descriptor match any of the remaining online
CPUs.  If not, it fixes up the interrupt to point somewhere else.
Unfortunately, if an IRQ is unregistered the IRQ descriptor may still
have affinity to the CPU being offlined, but the no_irq_chip handler
doesn't provide a set_affinity function.  This causes us to hit the
WARN_ON in migrate_irqs().

The easiest solution seems to be setting all the bits in the affinity
mask when the last interrupt is removed from the vector.  I hit this on
an older kernel with Xen/ia64 using driver domains (so it probably needs
more testing on upstream).  Xen essentially uses the bind/unbind
interface in sysfs to unregister a device from a driver and thus
unregister the interrupt.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-02-05 14:09:51 -08:00
..
configs [IA64] update sn2_defconfig 2006-10-17 14:55:45 -07:00
dig [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
hp [IA64] s/termios/ktermios/ in simserial.c 2006-12-12 10:47:36 -08:00
ia32 [PATCH] struct path: convert ia64 2006-12-08 08:28:45 -08:00
kernel [IA64] Clear IRQ affinity when unregistered 2007-02-05 14:09:51 -08:00
lib [IA64] tidy up return value of ip_fast_csum 2006-12-07 11:19:59 -08:00
mm [IA64] kexec: typo in the saved_max_pfn description in contig.c 2007-02-05 11:30:25 -08:00
oprofile Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pci [IA64] replace kmalloc+memset with kzalloc 2006-12-07 13:46:43 -08:00
scripts
sn ACPI: Altix: ACPI _PRT support 2007-01-04 12:18:19 -05:00
defconfig [PATCH] sgiioc4: Always share IRQ 2006-07-31 13:28:40 -07:00
install.sh
Kconfig [IA64] fix ACPI Kconfig issues 2007-02-05 14:07:50 -08:00
Kconfig.debug
Makefile [IA64] add vmlinuz target 2006-06-21 14:31:07 -07:00
module.lds