Skip to content

irqchip/gic-v3: Add support for GICv3.1 extended PPI/SPI ranges

Marc Zyngier linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 11 repliesIn review
  2. v19 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12irqchip/gic: Rework gic_configure_irq to take the full ICFGR basedrivers/irqchip/irq-gic-common.c drivers/irqchip/irq-gic-v3.c drivers/irqchip/irq-gic.c +1 more+30 -122 replies
2/12irqchip/gic-v3: Add INTID range and convertion primitivesdrivers/irqchip/irq-gic-v3.c+83 -290 replies
3/12dt-bindings: interrupt-controller: arm,gic-v3: Describe ESPI range supportDocumentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml+3 -20 replies
4/12irqchip/gic-v3: Add ESPI range supportdrivers/irqchip/irq-gic-v3.c include/linux/irqchip/arm-gic-v3.h+85 -172 replies
5/12irqchip/gic: Prepare for more than 16 PPIsdrivers/irqchip/irq-gic-common.c drivers/irqchip/irq-gic-common.h drivers/irqchip/irq-gic-v3.c +2 more+30 -173 replies
6/12irqchip/gic-v3: Dynamically allocate PPI NMI refcountsdrivers/irqchip/irq-gic-v3.c+34 -131 reply
7/12irqchip/gic-v3: Dynamically allocate PPI partition descriptorsdrivers/irqchip/irq-gic-v3.c+11 -30 replies
8/12dt-bindings: interrupt-controller: arm,gic-v3: Describe EPPI range supportDocumentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml+3 -20 replies
9/12irqchip/gic-v3: Add EPPI range supportdrivers/irqchip/irq-gic-v3.c include/linux/irqchip/arm-gic-v3.h+47 -70 replies
10/12irqchip/gic-v3: Warn about inconsistent implementations of extended rangesdrivers/irqchip/irq-gic-v3.c include/linux/irqchip/arm-gic-v3.h+6 -02 replies
11/12irqchip/gic: Skip DT quirks when evaluating IIDR-based quirksdrivers/irqchip/irq-gic-common.c+2 -00 replies
12/12irqchip/gic-v3: Add quirks for HIP06/07 invalid GICD_TYPER erratum 161010803Documentation/arm64/silicon-errata.rst drivers/irqchip/irq-gic-v3.c+46 -101 reply

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchLokesh VutlaJohn GarryJulien Thierry
1/12
2/12
3/12R-b
4/12
5/12
6/12R-b
7/12
8/12
9/12
10/12
11/12
12/12T-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 v2 thread

Cover letter [PATCH v2 00/12] irqchip/gic-v3: Add support for GICv3.1 extended PPI/SPI ranges

Apparently, having ~1000 wired interrupts is not enough, and some people need more. Fear not! The GIC Achitecture Department hereby grants you another 1024 SPIs, together with 64 PPIs, provided that you implement GICv3.1 (see [1] for the details)

This series implements the required support, which requires a bit of infrastructure rework in order to make the thing less horrible...

This has been tested on a FastModel. If there is no additional issue being reported, I plan to put this into -next toward the end of this week and let it simmer there for a bit.

[1] https://developer.arm.com/docs/ihi0069/latest (version E)

* From v1:
- Tighten ESPI range matching
- Added a warning to detect inconsistent distributor/cpu interface configurations
- Added quirks to handle HIP06/07 erratum 161010803 which unexpectedly advertise ESPI support

Marc Zyngier (12):
irqchip/gic: Rework gic_configure_irq to take the full ICFGR base irqchip/gic-v3: Add INTID range and convertion primitives
dt-bindings: interrupt-controller: arm,gic-v3: Describe ESPI range
support
irqchip/gic-v3: Add ESPI range support
irqchip/gic: Prepare for more than 16 PPIs irqchip/gic-v3: Dynamically allocate PPI NMI refcounts irqchip/gic-v3: Dynamically allocate PPI partition descriptors
dt-bindings: interrupt-controller: arm,gic-v3: Describe EPPI range
support
irqchip/gic-v3: Add EPPI range support
irqchip/gic-v3: Warn about inconsistent implementations of extended
ranges
irqchip/gic: Skip DT quirks when evaluating IIDR-based quirks irqchip/gic-v3: Add quirks for HIP06/07 invalid GICD_TYPER erratum

    161010803
 Documentation/arm64/silicon-errata.rst        |   2 +
 .../interrupt-controller/arm,gic-v3.yaml      |   6 +-
 drivers/irqchip/irq-gic-common.c              |  35 +-
 drivers/irqchip/irq-gic-common.h              |   2 +-
 drivers/irqchip/irq-gic-v3.c                  | 380 ++++++++++++++----
 drivers/irqchip/irq-gic.c                     |  12 +-
 drivers/irqchip/irq-hip04.c                   |   9 +-
 include/linux/irqchip/arm-gic-v3.h            |  30 +-
 8 files changed, 372 insertions(+), 104 deletions(-)
Signature · 1 line
2.20.1