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)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Jan 2018 18:47:02 +0000 (18:47 +0000)
commit90348689d500410ca7a55624c667f956771dce7f
tree46f8276643b885ce4d8792e88c64e966b8773740
parent6840bdd73d07216ab4bc46f5a8768c37ea519038
arm64: KVM: Make PSCI_VERSION a fast path

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