arm64: kpti: Add KRYO{3,4}XX silver CPU cores to kpti safelist
Subsystems (2)
PATCH 1/1 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]>
--- arch/arm64/kernel/cpufeature.c | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/kernel/cpufeature.c +2 -0
@@ -1290,6 +1290,8 @@ 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_QCOM_KRYO_3XX_SILVER ), + MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER), { /* sentinel */ } };char const *str ="kpti command line option" ;
base-commit: cfafde3c949cae39483639c03c5da5fd91bb234e
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Hi,
Quoted 8 lines · Sai Prakash Ranjan
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]>--- arch/arm64/kernel/cpufeature.c | 2 ++ 1 file changed, 2 insertions(+)
Reported-by Douglas Anderson <[email protected]>
Reviewed-by Douglas Anderson <[email protected]>
Tested-by Douglas Anderson <[email protected]>
Re: [PATCH] arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist
In reply to Sai Prakash RanjanQuoted 2 lines · Sai Prakash Ranjan
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[].
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist
https://git.kernel.org/arm64/c/f4617be35b4b
Cheers,
Signature · 5 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev