arm/arm64: KVM: Add smccc accessors to PSCI code
authorMarc Zyngier <marc.zyngier@arm.com>
Sat, 24 Feb 2018 07:38:00 +0000 (15:38 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:46:30 +0000 (18:46 +0800)
commitddabd3b87b391517f9ff6a2f0a5439bccce3728a
tree934aa2abaed7f0218e4d3b20e7172e1eab806159
parented64a478346c72baec2cda297528c9c7007b6c29
arm/arm64: KVM: Add smccc accessors to PSCI code

commit 84684fecd7ea upstream.

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