Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist

QCOM KRYO2XX gold (big) silver (LITTLE) CPU cores are based on
Cortex-A73 and Cortex-A53 respectively and are meltdown safe,
hence add them to kpti_safe_list[].

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20201104232218.198800-3-konrad.dybcio@somainline.org
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Konrad Dybcio and committed by
Will Deacon
e3dd11a9 77473cff

+2
+2
arch/arm64/kernel/cpufeature.c
··· 1337 1337 MIDR_ALL_VERSIONS(MIDR_CORTEX_A73), 1338 1338 MIDR_ALL_VERSIONS(MIDR_HISI_TSV110), 1339 1339 MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL), 1340 + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_GOLD), 1341 + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER), 1340 1342 MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER), 1341 1343 MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER), 1342 1344 { /* sentinel */ }