summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/spectre.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-12-03 20:12:24 +0100
committerMarc Zyngier <maz@kernel.org>2020-12-03 20:12:24 +0100
commitf86e54653e67171a7cc0f85e0fe5766deb310e03 (patch)
treeb2be5165cb614be0199c71f703a27b1019481428 /arch/arm64/include/asm/spectre.h
parentMerge branch 'kvm-arm64/misc-5.11' into kvmarm-master/next (diff)
parentKVM: arm64: Advertise ID_AA64PFR0_EL1.CSV3=1 if the CPUs are Meltdown-safe (diff)
downloadlinux-f86e54653e67171a7cc0f85e0fe5766deb310e03.tar.xz
linux-f86e54653e67171a7cc0f85e0fe5766deb310e03.zip
Merge remote-tracking branch 'origin/kvm-arm64/csv3' into kvmarm-master/queue
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/spectre.h')
-rw-r--r--arch/arm64/include/asm/spectre.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/spectre.h b/arch/arm64/include/asm/spectre.h
index 4e6d90a4fbe0..f62ca39da6c5 100644
--- a/arch/arm64/include/asm/spectre.h
+++ b/arch/arm64/include/asm/spectre.h
@@ -91,5 +91,7 @@ bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
void spectre_v4_enable_mitigation(const struct arm64_cpu_capabilities *__unused);
void spectre_v4_enable_task_mitigation(struct task_struct *tsk);
+enum mitigation_state arm64_get_meltdown_state(void);
+
#endif /* __ASSEMBLY__ */
#endif /* __ASM_SPECTRE_H */