Skip to content

genirq: Make interrupt context enforcing work unconditionally

Thomas Gleixner lkml 1 version Applied

Status from this message: The following commit has been merged into the irq/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2genirq: Make handle_enforce_irqctx() unconditionally availablekernel/irq/internals.h+3 -60 replies
2/2genirq: Remove handle_enforce_irqctx() wrapperkernel/irq/internals.h kernel/irq/irqdesc.c kernel/irq/resend.c+2 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/2] genirq: Make interrupt context enforcing work unconditionally

While looking at GENERIC_PENDING_IRQ I stumbled over the fact, that the interrupt context enforcement for ARM[64] which was attempted by

commit 1b57d91b969c ("irqchip/gic-v2, v3: Prevent SW resends entirely")

actually never worked because handle_enforce_irqctx() is a wrapper around the actual check and that wrapper is only providing the informatuib when GENERIC_PENDING_IRQ is set. That's not the case for ARM[64].

Make it available unconditionally and clean up the now pointless wrapper.

Thanks,

tglx

---
 internals.h |    8 --------
 irqdesc.c   |    2 +-
 resend.c    |    2 +-
 3 files changed, 2 insertions(+), 10 deletions(-)