diff mbox series

[net-next,1/4] arm64: dts: sdm845: add IPA iommus property

Message ID 20200501214625.31539-2-elder@linaro.org (mailing list archive)
State Superseded
Headers show
Series net: ipa: I/O map SMEM and IMEM | expand

Commit Message

Alex Elder May 1, 2020, 9:46 p.m. UTC
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 <elder@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alex Elder May 1, 2020, 9:59 p.m. UTC | #1
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 <elder@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>;
>
diff mbox series

Patch

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>;