]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/renesas-rzv2h: Replace single irq_chip with per-region irq_chip instances
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 4 Mar 2026 11:33:15 +0000 (11:33 +0000)
committerThomas Gleixner <tglx@kernel.org>
Tue, 10 Mar 2026 17:34:52 +0000 (18:34 +0100)
commitf3ebae6dc025d0e45e9240ed85f9909a5a91e03c
tree61f98a59616fab35ebd2181e57b172e0b6ca47aa
parent9dc4335758c983045ab38871e2411fa1ae7e438d
irqchip/renesas-rzv2h: Replace single irq_chip with per-region irq_chip instances

Replace the single rzv2h_icu_chip and its dispatcher callbacks with
dedicated irq_chip instances for each interrupt region: NMI, IRQ, and
TINT.

Move the irqd_is_level_type() check ahead of the scoped_guard in
rzv2h_icu_tint_eoi() and rzv2h_icu_irq_eoi() to avoid acquiring the
spinlock unnecessarily for level-type interrupts.

Drop the ICU_TINT_START guard from rzv2h_tint_irq_endisable() since it
is now only reachable via the TINT chip path.

[ tglx: Convert to hwirq_within() ]

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260304113317.129339-6-prabhakar.mahadev-lad.rj@bp.renesas.com
drivers/irqchip/irq-renesas-rzv2h.c