]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Revert sparse irq locking around __cpu_up() and move it to x86 for now
authorThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jul 2015 20:03:57 +0000 (22:03 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 15 Jul 2015 08:39:17 +0000 (10:39 +0200)
commit566313b28e5b446522289a3503e0beb2ec06f972
treefbeaaa029b5308bf0bf04dc84615a135620dfedb
parentea5f8d02ba3dfc0d4c6b93f27208a3dcf27f416d
genirq: Revert sparse irq locking around __cpu_up() and move it to x86 for now

Boris reported that the sparse_irq protection around __cpu_up() in the
generic code causes a regression on Xen. Xen allocates interrupts and
some more in the xen_cpu_up() function, so it deadlocks on the
sparse_irq_lock.

There is no simple fix for this and we really should have the
protection for all architectures, but for now the only solution is to
move it to x86 where actual wreckage due to the lack of protection has
been observed.

Reported-and-tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Fixes: 6430b9e3b781 'hotplug: Prevent alloc/free of irq descriptors during cpu up/down'
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: xiao jin <jin.xiao@intel.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Yanmin Zhang <yanmin_zhang@linux.intel.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
arch/x86/kernel/smpboot.c
kernel/cpu.c