Skip to contentSkip to conversation

arm64: kpti: Add KRYO{3,4}XX silver CPU cores to kpti safelist

PATCH Applied Sai Prakash Ranjan 3 participants 3 messages Jun 24, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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[].

---
 arch/arm64/kernel/cpufeature.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/kernel/cpufeature.c +2 -0
index 4ae41670c2e6..9f63053a63a9 100644
@@ -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
Reviewed-by Tested-by on v1 1/1
#1 lore raw

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[].

---
 arch/arm64/kernel/cpufeature.c | 2 ++
 1 file changed, 2 insertions(+)
maintainer Applied
#2 lore raw

Re: [PATCH] arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist

In reply to Sai Prakash Ranjan
Quoted 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