alistair23-linux/drivers/xen/events
David Vrabel 97253eeeb7 xen/events: bind all new interdomain events to VCPU0
Commit fc087e1073 (xen/events: remove
unnecessary init_evtchn_cpu_bindings()) causes a regression.

The kernel-side VCPU binding was not being correctly set for newly
allocated or bound interdomain events.  In ARM guests where 2-level
events were used, this would result in no interdomain events being
handled because the kernel-side VCPU masks would all be clear.

x86 guests would work because the irq affinity was set during irq
setup and this would set the correct kernel-side VCPU binding.

Fix this by properly initializing the kernel-side VCPU binding in
bind_evtchn_to_irq().

Reported-and-tested-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2014-02-11 10:12:34 -05:00
..
events_2l.c xen/events: Add the hypervisor interface for the FIFO-based event channels 2014-01-06 10:07:52 -05:00
events_base.c xen/events: bind all new interdomain events to VCPU0 2014-02-11 10:12:34 -05:00
events_fifo.c xen: delete new instances of __cpuinit usage 2014-01-10 10:44:43 -05: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