From a8c3e5c73839d353da0d21e8dd82b8beae552909 Mon Sep 17 00:00:00 2001 From: Anirudh Raghavendra Date: Mon, 26 Feb 2024 11:46:50 -0800 Subject: [PATCH] arm64: dts: msm: Propagate gerrits 5108976 and 5008443 to opensource branch Manually propagate gerrits to new opensource branch from older proprietary branch. Change-Id: I982aa22e173de607f1dc6be778b7887eb47dbcfe Signed-off-by: Anirudh Raghavendra --- bindings/msm-fastrpc.txt | 2 ++ sun/sun-dsp.dtsi | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/bindings/msm-fastrpc.txt b/bindings/msm-fastrpc.txt index d839212b..864db51f 100644 --- a/bindings/msm-fastrpc.txt +++ b/bindings/msm-fastrpc.txt @@ -17,6 +17,8 @@ Optional properties: - qcom,fastrpc-adsp-audio-pdr : Flag to enable ADSP Audio PDR - qcom,secure-domains : FastRPC secure domain configuration - qcom,fastrpc-adsp-sensors-pdr : Flag to enable Sensors PDR +- qcom,single-core-latency-vote : Limit FastRPC PM QoS to only vote for 1 + lowest capacity core Optional subnodes: - qcom,msm_fastrpc_compute_cb : Child nodes representing the compute context banks diff --git a/sun/sun-dsp.dtsi b/sun/sun-dsp.dtsi index 53bbbac2..c46da212 100644 --- a/sun/sun-dsp.dtsi +++ b/sun/sun-dsp.dtsi @@ -15,6 +15,7 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; pd-type = <1>; /* ROOT_PD */ }; @@ -27,6 +28,7 @@ qcom,iommu-faults = "stall-disable", "HUPCF"; qcom,nsessions = <8>; dma-coherent; + qcom,iova-best-fit; pd-type = <3>; /* SENSORS_STATICPD */ }; @@ -38,6 +40,7 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; pd-type = <2>; /* AUDIO_STATICPD */ }; @@ -49,6 +52,7 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; pd-type = <5>; /* OIS_STATICPD */ }; @@ -61,6 +65,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -72,6 +78,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; }; @@ -96,6 +104,7 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; pd-type = <1>; /* ROOT_PD */ }; @@ -109,6 +118,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -122,6 +133,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -135,6 +148,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -148,6 +163,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -161,6 +178,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -174,6 +193,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -187,6 +208,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -203,6 +226,7 @@ qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */ qcom,nsessions = <3>; dma-coherent; + qcom,iova-best-fit; pd-type = <6>; /* CPZ_USERPD */ }; @@ -216,6 +240,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -230,6 +256,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; @@ -242,6 +270,8 @@ qcom,iommu-dma-addr-pool = <0x10000000 0xF0000000>; qcom,iommu-faults = "stall-disable", "HUPCF"; dma-coherent; + qcom,iova-best-fit; + qcom,iova-max-align-shift = <9>; /* Set MAX alignment to 2 MB*/ pd-type = <7>; /* USERPD */ }; };