]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm/arm64: KVM: Advertise SMCCC v1.1
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:12 +0000 (17:56 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:50 +0000 (08:15 -0600)
commit7b5b30e9985e6ea62aeee707a9e0feb87da3abe8
treea5350db4fd3bae6565a1e2026c3189ee5369ffec
parent8d185513e8adab572fdc5396b2f70f7d039b6f73
arm/arm64: KVM: Advertise SMCCC v1.1

BugLink: http://bugs.launchpad.net/bugs/1751064
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm/kvm/handle_exit.c
arch/arm64/kvm/handle_exit.c
include/kvm/arm_psci.h
include/linux/arm-smccc.h
virt/kvm/arm/psci.c