Skip to content

Commit 918e194

Browse files
Rich Wileyctmarinas
authored andcommitted
arm64: kpti: Add NVIDIA's Carmel core to the KPTI whitelist
NVIDIA Carmel CPUs don't implement ID_AA64PFR0_EL1.CSV3 but aren't susceptible to Meltdown, so add Carmel to kpti_safe_list[]. Signed-off-by: Rich Wiley <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent 218564b commit 918e194

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/cpufeature.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
977977
MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
978978
MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
979979
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
980+
MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL),
980981
{ /* sentinel */ }
981982
};
982983
char const *str = "kpti command line option";

0 commit comments

Comments
 (0)