From e4129e05116fa36eea7c4ff8c95adcc12b8ce29e Mon Sep 17 00:00:00 2001 From: Faiyaz Mohammed Date: Thu, 13 Aug 2020 10:42:39 +0530 Subject: [PATCH] ARM: dts: msm: Add the mem-buf device for Shima Add the mem-buf device for shima to enable memory transfers between VMs. The role of the mem-buf driver on the primary VM is to satisfy allocation requests. There is no realistic scenario in which it would need to allocate memory from other VMs, so mark the mem-buf device as a supplier for the primary VM. Change-Id: Id675fbe6d065063227a518ba66a275910fd12e3e --- qcom/shima.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index e033add8d70a..16f94289252f 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -592,6 +592,11 @@ compatible = "qcom,secure-buffer"; }; + qcom-mem-buf { + compatible = "qcom,mem-buf"; + qcom,mem-buf-capabilities = "supplier"; + }; + qcom,memshare { compatible = "qcom,memshare";