]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: qcom: sc7180: limit IPA iommu streams
authorAlex Elder <elder@linaro.org>
Thu, 26 Nov 2020 01:54:55 +0000 (19:54 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 26 Nov 2020 17:47:29 +0000 (11:47 -0600)
Recently we learned that Android and Windows firmware don't seem to
like using 3 as an iommu mask value for IPA.  A simple fix was to
specify exactly the streams needed explicitly, rather than implying
a range with the mask.  Make the same change for the SC7180 platform.

See also:
  https://lore.kernel.org/linux-arm-msm/20201123052305.157686-1-bjorn.andersson@linaro.org/

Fixes: d82fade846aa8 ("arm64: dts: qcom: sc7180: add IPA information")
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20201126015457.6557-2-elder@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 98210fdcbe25ee869d1be8afa6ac66ff271fa36c..d24ebc64c8b88f5d5b63db56e27900c656aa4896 100644 (file)
                ipa: ipa@1e40000 {
                        compatible = "qcom,sc7180-ipa";
 
-                       iommus = <&apps_smmu 0x440 0x3>;
+                       iommus = <&apps_smmu 0x440 0x0>,
+                                <&apps_smmu 0x442 0x0>;
                        reg = <0 0x1e40000 0 0x7000>,
                              <0 0x1e47000 0 0x2000>,
                              <0 0x1e04000 0 0x2c000>;