irqchip/gic-v2, v3: Drop extra IRQ_NOAUTOEN setting for (E)PPIs
authorValentin Schneider <valentin.schneider@arm.com>
Thu, 21 May 2020 22:35:00 +0000 (23:35 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 25 May 2020 09:32:51 +0000 (10:32 +0100)
commitcc86432aa8cc5a81f99d79eea2a29099da694df3
treefdc932399f484d23a882bd273f747fcf0fb6959e
parent9ed78b05f998050784ae863bd5ba4aea2e2141ed
irqchip/gic-v2, v3: Drop extra IRQ_NOAUTOEN setting for (E)PPIs

(E)PPIs are per-CPU interrupts, so we want each CPU to go and enable them
via enable_percpu_irq(); this also means we want IRQ_NOAUTOEN for them as
the autoenable would lead to calling irq_enable() instead of the more
appropriate irq_percpu_enable().

Calling irq_set_percpu_devid() is enough to get just that since it trickles
down to irq_set_percpu_devid_flags(), which gives us IRQ_NOAUTOEN (and a
few others). Setting IRQ_NOAUTOEN *again* right after this call is just
redundant, so don't do it.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200521223500.834-1-valentin.schneider@arm.com
drivers/irqchip/irq-gic-v3.c
drivers/irqchip/irq-gic.c