arm64: dts: r8a7795: Add GIC-400 virtual interfaces
Subsystems (2)
PATCH v2 1/1 arm64: dts: r8a7795: Add GIC-400 virtual interfaces
Besides the distributor and the CPU interface the GIC-400 additionally supports the virtual interface control blocks and the virtual CPU interfaces.
Add the physical base addresses and size for these.
See
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html
-> 3.2. GIC-400 register map
and Linux kernel's
Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
for more details.
For the at GICH Virtual interface control blocks at 0xf1040000 cover the whole 128kB (0x20000) range. This is done based on the advice from Marc Zyngier http://www.spinics.net/lists/arm-kernel/msg483139.html
---
Changes in v2: Extend the GICH size to 128kB.
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +3 -1
@@ -130,7 +130,9 @@ #address-cells = <0>; interrupt-controller; reg = <0x0 0xf1010000 0 0x1000>, - <0x0 0xf1020000 0 0x2000>; + <0x0 0xf1020000 0 0x2000>, + <0x0 0xf1040000 0 0x20000>, + <0x0 0xf1060000 0 0x2000>; interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; };
Signature · 1 line
2.5.1
PATCH v2 1/1 arm64: dts: r8a7795: Add GIC-400 virtual interfaces
CC Marc
Quoted 14 lines · Dirk Behme
Besides the distributor and the CPU interface the GIC-400 additionally supports the virtual interface control blocks and the virtual CPU interfaces.
Add the physical base addresses and size for these.
See
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html
-> 3.2. GIC-400 register mapand Linux kernel's
Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
Quoted 7 lines
for more details.
For the at GICH Virtual interface control blocks at
0xf1040000cover the whole 128kB (0x20000) range. This is done based on the advice from Marc Zyngier http://www.spinics.net/lists/arm-kernel/msg483139.htmlSigned-off-by Dirk Behme <[email protected]>
Thanks!
Quoted 22 lines
---
Changes in v2: Extend the GICH size to 128kB.arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/arm64/boot/dts/renesas/r8a7795.dtsi +3
-2@@ -130,7 +130,9 @@ #address-cells = <0>; interrupt-controller; reg = <0x0 0xf1010000 0 0x1000>, - <0x0 0xf1020000 0 0x2000>; + <0x0 0xf1020000 0 0x2000>, + <0x0 0xf1040000 0 0x20000>, + <0x0 0xf1060000 0 0x2000>; interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; }; --
Quoted 1 line
2.5.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
PATCH v2 1/1 arm64: dts: r8a7795: Add GIC-400 virtual interfaces
Quoted 23 lines · Geert Uytterhoeven
CC Marc
Quoted 20 lines · Dirk Behme
Besides the distributor and the CPU interface the GIC-400 additionally supports the virtual interface control blocks and the virtual CPU interfaces.
Add the physical base addresses and size for these.
See
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html
-> 3.2. GIC-400 register mapand Linux kernel's
Documentation/devicetree/bindings/interrupt-controller/arm,gic.txtfor more details.
For the at GICH Virtual interface control blocks at
0xf1040000cover the whole 128kB (0x20000) range. This is done based on the advice from Marc Zyngier http://www.spinics.net/lists/arm-kernel/msg483139.html
Quoted 5 lines
Quoted 1 line
Signed-off-by Dirk Behme <[email protected]>Thanks!
Thanks, I have queued this up for v4.6.