From ab950aebd0bf6a735bf0ab133b847ff9b0c28dd1 Mon Sep 17 00:00:00 2001 From: Author Name Date: Wed, 16 Sep 2020 01:01:32 +0530 Subject: [PATCH] ARM: dts: msm: Reduce the IOVA range for slimbus and QUP usecases This change enables SMMU page table memory savings for qpup and slim_aud. No functional change but helps saving memory table space. Change-Id: I90a40d62f22d46f99b3aa5ab6372c3ec3cff9039 --- qcom/lahaina-qupv3.dtsi | 9 ++++++--- qcom/lahaina.dtsi | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/qcom/lahaina-qupv3.dtsi b/qcom/lahaina-qupv3.dtsi index 4be9adc4b94e..723b2eaab701 100644 --- a/qcom/lahaina-qupv3.dtsi +++ b/qcom/lahaina-qupv3.dtsi @@ -34,7 +34,8 @@ , ; iommus = <&apps_smmu 0x5a3 0x0>; - qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>; + qcom,iommu-dma-addr-pool = <0x40000000 0x10000000>; + qcom,iommu-geometry = <0x40000000 0x10000000>; qcom,iommu-dma = "fastmap"; }; @@ -424,7 +425,8 @@ , ; iommus = <&apps_smmu 0x43 0x0>; - qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>; + qcom,iommu-dma-addr-pool = <0x40000000 0x10000000>; + qcom,iommu-geometry = <0x40000000 0x10000000>; qcom,iommu-dma = "fastmap"; }; @@ -762,7 +764,8 @@ , ; iommus = <&apps_smmu 0x5e3 0x0>; - qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>; + qcom,iommu-dma-addr-pool = <0x40000000 0x10000000>; + qcom,iommu-geometry = <0x40000000 0x10000000>; qcom,iommu-dma = "fastmap"; }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index ce44b9188fda..e36e52935619 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -573,7 +573,8 @@ qcom,apps-ch-pipes = <0x0>; qcom,ea-pc = <0x350>; iommus = <&apps_smmu 0x1826 0x0>; - qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>; + qcom,iommu-dma-addr-pool = <0x40000000 0x10000000>; + qcom,iommu-geometry = <0x40000000 0x10000000>; qcom,iommu-dma = "fastmap"; status = "ok";