Skip to content

add support for GICv3 on the Foundation model

Andre Przywara linux-arm-kernel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 7 repliesSuperseded

Changelog from the cover letter

- remove bogus affinity field from GICv3 maintenance interrupt
- replace commit message for patch 2/4
----------------

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: dts: prepare foundation-v8.dts to cope with GICv3arch/arm64/boot/dts/arm/foundation-v8.dts+44 -440 replies
2/4arm64: dts: Foundation model: increase GICC region to allow EOImode=1arch/arm64/boot/dts/arm/foundation-v8.dts+1 -11 reply
3/4arm64: dts: split Foundation model dts to put the GIC separatelyarch/arm64/boot/dts/arm/foundation-v8.dts arch/arm64/boot/dts/arm/foundation-v8.dtsi+2 -2330 replies
4/4arm64: dts: add .dts for GICv3 Foundation modelarch/arm64/boot/dts/arm/Makefile arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts+31 -10 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchMarc Zyngier
1/4A-b
2/4R-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] add support for GICv3 on the Foundation model

Hi,

this is v2 adressing the two comments that Marc had on the previous version.
Changelog:
- remove bogus affinity field from GICv3 maintenance interrupt
- replace commit message for patch 2/4
----------------

The freely available ARM Foundation model [1] supports emulating a GICv3 interrupt controller (--gicv3).
To provide the kernel with the proper information, prepare the existing model .dts to be split up and eventually create a new .dts file which can be used to boot a kernel using the GICv3 in the model.

Patch 1/4 changes the common device tree to allow sharing most of the definitions later, while patch 2/4 is a drive-by-fix to add support for the recently enabled EOImode=1.
Patch 3/4 splits the existing DT up to have a common .dtsi file and a stub foundation-v8.dts in preparation for the final patch 4/4, which adds a new foundation-v8-gicv3.dts that has the required GICv3 node.

Together with the GICv3 support of the bootwrapper this allows to boot Linux and make it use the GICv3 interrupt controller.

Cheers,
Andre.

[1]: http://www.arm.com/products/tools/models/fast-models/foundation-model.php

Andre Przywara (4):
arm64: dts: prepare foundation-v8.dts to cope with GICv3
arm64: dts: Foundation model: increase GICC region to allow EOImode=1
arm64: dts: split Foundation model dts to put the GIC separately
arm64: dts: add .dts for GICv3 Foundation model

 arch/arm64/boot/dts/arm/Makefile                   |   2 +-
 arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts    |  30 +++
 arch/arm64/boot/dts/arm/foundation-v8.dts          | 227 +--------------------
 .../arm/{foundation-v8.dts => foundation-v8.dtsi}  |  98 ++++-----
 4 files changed, 78 insertions(+), 279 deletions(-)
 create mode 100644 arch/arm64/boot/dts/arm/foundation-v8-gicv3.dts
 copy arch/arm64/boot/dts/arm/{foundation-v8.dts => foundation-v8.dtsi} (73%)
Signature · 1 line
2.5.1