linux/drivers/xen/events
Thomas Gleixner 753fbd23f5 xen: Validate online cpus in set_affinity
The user space interface does not filter out offline cpus. It merily
verifies 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
     Selector will pick first set bit, i.e. core 1

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Xen <xen-devel@lists.xenproject.org>
Link: http://lkml.kernel.org/r/20140304203100.978031089@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-03-12 13:07:41 +01:00
..
events_2l.c xen: Use the proper irq functions 2014-03-04 17:37:52 +01:00
events_base.c xen: Validate online cpus in set_affinity 2014-03-12 13:07:41 +01:00
events_fifo.c xen: Use the proper irq functions 2014-03-04 17:37:52 +01:00
events_internal.h xen/events: use the FIFO-based ABI if available 2014-01-06 10:07:57 -05:00
Makefile xen/events: use the FIFO-based ABI if available 2014-01-06 10:07:57 -05:00