diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2020-07-30 19:03:21 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-09-06 19:26:13 +0200 |
commit | 1b57d91b969cda1d2c3530f2e829ca366a9c7df7 (patch) | |
tree | 52a46c1f82675a333d6e771e8e194e6947b9625f /arch/m68k/mac/config.c | |
parent | irqchip/git-v3-its: Implement irq_retrigger callback for device-triggered LPIs (diff) | |
download | linux-1b57d91b969cda1d2c3530f2e829ca366a9c7df7.tar.xz linux-1b57d91b969cda1d2c3530f2e829ca366a9c7df7.zip |
irqchip/gic-v2, v3: Prevent SW resends entirely
The GIC irqchips can now use a HW resend when a retrigger is invoked by
check_irq_resend(). However, should the HW resend fail, check_irq_resend()
will still attempt to trigger a SW resend, which is still a bad idea for
the GICs.
Prevent this from happening by setting IRQD_HANDLE_ENFORCE_IRQCTX on all
GIC IRQs. Technically per-cpu IRQs do not need this, as their flow handlers
never set IRQS_PENDING, but this aligns all IRQs wrt context enforcement:
this also forces all GIC IRQ handling to happen in IRQ context (as defined
by in_irq()).
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200730170321.31228-3-valentin.schneider@arm.com
Diffstat (limited to 'arch/m68k/mac/config.c')
0 files changed, 0 insertions, 0 deletions