]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: Brahma-B53 is SSB and spectre v2 safe
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 31 Oct 2019 21:47:24 +0000 (14:47 -0700)
committerWill Deacon <will@kernel.org>
Fri, 1 Nov 2019 10:47:37 +0000 (10:47 +0000)
Add the Brahma-B53 CPU (all versions) to the whitelists of CPUs for the
SSB and spectre v2 mitigations.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpu_errata.c

index b5eeba7f5d840b1319ee469776e65befd3a86938..a1983c0a872b4a4eb97937b0fc1760e53fc162ca 100644 (file)
@@ -489,6 +489,7 @@ static const struct midr_range arm64_ssb_cpus[] = {
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A35),
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
+       MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
        {},
 };
 
@@ -573,6 +574,7 @@ static const struct midr_range spectre_v2_safe_list[] = {
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A35),
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
+       MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
        { /* sentinel */ }
 };