On 5/1/20 4:46 PM, Alex Elder wrote:
Add an "iommus" property to the IPA node in "sdm845.dtsi".  It is
required because there are two regions of memory the IPA accesses
through an SMMU.  The next few patches define and map those regions.

Signed-off-by: Alex Elder <el...@linaro.org>

I'm very sorry, I grouped these incorrectly.

I intended for this one patch to go to Bjorn and Andy to be
taken in through the Qualcomm tree, *not* through the net-next
tree.

I also neglected to mention that this addition is related to
this other series, which has the modem define some IOMMU
streams for the modem to use (one of the definitions is
related to the modem's use of IPA):
  https://lore.kernel.org/patchwork/cover/1227747/

Would you like me to post v2 of the series correcting this?

                                        -Alex

---
  arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 8f926b5234d4..de6bb86c4968 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1761,6 +1761,8 @@
ipa: ipa@1e40000 {
                        compatible = "qcom,sdm845-ipa";
+
+                       iommus = <&apps_smmu 0x720 0x3>;
                        reg = <0 0x1e40000 0 0x7000>,
                              <0 0x1e47000 0 0x2000>,
                              <0 0x1e04000 0 0x2c000>;


Reply via email to