Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae0e1190 authored by Prateek Sood's avatar Prateek Sood Committed by Gerrit - the friendly Code Review server
Browse files

arm64: Add MIDR for KRYO5s in kpti_safe_list



KRYO5S cpus are not affected by meltdown issue. But sysfs entry
/sys/devices/system/cpu/vulnerabilities/meltdown shows it as
vulnerable. Fix this by adding MIDR_KRYO5S to kpti_safe_list.

Change-Id: Id4da784d12b94297b97ce3aeb42e2fe0711367e7
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent 94905802
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -905,6 +905,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
		MIDR_ALL_VERSIONS(MIDR_CORTEX_A57),
		MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
		MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
		MIDR_ALL_VERSIONS(MIDR_KRYO5S),
		MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
		{ /* sentinel */ }
	};