ARM: dts: msm: Set vCPU affinity to CPU0 for VMs on Tuna

Even though we use proxy scheduling, during VM bootup hypervisor tries
to boot the VMs as per the affinity-map. This may cause panic in case a
CPU within affinity-map is unavailable.

Affining vCPUs to CPU0 makes sure VM proceeds with
powered-ON sequence, assuming CPU0 is always available.

Change-Id: Ia6799445891e1b003b5055178adb50778bade863
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
This commit is contained in:
Hrishabh Rajput
2024-10-09 15:01:22 +05:30
parent 66a225b028
commit 8954f28a7e
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@
vcpus {
config = "/cpus";
affinity = "proxy";
affinity-map = <0x5 0x6>;
affinity-map = <0x0 0x0>;
sched-priority = <0>; /* relative to PVM */
sched-timeslice = <2000>; /* in ms */
};