Thread (16 messages) 16 messages, 2 authors, 2018-05-29
STALE2935d REVIEWED: 6 (6M)

[PATCH v4 13/15] ARM: spectre-v2: KVM: invalidate icache on guest exit for Brahma B15

From: Russell King <hidden>
Date: 2018-05-29 09:10:04
Also in: kvmarm
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Include Brahma B15 in the Spectre v2 KVM workarounds.

Signed-off-by: Russell King <redacted>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Boot-tested-by: Tony Lindgren [off-list ref]
Reviewed-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/include/asm/kvm_mmu.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/kvm_mmu.h b/arch/arm/include/asm/kvm_mmu.h
index 48edb1f4ced4..fea770f78144 100644
--- a/arch/arm/include/asm/kvm_mmu.h
+++ b/arch/arm/include/asm/kvm_mmu.h
@@ -306,6 +306,7 @@ static inline void *kvm_get_hyp_vector(void)
 		return kvm_ksym_ref(__kvm_hyp_vector_bp_inv);
 	}
 
+	case ARM_CPU_PART_BRAHMA_B15:
 	case ARM_CPU_PART_CORTEX_A15:
 	{
 		extern char __kvm_hyp_vector_ic_inv[];
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help