]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: Implement PSCI 1.0 support
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:11 +0000 (17:56 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:53:59 +0000 (22:53 +0000)
commit69ef732f00cd43508ca5d76f0f5e6a715f956e28
treedd82a949be536456e2fd07502bf2b3912f232eb4
parenta6b9bd8843d766564927de8b61cdab2e3e41e641
arm/arm64: KVM: Implement PSCI 1.0 support

PSCI 1.0 can be trivially implemented by providing the FEATURES
call on top of PSCI 0.2 and returning 1.0 as the PSCI version.

We happily ignore everything else, as they are either optional or
are clarifications that do not require any additional change.

PSCI 1.0 is now the default until we decide to add a userspace
selection API.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/kvm/arm_psci.h
virt/kvm/arm/psci.c