From fc22b7e642b6f60d37bb2efd9fea0df786379c7c Mon Sep 17 00:00:00 2001 From: Elson Roy Serrao Date: Wed, 20 Oct 2021 08:29:07 -0700 Subject: [PATCH] ARM: dts: msm: Enable best fit algo on sdxlemur Enable best fit algo for iova allocation on sdxlemur. This helps in reducing fragementation and thus utilizing the iova address space more efficiently. Change-Id: I493765bc64911be9ac8e4a075a3f7c9d302cd9e4 --- bindings/usb/qcom,dwc3.txt | 4 ++++ qcom/sdxlemur-usb.dtsi | 1 + 2 files changed, 5 insertions(+) diff --git a/bindings/usb/qcom,dwc3.txt b/bindings/usb/qcom,dwc3.txt index cb695aa3fba4..9097f1fcadc4 100644 --- a/bindings/usb/qcom,dwc3.txt +++ b/bindings/usb/qcom,dwc3.txt @@ -46,6 +46,10 @@ Optional properties: - qcom,select-utmi-as-pipe-clk: if present, disable USB3 pipe_clk requirement. Used when dwc3 operates without SSPHY and only HS/FS/LS modes are supported. +- qcom,iommu-best-fit-algo: If present, enables best fit algorithm for iova + allocation. This helps in reducing fragmentation + and utilizing the iova address space more + efficiently. Required child node: A child node must exist to represent the core DWC3 IP block. The name of diff --git a/qcom/sdxlemur-usb.dtsi b/qcom/sdxlemur-usb.dtsi index a80512eb8688..92b47263250e 100644 --- a/qcom/sdxlemur-usb.dtsi +++ b/qcom/sdxlemur-usb.dtsi @@ -13,6 +13,7 @@ #size-cells = <1>; ranges; dma-ranges; + qcom,iommu-best-fit-algo; interrupts-extended = <&pdc 19 IRQ_TYPE_EDGE_RISING>, <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,