]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
arm64: KVM: Make PSCI_VERSION a fast path
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 3 Jan 2018 16:38:37 +0000 (16:38 +0000)
committerKhalid Elmously <khalid.elmously@canonical.com>
Tue, 27 Feb 2018 16:33:21 +0000 (11:33 -0500)
commit74cf77a290118f6c6a53d62e0e78c95dbc9cc7f4
treea7c33e6c1b210e36ae4a750300dd9a6e3c3b8149
parentb5370aaeed76dd04a9169c2d96d294185567502c
arm64: KVM: Make PSCI_VERSION a fast path

Commit 90348689d500 upstream.

For those CPUs that require PSCI to perform a BP invalidation,
going all the way to the PSCI code for not much is a waste of
precious cycles. Let's terminate that call as early as possible.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 98be7165d9f71f5df9802548b7d8ab2cf6ccb211)

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/arm64/kvm/hyp/switch.c