diff mbox

arm64: dts: r8a7795: Add GIC-400 virtual interfaces

Message ID 1455005692-9382-1-git-send-email-dirk.behme@de.bosch.com (mailing list archive)
State Superseded
Delegated to: Simon Horman
Headers show

Commit Message

Behme Dirk (CM/ESO2) Feb. 9, 2016, 8:14 a.m. UTC
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.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Kuninori Morimoto Feb. 15, 2016, 5:46 a.m. UTC | #1
Hi Dirk
Cc Geert

> 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.
> 
> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
> ---

Our R-Car chip is out-of-mapping.
Geert had indicated it in
http://thread.gmane.org/gmane.linux.ports.sh.devel/49751/focus=51544
And we have no answer about it I think

>  arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> index 8f1ed23..0163967 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -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 0x2000>,
> +			      <0x0 0xf1060000 0 0x2000>;
>  			interrupts = <GIC_PPI 9
>  					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
>  		};
> -- 
> 2.5.1
>
Behme Dirk (CM/ESO2) Feb. 15, 2016, 12:40 p.m. UTC | #2
On 15.02.2016 06:46, Kuninori Morimoto wrote:
>
> Hi Dirk
> Cc Geert
>
>> 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.
>>
>> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
>> ---
>
> Our R-Car chip is out-of-mapping.
> Geert had indicated it in
> http://thread.gmane.org/gmane.linux.ports.sh.devel/49751/focus=51544
> And we have no answer about it I think


Could you point us to the code where you think our out-of-mapping 
doesn't work?

Best regards

Dirk
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 8f1ed23..0163967 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -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 0x2000>,
+			      <0x0 0xf1060000 0 0x2000>;
 			interrupts = <GIC_PPI 9
 					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 		};