]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes
authorMarijn Suijten <marijn.suijten@somainline.org>
Sun, 30 Oct 2022 07:32:32 +0000 (08:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:26:40 +0000 (13:26 +0100)
commit1276ad26e67f2595e84c2dffc8eca3ebf0cdcd91
tree773bbeb1c275c34c6d4a87f955db5bae109af874
parenta651bb5ff997b9f02662bcdef3d8b4e6f0d79656
arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes

[ Upstream commit 7372b944a6ba5ac86628eaacc89ed4f103435cb9 ]

When enabling the APPS SMMU the mainline driver reconfigures the SMMU
from its bootloader configuration, losing the stream mapping for (among
which) the SDHCI hardware and breaking its ADMA feature.  This feature
can be disabled with:

    sdhci.debug_quirks=0x40

But it is of course desired to have this feature enabled and working
through the SMMU.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com>
Tested-by: Luca Weiss <luca.weiss@fairphone.com> # sm7225-fairphone-fp4
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221030073232.22726-11-marijn.suijten@somainline.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm6350.dtsi