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

Marc Zyngier maz at kernel.org
Fri Mar 5 12:02:20 GMT 2021


On Fri, 05 Mar 2021 10:34:25 +0000,
Yejune Deng <yejune.deng at gmail.com> 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.



More information about the linux-arm-kernel mailing list