[PATCH 2/2] ARM: Invalidate BTB on fatal signal for Brahma-B15
Florian Fainelli
f.fainelli at gmail.com
Sat Jan 6 10:49:17 PST 2018
Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
arch/arm/mm/fault.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
index 1a1c2638f528..fd840a7483aa 100644
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -188,6 +188,7 @@ __do_user_fault(struct task_struct *tsk, unsigned long addr,
case ARM_CPU_PART_CORTEX_A12:
case ARM_CPU_PART_CORTEX_A15:
case ARM_CPU_PART_CORTEX_A17:
+ case ARM_CPU_PART_BRAHMA_B15:
write_sysreg(0, BPIALL);
break;
}
--
2.14.1
More information about the linux-arm-kernel
mailing list