]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: qcom: sdm845: Limit ipa iommu streams
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 23 Nov 2020 05:23:05 +0000 (23:23 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 24 Nov 2020 19:48:05 +0000 (13:48 -0600)
The Android and Windows firmware does not accept the use of 3 as a mask
to cover the IPA streams. But with 0x721 being related to WiFi and 0x723
being unsed the mapping can be reduced to just cover 0x720 and 0x722,
which is accepted.

Acked-by: Alex Elder <elder@linaro.org>
Tested-by: Alex Elder <elder@linaro.org>
Fixes: e9e89c45bfeb ("arm64: dts: sdm845: add IPA iommus property")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20201123052305.157686-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index d6b7b1bfa2021f71f6a17fb340c7d21a146b4506..957ee80704e7466fcab9a6ef3177cae9a11251d1 100644 (file)
                ipa: ipa@1e40000 {
                        compatible = "qcom,sdm845-ipa";
 
-                       iommus = <&apps_smmu 0x720 0x3>;
+                       iommus = <&apps_smmu 0x720 0x0>,
+                                <&apps_smmu 0x722 0x0>;
                        reg = <0 0x1e40000 0 0x7000>,
                              <0 0x1e47000 0 0x2000>,
                              <0 0x1e04000 0 0x2c000>;