Skip to content

Commit e3dd11a

Browse files
Konrad Dybciowilldeacon
authored andcommitted
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>
1 parent 77473cf commit e3dd11a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/kernel/cpufeature.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,6 +1337,8 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
13371337
MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
13381338
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
13391339
MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL),
1340+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_GOLD),
1341+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER),
13401342
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
13411343
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
13421344
{ /* sentinel */ }

0 commit comments

Comments
 (0)