Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] irqchip/gic-v5: Fix standalone IRSes OF driver probe and DT bindings
@ 2026-10-15  8:20 Lorenzo Pieralisi
  2026-10-15  8:20 ` [PATCH 1/2] dt-bindings: interrupt-controller: gicv5: Relax IRS properties constraints Lorenzo Pieralisi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lorenzo Pieralisi @ 2026-10-15  8:20 UTC (permalink / raw)
  To: Marc Zyngier, Thomas Gleixner, Rob Herring, Sascha Bischoff,
	Krzysztof Kozlowski
  Cc: linux-arm-kernel, linux-kernel, devicetree, Lorenzo Pieralisi,
	Thomas Gleixner

The GICv5 architecture allows IRSes to be designed as standalone, ie with
no CPU connection, to support system topologies where the IRS is separated
from CPUs.

Current OF code fails the IRS probe if "cpus" and "arm,iaffids" properties,
that define IRS<->CPU connections, are missing (which goes against the
current schema because they are "required"), which is not correct for
the aforementioned reasons.

DT schema for GICv5 must be updated in that "cpus" and "arm,iaffids"
properties are currently defined as "required" which is not correct
(unless there is a way to keep them "required" and empty) and must
be relaxed.

I do not think it is possible to keep "cpus" and "arm,iaffids" as
"required" and allow them to be empty lists - I would need DT
maintainers feedback on that to see what is best.

I did not mark patches for stable kernels because I would like to get
feedback on the DT binding changes first before sending any change that
is potentially ABI changing back to stable kernels (strictly speaking
I do not think the DT changes can actually break anything - the only
potential issue is DT files that do declare "cpus" and "arm,iaffids" as
empty list against the schema - if they do that they are already broken
and this patchset changes nothing in that respect).

Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
---
Lorenzo Pieralisi (2):
      dt-bindings: interrupt-controller: gicv5: Relax IRS properties constraints
      irqchip/gic-v5: Fix standalone IRSes OF probe

 .../devicetree/bindings/interrupt-controller/arm,gic-v5.yaml     | 9 ++++++---
 drivers/irqchip/irq-gic-v5-irs.c                                 | 4 ++++
 2 files changed, 10 insertions(+), 3 deletions(-)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20261014-gicv5-irs-no-cpus-8c5fba3f9940

Best regards,
--  
Lorenzo Pieralisi <lpieralisi@kernel.org>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-15 10:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15  8:20 [PATCH 0/2] irqchip/gic-v5: Fix standalone IRSes OF driver probe and DT bindings Lorenzo Pieralisi
2026-10-15  8:20 ` [PATCH 1/2] dt-bindings: interrupt-controller: gicv5: Relax IRS properties constraints Lorenzo Pieralisi
2026-10-15 10:50   ` Lorenzo Pieralisi
2026-10-15  8:20 ` [PATCH 2/2] irqchip/gic-v5: Fix standalone IRSes OF probe Lorenzo Pieralisi
2026-10-15  9:40 ` [PATCH 0/2] irqchip/gic-v5: Fix standalone IRSes OF driver probe and DT bindings Sascha Bischoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox