]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 16 Oct 2014 15:00:18 +0000 (17:00 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 13 Dec 2014 13:15:27 +0000 (14:15 +0100)
commitf77aebe6b78a3d92ea453206b62d30045112afb8
treeb7576479421357172188c4a2bedf9a80af55de5d
parent23f03f4d1dba82ce4fb4d8d454d0a00bcc510cf5
arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot

When a vcpu calls SYSTEM_OFF or SYSTEM_RESET with PSCI v0.2, the vcpus
should really be turned off for the VM adhering to the suggestions in
the PSCI spec, and it's the sane thing to do.

Also, clarify the behavior and expectations for exits to user space with
the KVM_EXIT_SYSTEM_EVENT case.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Documentation/virtual/kvm/api.txt
arch/arm/kvm/psci.c
arch/arm64/include/asm/kvm_host.h