[PATCH 2/2] fixup! arm64: kvm: allows kvm cpu hotplug

James Morse james.morse at arm.com
Tue Oct 20 09:22:04 PDT 2015


On 20/10/15 08:58, AKASHI Takahiro wrote:
> Without this patch, kvm cannot start a guest when cpuidle is enabled
> if the hardware does not retain cpu state (EL2) in idle state.
> 
> This patch re-initailizes EL2 state at CPU_PM_EXIT by calling
> kvm_arch_hardware_enable() if and only if kvm has been initialized
> before CPU_PM_ENTER, that is, if any vcpus have been created.
> 
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>

This solves my issue with the v5 version here [0].
Tested-By: James Morse <james.morse at arm.com>


Thanks!

James

[0] https://lists.linaro.org/pipermail/linaro-kernel/2015-May/021575.html



More information about the kexec mailing list