]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3169b8cc1a922e38cef12c058bd0eb8d8fdafa21
tree9cfb945f9b554eba767ec62bd61d901beb596f0f
parent836685ccc1bf7a6c32d239454a5276679bef218a
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