Skip to content

Commit

Permalink
arm64: kpti: Add Phytium FTC3xx/6xx CPU cores to kpti safelist
Browse files Browse the repository at this point in the history
Since Phytium FTC3xx/6xx CPU cores are all meltdown safe, add them to
kpti_safe_list[].

Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
Signed-off-by: Jiakun Shuai <[email protected]>
  • Loading branch information
chenbaozi-ft authored and Avenger-285714 committed May 11, 2024
1 parent 77a2733 commit 079a97f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/kernel/cpufeature.c
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,12 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL),
MIDR_ALL_VERSIONS(MIDR_PHYTIUM_FTC310),
MIDR_ALL_VERSIONS(MIDR_PHYTIUM_FTC660),
MIDR_ALL_VERSIONS(MIDR_PHYTIUM_FTC661),
MIDR_ALL_VERSIONS(MIDR_PHYTIUM_PS17064),
MIDR_ALL_VERSIONS(MIDR_PHYTIUM_FTC663),
MIDR_ALL_VERSIONS(MIDR_PHYTIUM_FTC664),
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_GOLD),
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER),
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
Expand Down

0 comments on commit 079a97f

Please sign in to comment.