]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6b9bd8843d766564927de8b61cdab2e3e41e641
treea754b4eba1270368806b7e94cbf3b19cba028eec
parent3169b8cc1a922e38cef12c058bd0eb8d8fdafa21
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