Skip to content

Add PLIC support for Renesas RZ/Five SoC / Fix T-HEAD PLIC edge flow

Samuel Holland linux-devicetree linux-renesas-soc linux-riscv lkml 1 version Applied

Status from this message: The following commit has been merged into the irq/irqchip-next branch of irqchip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 4 repliesApplied

Changes in v3 from the cover letter

- Add a more detailed explanation for why #interrupt-cells differs
- Add andestech,nceplic100 as a fallback compatible
- Separate the conditional part of the binding into two blocks (one for the PLIC implementation and the other for the SoC integration)
- Use a quirk bit for selecting the flow instead of a variant ID
- Use the andestech,nceplic100 compatible to select the new behavior
- Use handle_edge_irq instead of handle_fasteoi_ack_irq so .irq_ack always gets called
- Do not set the handler name, as RISC-V selects GENERIC_IRQ_SHOW_LEVEL
- Use the same name for plic_edge_chip as plic_chip

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: interrupt-controller: sifive,plic: Document Renesas RZ/Five SoCDocumentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml+59 -50 replies
2/4irqchip/sifive-plic: Add support for Renesas RZ/Five SoCdrivers/irqchip/irq-sifive-plic.c+74 -40 replies
3/4dt-bindings: interrupt-controller: Require trigger type for T-HEAD PLICDocumentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml+2 -10 replies
4/4irqchip/sifive-plic: Fix T-HEAD PLIC edge trigger handlingdrivers/irqchip/irq-sifive-plic.c+1 -11 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLad PrabhakarGuo RenPalmer Dabbelt
SeriesA-b
1/4
2/4
3/4R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] Add PLIC support for Renesas RZ/Five SoC / Fix T-HEAD PLIC edge flow

This patch series adds PLIC support for Renesas RZ/Five SoC.

Since the T-HEAD C900 PLIC has the same behavior, it also applies the fix for that variant.

This series is an update of v2 of the RZ/Five series[0], and replaces the separate T-HEAD series[1].

[0]: https://lore.kernel.org/linux-riscv/[email protected]/
[1]: https://lore.kernel.org/linux-riscv/[email protected]/

Changes in v3:
- Add a more detailed explanation for why #interrupt-cells differs
- Add andestech,nceplic100 as a fallback compatible
- Separate the conditional part of the binding into two blocks (one for the PLIC implementation and the other for the SoC integration)
- Use a quirk bit for selecting the flow instead of a variant ID
- Use the andestech,nceplic100 compatible to select the new behavior
- Use handle_edge_irq instead of handle_fasteoi_ack_irq so .irq_ack always gets called
- Do not set the handler name, as RISC-V selects GENERIC_IRQ_SHOW_LEVEL
- Use the same name for plic_edge_chip as plic_chip

Changes in v2:
- Fixed review comments pointed by Marc and Krzysztof.

Changes in v1:
- Fixed review comments pointed by Rob and Geert.
- Changed implementation for EDGE interrupt handling on Renesas RZ/Five SoC.

Lad Prabhakar (2):
dt-bindings: interrupt-controller: sifive,plic: Document Renesas
RZ/Five SoC
irqchip/sifive-plic: Add support for Renesas RZ/Five SoC

Samuel Holland (2):
dt-bindings: interrupt-controller: Require trigger type for T-HEAD
PLIC
irqchip/sifive-plic: Fix T-HEAD PLIC edge trigger handling

 .../sifive,plic-1.0.0.yaml                    | 65 +++++++++++++--
 drivers/irqchip/irq-sifive-plic.c             | 80 +++++++++++++++++--
 2 files changed, 135 insertions(+), 10 deletions(-)
Signature · 1 line
2.35.1