]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
genirq: Move initial affinity setup to irq_startup()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:23 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:15 +0000 (18:21 +0200)
commit2e051552df69af6d134c2592d0d6f1ac80f01190
tree978ded6acb4983f52427e4fc38a3b12ffbb65467
parent43564bd97d0e6182bbd43b51b33254c728832551
genirq: Move initial affinity setup to irq_startup()

The startup vs. setaffinity ordering of interrupts depends on the
IRQF_NOAUTOEN flag. Chained interrupts are not getting any affinity
assignment at all.

A regular interrupt is started up and then the affinity is set. A
IRQF_NOAUTOEN marked interrupt is not started up, but the affinity is set
nevertheless.

Move the affinity setup to startup_irq() so the ordering is always the same
and chained interrupts get the proper default affinity assigned as well.

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.020534783@linutronix.de
kernel/irq/chip.c
kernel/irq/manage.c