Commit 918e1946 authored by Rich Wiley's avatar Rich Wiley Committed by Catalin Marinas
Browse files

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: default avatarRich Wiley <rwiley@nvidia.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 218564b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -977,6 +977,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
		MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
		MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
		MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
		MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL),
		{ /* sentinel */ }
	};
	char const *str = "kpti command line option";