Skip to content

Commit e059770

Browse files
ffainelliwilldeacon
authored andcommitted
arm64: Brahma-B53 is SSB and spectre v2 safe
Add the Brahma-B53 CPU (all versions) to the whitelists of CPUs for the SSB and spectre v2 mitigations. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent bfc97f9 commit e059770

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/kernel/cpu_errata.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ static const struct midr_range arm64_ssb_cpus[] = {
489489
MIDR_ALL_VERSIONS(MIDR_CORTEX_A35),
490490
MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
491491
MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
492+
MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
492493
{},
493494
};
494495

@@ -573,6 +574,7 @@ static const struct midr_range spectre_v2_safe_list[] = {
573574
MIDR_ALL_VERSIONS(MIDR_CORTEX_A35),
574575
MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
575576
MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
577+
MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
576578
{ /* sentinel */ }
577579
};
578580

0 commit comments

Comments
 (0)