arm/arm64: KVM: Add PSCI_VERSION helper
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:09 +0000 (17:56 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:53:56 +0000 (22:53 +0000)
commitd0a144f12a7ca8368933eae6583c096c363ec506
tree9cfb945f9b554eba767ec62bd61d901beb596f0f
parent1a2fb94e6a771ff94f4afa22497a4695187b820c
arm/arm64: KVM: Add PSCI_VERSION helper

As we're about to trigger a PSCI version explosion, it doesn't
hurt to introduce a PSCI_VERSION helper that is going to be
used everywhere.

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
include/uapi/linux/psci.h
virt/kvm/arm/psci.c