Skip to content

Commit f4617be

Browse files
Sai Prakash Ranjanwilldeacon
authored andcommitted
arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist
QCOM KRYO{3,4}XX silver/LITTLE CPU cores are based on Cortex-A55 and are meltdown safe, hence add them to kpti_safe_list[]. Signed-off-by: Sai Prakash Ranjan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 2d21889 commit f4617be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/kernel/cpufeature.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,8 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
12901290
MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
12911291
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
12921292
MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL),
1293+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
1294+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
12931295
{ /* sentinel */ }
12941296
};
12951297
char const *str = "kpti command line option";

0 commit comments

Comments
 (0)