]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm/arm64: KVM: Don't clear the VCPU_POWER_OFF flag
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 4 May 2015 01:25:08 +0000 (09:25 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 May 2015 11:07:31 +0000 (07:07 -0400)
commit04329bd399211582b22bccfb1cefc2c716e93a7c
treea55106e9958527a8d9e1d0204dba761a5137382d
parentcd7b8af485eb30fe38322564d2be2570a61d4d2a
arm/arm64: KVM: Don't clear the VCPU_POWER_OFF flag

commit 03f1d4c17edb31b41b14ca3a749ae38d2dd6639d upstream.

If a VCPU was originally started with power off (typically to be brought
up by PSCI in SMP configurations), there is no need to clear the
POWER_OFF flag in the kernel, as this flag is only tested during the
init ioctl itself.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/arm/kvm/arm.c