arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040
authorTomasz Nowicki <tn@semihalf.com>
Thu, 5 Nov 2020 11:26:02 +0000 (12:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:14 +0000 (11:54 +0100)
commite0dad9a78c853e0b636cc6acae88b2faed6d2fa5
tree95b4f2498e7c29b286a3bf7546dc173dfb10b64d
parent0403bf25a46dc8725498de37000a764231a2db0d
arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040

commit f43cadef2df260101497a6aace05e24201f00202 upstream.

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: 83a3545d9c37 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/marvell/armada-7040.dtsi
arch/arm64/boot/dts/marvell/armada-8040.dtsi