]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Tue, 27 Feb 2018 16:33:20 +0000 (11:33 -0500)
commitb5370aaeed76dd04a9169c2d96d294185567502c
tree93469bb7622a88bd2de682d6a20f13485a507e35
parent52f99447ebb3ea301b1d7f01d406ed4de536590a
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: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 45e2061147c329fc08f81a7e2a551b92bcc2a6a3)

CVE-2017-5753
CVE-2017-5715
CVE-2017-5754

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@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