[PATCH v2 0/2] Reinstate irq alloc/dealloc locking patch

From: Boris Ostrovsky
Date: Wed Aug 03 2016 - 13:45:28 EST


Original version of that patch (commit a89941816726) had to be reverted
due to Xen allocating irqs in its cpu_up ops.

The first patch moves allocations into hotplug notifiers and the second
one restores the original patch (with minor adjustments to new hotplug
framework)

This originally went through tip tree but after a couple of failures
reportedby kbuild robot (due to various combinations of CONFIG_SMP and
CONFIG_XEN_PVH) I decided to take it through Xen tree (with config problems
hopefully finally fixed).

Boris Ostrovsky (2):
xen/x86: Move irq allocation from Xen smp_op.cpu_up()
hotplug: Prevent alloc/free of irq descriptors during cpu up/down
(again)

arch/x86/kernel/smpboot.c | 11 ---------
arch/x86/xen/enlighten.c | 61 +++++++++++++++++++++++++++++++++++++----------
arch/x86/xen/smp.c | 45 ++--------------------------------
arch/x86/xen/smp.h | 13 ++++++++++
kernel/cpu.c | 8 +++++++
5 files changed, 71 insertions(+), 67 deletions(-)

--
2.7.4