From 8f32b7bb5c838c7fbabfc0ac72f1e58e3d2e39a2 Mon Sep 17 00:00:00 2001 From: Anant Goel Date: Mon, 7 Nov 2022 21:57:45 -0800 Subject: [PATCH] ARM: dts: msm: Add handoff SMRs for the Auto VM platform Add the handoff SMRs required for the Auto VM platform to ensure proper context bank allocations. Change-Id: Iceee8d81e8e8ff3117d25cfd22464651e6029dce --- bindings/iommu/arm,smmu.txt | 4 ++++ qcom/sa8155-vm.dtsi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/bindings/iommu/arm,smmu.txt b/bindings/iommu/arm,smmu.txt index c886bfb6..a923cb55 100644 --- a/bindings/iommu/arm,smmu.txt +++ b/bindings/iommu/arm,smmu.txt @@ -185,6 +185,10 @@ conditions. - qcom,num-smr-override: Optional integer. See qcom,num-context-banks-override. +- qcom,multi-match-handoff-smr: + Optional property. Should be included if one handoff SMR matches + multiple SMRs. + ** Deprecated properties: - mmu-masters (deprecated in favour of the generic "iommus" binding) : diff --git a/qcom/sa8155-vm.dtsi b/qcom/sa8155-vm.dtsi index b3c4047a..6646a79d 100644 --- a/qcom/sa8155-vm.dtsi +++ b/qcom/sa8155-vm.dtsi @@ -182,6 +182,8 @@ #iommu-cells = <2>; qcom,skip-init; qcom,use-3-lvl-tables; + qcom,handoff-smrs = <0xffff 0x0>; + qcom,multi-match-handoff-smr; qcom,disable-atos; #global-interrupts = <1>; #size-cells = <1>;