arm/arm64: KVM: Advertise SMCCC v1.1
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:12 +0000 (17:56 +0000)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:46:31 +0000 (18:46 +0800)
commit0dceaf03c13fbb8da3bb34d67b7e02ab975f4064
treedc8b30d6b8f2ca46054fde6abb6586551a9048d4
parent2af3cba2f54784644502dbcfe430843a18238166
arm/arm64: KVM: Advertise SMCCC v1.1

commit 09e6be12effd upstream.

The new SMC Calling Convention (v1.1) allows for a reduced overhead
when calling into the firmware, and provides a new feature discovery
mechanism.

Make it visible to KVM guests.

Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@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/handle_exit.c
arch/arm/kvm/psci.c
arch/arm64/kvm/handle_exit.c
include/kvm/arm_psci.h
include/linux/arm-smccc.h