arm/arm64: KVM: Add PSCI_VERSION helper
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:09 +0000 (17:56 +0000)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:46:29 +0000 (18:46 +0800)
commited64a478346c72baec2cda297528c9c7007b6c29
tree676923aaae465f04426d97668fdfb36d9e4c0e22
parent278ee79f78157bbf78b72b4a233b75f14c7986df
arm/arm64: KVM: Add PSCI_VERSION helper

commit d0a144f12a7c upstream.

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>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
mv change form virt/kvm/arm/psci.c to arch/arm/kvm/psci.c
arch/arm/kvm/psci.c
include/kvm/arm_psci.h
include/uapi/linux/psci.h