From e4755ff70a38ebe629d8a6cee7491b50a7d457de Mon Sep 17 00:00:00 2001 From: Chris Lew Date: Thu, 16 Jul 2020 15:28:51 -0700 Subject: [PATCH] ARM: dts: msm: Add vcpu affinity properties for trustedvm Add vcpu properties to vmconfig to set the affinity and priorities for this vm. Change-Id: I4458052debadb3c1bead903fcbcd89bfe5a7e4f1 --- qcom/trustedvm.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcom/trustedvm.dtsi b/qcom/trustedvm.dtsi index 93584ac68e3c..0ddae82d3573 100644 --- a/qcom/trustedvm.dtsi +++ b/qcom/trustedvm.dtsi @@ -182,7 +182,9 @@ vcpus { config = "/cpus"; affinity = "static"; - affinity-map = <0x0>; /* VCPU -> CPU */ + affinity-map = <0x4 0x5>; /* VCPU[0,1] -> CPU[4,5] */ + sched-priority = < (-1) >; /* relative to PVM */ + sched-timeslice = <2000>; /* in ms */ }; interrupts {