summaryrefslogtreecommitdiff
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2013-08-15 16:21:06 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-29 20:50:12 +0400
commita34794460aa1fb5096708d079a29606123a2ec9c (patch)
treeb96f448c8aa495352031509e7e01bbade77f8dee /drivers/of/Makefile
parent523578f790ece2db130b23e8d2ef37e48f698317 (diff)
downloadlinux-a34794460aa1fb5096708d079a29606123a2ec9c.tar.xz
xen/events: initialize local per-cpu mask for all possible events
commit 84ca7a8e45dafb49cd5ca90a343ba033e2885c17 upstream. The sizeof() argument in init_evtchn_cpu_bindings() is incorrect resulting in only the first 64 (or 32 in 32-bit guests) ports having their bindings being initialized to VCPU 0. In most cases this does not cause a problem as request_irq() will set the irq affinity which will set the correct local per-cpu mask. However, if the request_irq() is called on a VCPU other than 0, there is a window between the unmasking of the event and the affinity being set were an event may be lost because it is not locally unmasked on any VCPU. If request_irq() is called on VCPU 0 then local irqs are disabled during the window and the race does not occur. Fix this by initializing all NR_EVENT_CHANNEL bits in the local per-cpu masks. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/of/Makefile')
0 files changed, 0 insertions, 0 deletions