diff options
Diffstat (limited to 'bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0428-arch64-dts-renesas-r8a77970-Fix-IPMMU-probe-order.patch')
-rw-r--r-- | bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0428-arch64-dts-renesas-r8a77970-Fix-IPMMU-probe-order.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0428-arch64-dts-renesas-r8a77970-Fix-IPMMU-probe-order.patch b/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0428-arch64-dts-renesas-r8a77970-Fix-IPMMU-probe-order.patch new file mode 100644 index 00000000..ec40f20d --- /dev/null +++ b/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0428-arch64-dts-renesas-r8a77970-Fix-IPMMU-probe-order.patch @@ -0,0 +1,53 @@ +From 63a0c5c8fef06c0894a81d6e31b2b3eeec452f74 Mon Sep 17 00:00:00 2001 +From: Valentine Barshak <valentine.barshak@cogentembedded.com> +Date: Sat, 9 Nov 2019 20:22:31 +0300 +Subject: [PATCH 1/2] arch64: dts: renesas: r8a77970: Fix IPMMU probe order + +This moves the main IPMMU node in front of all the other IPMMU +nodes to prevent PROBE_DEFER errors and late initialization +of the slave IPMMU devices. + +Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com> +--- + arch/arm64/boot/dts/renesas/r8a77970.dtsi | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/arch/arm64/boot/dts/renesas/r8a77970.dtsi b/arch/arm64/boot/dts/renesas/r8a77970.dtsi +index 7ecbc01..456eeb6 100644 +--- a/arch/arm64/boot/dts/renesas/r8a77970.dtsi ++++ b/arch/arm64/boot/dts/renesas/r8a77970.dtsi +@@ -1121,6 +1121,15 @@ + <&ipmmu_ds1 22>, <&ipmmu_ds1 23>; + }; + ++ ipmmu_mm: mmu@e67b0000 { ++ compatible = "renesas,ipmmu-r8a77970"; ++ reg = <0 0xe67b0000 0 0x1000>; ++ interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, ++ <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; ++ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; ++ #iommu-cells = <1>; ++ }; ++ + ipmmu_ds1: mmu@e7740000 { + compatible = "renesas,ipmmu-r8a77970"; + reg = <0 0xe7740000 0 0x1000>; +@@ -1137,15 +1146,6 @@ + #iommu-cells = <1>; + }; + +- ipmmu_mm: mmu@e67b0000 { +- compatible = "renesas,ipmmu-r8a77970"; +- reg = <0 0xe67b0000 0 0x1000>; +- interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, +- <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; +- power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; +- #iommu-cells = <1>; +- }; +- + ipmmu_rt: mmu@ffc80000 { + compatible = "renesas,ipmmu-r8a77970"; + reg = <0 0xffc80000 0 0x1000>; +-- +2.7.4 + |