CPU validation #339
Replies: 1 comment 3 replies
In sum, yes. This is waht is expected. Bao always fills in VMPIDR_EL2 in order for the number of vCPUs part of the VM. So in a VM you will never have a VM with vcpu id 2, without 1 and 0. To do that you'll need to change the code to pass through the VMPIDR_EL2. But a warning: that will likely break bao's code in other components such as vgic ou psci.
No, but if you give us a good use case for this we can probably add this feature or hopefully you could contribute it (we'll help 😉). Please raise a issue with a feature request and explain your rationale and why this is useful for real-world use cases. |
Uh oh!
There was an error while loading. Please reload this page.
Hi Bao Hypervisor Team,
I'm running a mixed-criticality system on a Toradex Verdin iMX8M Plus (4x Cortex-A53). I have strictly partitioned the physical cores using the cpu_affinity bitmask:
The Issue:
Inside VM 2, cat /proc/cpuinfo still shows processor : 0 and processor : 1.
If I define the CPUs in VM 2's DTS as cpu@2 and cpu@3 to match the physical hardware, Linux panics (Data Abort at kthreadd) because it expects to boot on logical CPU 0. Reverting the DTS to cpu@0 and cpu@1 fixes the boot, but leaves the Guest OS "blind" to its true physical core allocation.
Questions:
All reactions