linux/arch/ia64/sn/kernel
Thomas Gleixner 785aebd0cf ia64: Validate online cpus in irq_set_affinity() callbacks
The [user space] interface does not filter out offline cpus. It merily
guarantees that the mask contains at least one online cpu.

So the selector in the irq chip implementation needs to make sure to
pick only an online cpu because otherwise:

     Offline Core 1
     Set affinity to 0xe (is valid due to online mask 0xd)
     cpumask_first will pick core 1, which is offline

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: ia64 <linux-ia64@vger.kernel.org>
Link: http://lkml.kernel.org/r/20140304203100.650414633@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-03-12 13:07:40 +01:00
..
sn2 ia64: single_open() leaks 2013-05-05 00:09:04 -04:00
bte.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
bte_error.c [IA64] Fix Altix BTE error return status 2007-12-19 11:19:19 -08:00
huberror.c [IA64] genirq fixup for SGI/SN 2012-02-22 11:11:06 -08:00
idle.c
io_acpi_init.c ACPI / driver core: Store an ACPI device pointer in struct acpi_dev_node 2013-11-14 23:14:43 +01:00
io_common.c IA64: drivers: remove __dev* attributes. 2013-01-03 15:57:13 -08:00
io_init.c PCI changes for the v3.11 merge window: 2013-07-03 16:31:35 -07:00
iomv.c [IA64] Move include/asm-ia64 to arch/ia64/include/asm 2008-08-01 10:21:21 -07:00
irq.c ia64: Validate online cpus in irq_set_affinity() callbacks 2014-03-12 13:07:40 +01:00
klconflib.c
machvec.c
Makefile ia64: change to new flag variables 2011-03-17 14:02:56 +01:00
mca.c [IA64] remove remaining __FUNCTION__ occurrences 2008-03-06 09:19:27 -08:00
msi_sn.c ia64: Validate online cpus in irq_set_affinity() callbacks 2014-03-12 13:07:40 +01:00
pio_phys.S
setup.c [IA64] Delete __cpuinit usage from all ia64 users 2013-06-24 15:44:27 -07:00
tiocx.c tiocx: check retval from bus_register() 2013-03-19 16:14:52 -07:00