genirq/cpuhotplug: Add support for conditional masking
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:30 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:17 +0000 (18:21 +0200)
commit47a06d3a783217acae02976f15ca07ddc1ac024f
treefb54dd0fc2e517ae7b6b7868f4e6c70bed01f456
parentf0383c24b4855f6a4b5a358c7b2d2c16e0437e9b
genirq/cpuhotplug: Add support for conditional masking

Interrupts which cannot be migrated in process context, need to be masked
before the affinity is changed forcefully.

Add support for that. Will be compiled out for architectures which do not
have this x86 specific issue.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235445.604565591@linutronix.de
kernel/irq/cpuhotplug.c