]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:22:55 +0000 (20:22 +0100)
commitce15f32d48840bbaf49bf5b9ba540befb59548cb
treef4f787ade466d98b6bc2069ffbf3be8ac3c1ebb2
parent4efa1a863a1218d4b884a67178735950aab85c2e
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: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
virt/kvm/arm/psci.c