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

From: Andre Przywara
Date: Tue Dec 15 2015 - 08:37:01 EST


this is v2 adressing the two comments that Marc had on the previous
- 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.


[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%)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/