From 6f8bc18d0f84125e0aa0b45dbaadf1f215b6077a Mon Sep 17 00:00:00 2001 From: Chandana Kishori Chiluveru Date: Thu, 22 Oct 2020 21:06:38 +0530 Subject: [PATCH] ARM: dts: msm: Reduce the IOVA range for slimbus and QUP usecases This change enables SMMU page table memory savings for qup and slim_aud. No functional change but helps saving memory table space. Change-Id: I094d0a18d6b5a0aab1ab5ac4f05dd183392f2e17 --- qcom/shima-qupv3.dtsi | 6 ++++-- qcom/shima.dtsi | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/qcom/shima-qupv3.dtsi b/qcom/shima-qupv3.dtsi index aa158a9189e4..a4c05936d55c 100644 --- a/qcom/shima-qupv3.dtsi +++ b/qcom/shima-qupv3.dtsi @@ -29,7 +29,8 @@ , ; iommus = <&apps_smmu 0x4c3 0x0>; - qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>; + qcom,iommu-dma-addr-pool = <0x40000000 0x10000000>; + qcom,iommu-geometry = <0x40000000 0x10000000>; qcom,iommu-dma = "fastmap"; }; @@ -362,7 +363,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"; }; diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 5032f9039003..71796e666482 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -537,7 +537,8 @@ qcom,apps-ch-pipes = <0x0>; qcom,ea-pc = <0x3d0>; iommus = <&apps_smmu 0x2026 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";