Skip to content

Commit 0dc14aa

Browse files
ardbiesheuvelRussell King (Oracle)
authored andcommitted
ARM: 9196/1: spectre-bhb: enable for Cortex-A15
The Spectre-BHB mitigations were inadvertently left disabled for Cortex-A15, due to the fact that cpu_v7_bugs_init() is not called in that case. So fix that. Fixes: b9baf5c ("ARM: Spectre-BHB workaround") Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent 3123109 commit 0dc14aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mm/proc-v7-bugs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ void cpu_v7_ca15_ibe(void)
288288
{
289289
if (check_spectre_auxcr(this_cpu_ptr(&spectre_warned), BIT(0)))
290290
cpu_v7_spectre_v2_init();
291+
cpu_v7_spectre_bhb_init();
291292
}
292293

293294
void cpu_v7_bugs_init(void)

0 commit comments

Comments
 (0)