Skip to contentSkip to conversation

arm64: dts: renesas: Enable IPMMU devices

PATCH Applied Magnus Damm 3 participants 15 messages Apr 22, 2018 – Apr 24, 2018

Subsystems (2)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

cover arm64: dts: renesas: Enable IPMMU devices

arm64: dts: renesas: Enable IPMMU devices

[PATCH 01/04] arm64: dts: renesas: r8a7795: Enable IPMMU devices [PATCH 02/04] arm64: dts: renesas: r8a7796: Enable IPMMU devices [PATCH 03/04] arm64: dts: renesas: r8a77970: Enable IPMMU devices [PATCH 04/04] arm64: dts: renesas: r8a77995: Enable IPMMU devices

Following the policy of using DT to describe the hardware and not software support state, this series makes sure all IPMMU devices are enabled in DT for SoCs such as r8a7795, r8a7796, r8a77970 and r8a77995.

---

Developed on top of renesas-devel-20180420-v4.17-rc1

 arch/arm64/boot/dts/renesas/r8a7795.dtsi  |   12 ------------
 arch/arm64/boot/dts/renesas/r8a7796.dtsi  |    5 -----
 arch/arm64/boot/dts/renesas/r8a77970.dtsi |    2 --
 arch/arm64/boot/dts/renesas/r8a77995.dtsi |   10 ----------
 4 files changed, 29 deletions(-)
author maintainer
#1 lore raw

PATCH 1/4 arm64: dts: renesas: r8a7795: Enable IPMMU devices

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a7795 SoC.

---

 arch/arm64/boot/dts/renesas/r8a7795.dtsi |   12 ------------
 1 file changed, 12 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795.dtsi +0 -12
@@ -947,7 +947,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 2>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_ir: mmu@ff8b0000 {
@@ -956,7 +955,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 3>;
 			power-domains = <&sysc R8A7795_PD_A3IR>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mm: mmu@e67b0000 {
@@ -974,7 +972,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 4>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_pv0: mmu@fd800000 {
@@ -983,7 +980,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 6>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_pv1: mmu@fd950000 {
@@ -992,7 +988,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 7>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_pv2: mmu@fd960000 {
@@ -1001,7 +996,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 8>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_pv3: mmu@fd970000 {
@@ -1010,7 +1004,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 9>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_rt: mmu@ffc80000 {
@@ -1019,7 +1012,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 10>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vc0: mmu@fe6b0000 {
@@ -1028,7 +1020,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 12>;
 			power-domains = <&sysc R8A7795_PD_A3VC>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vc1: mmu@fe6f0000 {
@@ -1037,7 +1028,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 13>;
 			power-domains = <&sysc R8A7795_PD_A3VC>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vi0: mmu@febd0000 {
@@ -1054,7 +1044,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 15>;
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vp0: mmu@fe990000 {
@@ -1063,7 +1052,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 16>;
 			power-domains = <&sysc R8A7795_PD_A3VP>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vp1: mmu@fe980000 {
Reviewed-by on v1 1/4
#2 lore raw

Re: [PATCH 01/04] arm64: dts: renesas: r8a7795: Enable IPMMU devices

Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a7795 SoC.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
author maintainer
#4 lore raw

PATCH 2/4 arm64: dts: renesas: r8a7796: Enable IPMMU devices

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a7796 SoC.

---

 arch/arm64/boot/dts/renesas/r8a7796.dtsi |    5 -----
 1 file changed, 5 deletions(-)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -5
@@ -881,7 +881,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 2>;
 			power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_ir: mmu@ff8b0000 {
@@ -890,7 +889,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 3>;
 			power-domains = <&sysc R8A7796_PD_A3IR>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mm: mmu@e67b0000 {
@@ -924,7 +922,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 6>;
 			power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_rt: mmu@ffc80000 {
@@ -933,7 +930,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 7>;
 			power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vc0: mmu@fe6b0000 {
@@ -942,7 +938,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 8>;
 			power-domains = <&sysc R8A7796_PD_A3VC>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vi0: mmu@febd0000 {
Reviewed-by on v1 2/4
#5 lore raw

Re: [PATCH 02/04] arm64: dts: renesas: r8a7796: Enable IPMMU devices

Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a7796 SoC.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
author maintainer
#7 lore raw

PATCH 3/4 arm64: dts: renesas: r8a77970: Enable IPMMU devices

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77970 SoC.

---

 arch/arm64/boot/dts/renesas/r8a77970.dtsi |    2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/renesas/r8a77970.dtsi +0 -2
@@ -137,7 +137,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 9>;
 			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_ir: mmu@ff8b0000 {
@@ -146,7 +145,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 3>;
 			power-domains = <&sysc R8A77970_PD_A3IR>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_rt: mmu@ffc80000 {
Reviewed-by on v1 3/4
#8 lore raw

Re: [PATCH 03/04] arm64: dts: renesas: r8a77970: Enable IPMMU devices

Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77970 SoC.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
Reviewed-by Geert Uytterhoeven
#9 lore raw

Re: [PATCH 03/04] arm64: dts: renesas: r8a77970: Enable IPMMU devices

Quoted 9 lines · Geert Uytterhoeven
Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77970 SoC.

Thanks, I applied this by hand as the node order was changed by a patch I queued up earlier today. The result is as follows:

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77970 SoC.

---
 arch/arm64/boot/dts/renesas/r8a77970.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/renesas/r8a77970.dtsi +0 -2
index 265ecf56a6f2..2159ddaf6e56 100644
@@ -567,7 +567,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 3>;
 			power-domains = <&sysc R8A77970_PD_A3IR>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mm: mmu@e67b0000 {
@@ -593,7 +592,6 @@
 			renesas,ipmmu-main = <&ipmmu_mm 9>;
 			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		gic: interrupt-controller@f1010000 {
Signature · 1 line
2.11.0
author maintainer
#10 lore raw

PATCH 4/4 arm64: dts: renesas: r8a77995: Enable IPMMU devices

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77995 SoC.

---

 arch/arm64/boot/dts/renesas/r8a77995.dtsi |   10 ----------
 1 file changed, 10 deletions(-)
arch/arm64/boot/dts/renesas/r8a77995.dtsi +0 -10
@@ -108,7 +108,6 @@
 			reg = <0 0xfebd0000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 14>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vp0: mmu@fe990000 {
@@ -116,7 +115,6 @@
 			reg = <0 0xfe990000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 16>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vc0: mmu@fe6b0000 {
@@ -124,7 +122,6 @@
 			reg = <0 0xfe6b0000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 12>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_pv0: mmu@fd800000 {
@@ -132,7 +129,6 @@
 			reg = <0 0xfd800000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 6>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_hc: mmu@e6570000 {
@@ -140,7 +136,6 @@
 			reg = <0 0xe6570000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 2>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_rt: mmu@ffc80000 {
@@ -148,7 +143,6 @@
 			reg = <0 0xffc80000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 10>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mp: mmu@ec670000 {
@@ -156,7 +150,6 @@
 			reg = <0 0xec670000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 4>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_ds0: mmu@e6740000 {
@@ -164,7 +157,6 @@
 			reg = <0 0xe6740000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 0>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_ds1: mmu@e7740000 {
@@ -172,7 +164,6 @@
 			reg = <0 0xe7740000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 1>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mm: mmu@e67b0000 {
@@ -181,7 +172,6 @@
 			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 
Reviewed-by on v1 4/4
#11 lore raw

Re: [PATCH 04/04] arm64: dts: renesas: r8a77995: Enable IPMMU devices

Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77995 SoC.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
Reviewed-by Geert Uytterhoeven
#12 lore raw

Re: [PATCH 04/04] arm64: dts: renesas: r8a77995: Enable IPMMU devices

Quoted 9 lines · Geert Uytterhoeven
Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77995 SoC.

Thanks, I applied this by hand as the node order was updated by a patch that I applied earlier today. The result is as follows:

From: Magnus Damm <[email protected]>

Remove 'status = "disabled"' to make sure all IPMMU devices are enabled in DT on the r8a77995 SoC.

---
 arch/arm64/boot/dts/renesas/r8a77995.dtsi | 10 ----------
 1 file changed, 10 deletions(-)
arch/arm64/boot/dts/renesas/r8a77995.dtsi +0 -10
index a97830589b0d..ba98865b0c9b 100644
@@ -409,7 +409,6 @@
 			reg = <0 0xe6740000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 0>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_ds1: mmu@e7740000 {
@@ -417,7 +416,6 @@
 			reg = <0 0xe7740000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 1>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_hc: mmu@e6570000 {
@@ -425,7 +423,6 @@
 			reg = <0 0xe6570000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 2>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mm: mmu@e67b0000 {
@@ -434,7 +431,6 @@
 			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_mp: mmu@ec670000 {
@@ -442,7 +438,6 @@
 			reg = <0 0xec670000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 4>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_pv0: mmu@fd800000 {
@@ -450,7 +445,6 @@
 			reg = <0 0xfd800000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 6>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_rt: mmu@ffc80000 {
@@ -458,7 +452,6 @@
 			reg = <0 0xffc80000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 10>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vc0: mmu@fe6b0000 {
@@ -466,7 +459,6 @@
 			reg = <0 0xfe6b0000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 12>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vi0: mmu@febd0000 {
@@ -474,7 +466,6 @@
 			reg = <0 0xfebd0000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 14>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		ipmmu_vp0: mmu@fe990000 {
@@ -482,7 +473,6 @@
 			reg = <0 0xfe990000 0 0x1000>;
 			renesas,ipmmu-main = <&ipmmu_mm 16>;
 			#iommu-cells = <1>;
-			status = "disabled";
 		};
 
 		avb: ethernet@e6800000 {
Signature · 1 line
2.11.0
#13 lore raw
In reply to Magnus Damm

Hi Magnus,

Quoted 9 lines · Magnus Damm

arm64: dts: renesas: Enable IPMMU devices

[PATCH 01/04] arm64: dts: renesas: r8a7795: Enable IPMMU devices [PATCH 02/04] arm64: dts: renesas: r8a7796: Enable IPMMU devices [PATCH 03/04] arm64: dts: renesas: r8a77970: Enable IPMMU devices [PATCH 04/04] arm64: dts: renesas: r8a77995: Enable IPMMU devices

Following the policy of using DT to describe the hardware and not software support state, ...

Good policy! So "[PATCH 0/2] arm64: dts: renesas: r8a77970: Add SMP Support" can be applied, too?

Quoted 2 lines

... this series makes sure all IPMMU devices are enabled in DT for SoCs such as r8a7795, r8a7796, r8a77970 and r8a77995.

BTW, do you plan to fix arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi, too?

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
#14 lore raw
Quoted 13 lines · Geert Uytterhoeven

Hi Magnus,

Quoted 9 lines · Magnus Damm

arm64: dts: renesas: Enable IPMMU devices

[PATCH 01/04] arm64: dts: renesas: r8a7795: Enable IPMMU devices [PATCH 02/04] arm64: dts: renesas: r8a7796: Enable IPMMU devices [PATCH 03/04] arm64: dts: renesas: r8a77970: Enable IPMMU devices [PATCH 04/04] arm64: dts: renesas: r8a77995: Enable IPMMU devices

Following the policy of using DT to describe the hardware and not software support state, ...

Quoted 7 lines

Good policy! So "[PATCH 0/2] arm64: dts: renesas: r8a77970: Add SMP Support" can be applied, too?

Quoted 2 lines

... this series makes sure all IPMMU devices are enabled in DT for SoCs such as r8a7795, r8a7796, r8a77970 and r8a77995.

BTW, do you plan to fix arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi, too?

I took the liberty of posting a patch to do that.