]> git.baikalelectronics.ru Git - kernel.git/commit
xen/x86: Move irq allocation from Xen smp_op.cpu_up()
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 3 Aug 2016 17:22:27 +0000 (13:22 -0400)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Aug 2016 17:44:40 +0000 (18:44 +0100)
commit3c67e071d0a4c46fbdfdb1cc37f88825c87a0d6c
tree30265b703433375b2e86f1b96997b4b4971f7be6
parent1fa859b2de8f1ef05332f907c6e06d634c23731e
xen/x86: Move irq allocation from Xen smp_op.cpu_up()

Commit 156c6288dfc9 ("genirq: Revert sparse irq locking around
__cpu_up() and move it to x86 for now") reverted irq locking
introduced by commit acc9d4fc77a2 ("hotplug: Prevent alloc/free
of irq descriptors during cpu up/down") because of Xen allocating
irqs in both of its cpu_up ops.

We can move those allocations into CPU notifiers so that original
patch can be reinstated.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/enlighten.c
arch/x86/xen/smp.c
arch/x86/xen/smp.h