]> git.baikalelectronics.ru Git - 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)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Jan 2018 18:47:02 +0000 (18:47 +0000)
commitf4884eaa8f9632cde4a4f949d9f454d72e65b55c
tree46f8276643b885ce4d8792e88c64e966b8773740
parent1c73b8743271aed14a559e94785158c114a70b4f
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