]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/kvm/arm_psci.h
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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:49 +0000 (08:15 -0600)
commit8d185513e8adab572fdc5396b2f70f7d039b6f73
treea0335567fd6589aa342a3bf6c49df6080ecf0b97
parent11f4a8e7308bc9cb8f195052fa72ffef72a942eb
arm/arm64: KVM: Implement PSCI 1.0 support

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit 58e0b2239a4d upstream.

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>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
include/kvm/arm_psci.h
virt/kvm/arm/psci.c