diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-01-06 14:54:12 -0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-08 17:29:06 +0000 |
commit | 31d868c49017140970d3a4ae45ab11d67618011c (patch) | |
tree | 326a723a77d61257a217d432ffe73b9875278ee5 /arch | |
parent | b3c75c9d762b67de278c8847529b1e3a4c143a8e (diff) | |
download | lwn-31d868c49017140970d3a4ae45ab11d67618011c.tar.gz lwn-31d868c49017140970d3a4ae45ab11d67618011c.zip |
arm64: kpti: Add Broadcom Brahma-B53 core to the KPTI whitelist
Broadcom Brahma-B53 CPUs do not implement ID_AA64PFR0_EL1.CSV3 but are
not susceptible to Meltdown, so add all Brahma-B53 part numbers to
kpti_safe_list[].
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/cpufeature.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 04cf64e9f0c9..0427b72c960b 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -975,6 +975,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry, static const struct midr_range kpti_safe_list[] = { MIDR_ALL_VERSIONS(MIDR_CAVIUM_THUNDERX2), MIDR_ALL_VERSIONS(MIDR_BRCM_VULCAN), + MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53), MIDR_ALL_VERSIONS(MIDR_CORTEX_A35), MIDR_ALL_VERSIONS(MIDR_CORTEX_A53), MIDR_ALL_VERSIONS(MIDR_CORTEX_A55), |