[PATCH v5 0/7] irqchip/renesas-rzv2h: Add support to handle ICU error IRQ and add SWPE trigger
From: Prabhakar
Date: Wed Mar 04 2026 - 06:33:58 EST
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Hi All,
This patch series aims to enhance the Renesas RZ/V2H ICU irqchip driver by
adding support to handle ICU error IRQs and introducing a software
generated interrupts using SWPE and SWINT. The series includes the
following changes:
1. Use local node pointer
2. Use local device pointer in ICU probe
3. Switch to using dev_err_probe()
4. Make IRQ type handling range-aware
5. Add CA55 software interrupt support
6. Handle ICU error IRQ and add SWPE trigger
v4->v5:
- Rebased the changes on top of next-20260303
- Dropped scoped_guard arround single writel
- Used scoped_guard in rzv2h_irq_set_type/rzv2h_tint_set_type to ensure
irq_chip_set_type_parent() is called without locking
- Dropped gaurd from rzv2h_icu_swint_set_irqchip_state() and
rzv2h_icu_swpe_set_irqchip_state() as we just did a single writel
v3->v4:
- Made a separate irq chip for tint/irq/nmi.
- Added new patch for tint validation in irq allocation.
- Made a separate irq chip for CA55 SWINT.
- Made a separate irq chip for CA55 SWPE.
v2->v3:
- Updated the check in rzv2h_icu_alloc() to ensure hwirq is within the
TINT range when extracting TINT information in patch 4/6.
- Replaced pr_debug with pr_info in the SWINT handler in patch 5/6
and 6/6 to ensure visibility of the message.
v1->v2:
- No changes for patches 1-3.
- Patch 4 is a new patch.
- Patch 5
- Made CA55 SW interrupt as part of ICU IRQ domain.
- Implemented rzv2h_icu_irq_set_irqchip_state() to trigger SWINT.
- Updated commit message accordingly.
- Patch 6
- Made Error interrupt as part of ICU IRQ domain.
- Updated rzv2h_icu_irq_set_irqchip_state() to trigger pseudo interrupt.
- Updated commit message accordingly.
Cheers,
Prabhakar
Lad Prabhakar (7):
irqchip/renesas-rzv2h: Use local node pointer
irqchip/renesas-rzv2h: Use local device pointer in ICU probe
irqchip/renesas-rzv2h: Switch to using dev_err_probe()
irqchip/renesas-rzv2h: Clarify IRQ range definitions and tighten TINT
validation
irqchip/renesas-rzv2h: Replace single irq_chip with per-region
irq_chip instances
irqchip/renesas-rzv2h: Add CA55 software interrupt support
irqchip/renesas-rzv2h: Handle ICU error IRQ and add SWPE trigger
drivers/irqchip/irq-renesas-rzv2h.c | 474 ++++++++++++++++++++++------
1 file changed, 376 insertions(+), 98 deletions(-)
--
2.53.0