arm/arm64: KVM: Add smccc accessors to PSCI code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:10 +0000 (17:56 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:53:57 +0000 (22:53 +0000)
commit84684fecd7ea381824a96634a027b7719587fb77
treea754b4eba1270368806b7e94cbf3b19cba028eec
parentd0a144f12a7ca8368933eae6583c096c363ec506
arm/arm64: KVM: Add smccc accessors to PSCI code

Instead of open coding the accesses to the various registers,
let's add explicit SMCCC accessors.

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>
virt/kvm/arm/psci.c