Skip to content
Commit aa63daf8 authored by Will Deacon's avatar Will Deacon Committed by James Morse
Browse files

KVM: arm64: Move BP hardening helpers into spectre.h



commit 6279017e upstream.

The BP hardening helpers are an integral part of the Spectre-v2
mitigation, so move them into asm/spectre.h and inline the
arm64_get_bp_hardening_data() function at the same time.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20201113113847.21619-6-will@kernel.org


Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent e8aeea9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment