Skip to content

Commit f43cade

Browse files
nowicki-tomaszgclement
authored andcommitted
arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040
FW has to configure devices' StreamIDs so that SMMU is able to lookup context and do proper translation later on. For Armada 7040 & 8040 and publicly available FW, most of the devices are configured properly, but some like ap_sdhci0, PCIe, NIC still remain unassigned which results in SMMU faults about unmatched StreamID (assuming ARM_SMMU_DISABLE_BYPASS_BY_DEFAUL=y). Since there is dependency on custom FW let SMMU be disabled by default. People who still willing to use SMMU need to enable manually and use ARM_SMMU_DISABLE_BYPASS_BY_DEFAUL=n (or via kernel command line) with extra caution. Fixes: 83a3545 ("arm64: dts: marvell: add SMMU support") Cc: <stable@vger.kernel.org> # 5.9+ Signed-off-by: Tomasz Nowicki <tn@semihalf.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent da57203 commit f43cade

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎arch/arm64/boot/dts/marvell/armada-7040.dtsi‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
"marvell,armada-ap806";
1616
};
1717

18-
&smmu {
19-
status = "okay";
20-
};
21-
2218
&cp0_pcie0 {
2319
iommu-map =
2420
<0x0 &smmu 0x480 0x20>,

‎arch/arm64/boot/dts/marvell/armada-8040.dtsi‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
"marvell,armada-ap806";
1616
};
1717

18-
&smmu {
19-
status = "okay";
20-
};
21-
2218
&cp0_pcie0 {
2319
iommu-map =
2420
<0x0 &smmu 0x480 0x20>,

0 commit comments

Comments
 (0)