Re: [PATCH] KVM: arm64: Add big.LITTLE architecture support for vcpu

From: Marc Zyngier
Date: Fri Mar 05 2021 - 07:03:17 EST


On Fri, 05 Mar 2021 10:34:25 +0000,
Yejune Deng <yejune.deng@xxxxxxxxx> wrote:
>
> In big.LITTLE architecture,the application layer calls KVM_ARM_VCPU_INIT
> several times.Sometimes the thread will run on the big core, sometimes
> will run on the little core.The big core and the little core has always
> different cpuid, but the init target is fixed. and that leads to
> init->target != phys_target. So modify phys target from the current core
> to all cpu online.

This is done on purpose, and it is userspace's responsibility to pin
its vcpu threads to a certain type of CPUs if it cares at all.

Thanks,

M.

--
Without deviation from the norm, progress is not possible.