mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: kpti: Add KRYO{3,4}XX silver CPU cores to kpti safelist
@ 2020-06-24 12:34 Sai Prakash Ranjan
  2020-06-24 13:54 ` Doug Anderson
  2020-06-24 13:54 ` [PATCH] arm64: kpti: Add KRYO{3, 4}XX " Will Deacon
  0 siblings, 2 replies; 3+ messages in thread
From: Sai Prakash Ranjan @ 2020-06-24 12:34 UTC (permalink / raw)
  To: Will Deacon, Catalin Marinas, Marc Zyngier, Mark Rutland,
	Suzuki K Poulose, Douglas Anderson
  Cc: linux-kernel, linux-arm-kernel, linux-arm-msm, Stephen Boyd,
	Jeffrey Hugo, 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 <saiprakash.ranjan@codeaurora.org>
---
 arch/arm64/kernel/cpufeature.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 4ae41670c2e6..9f63053a63a9 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -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
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-24 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 12:34 [PATCH] arm64: kpti: Add KRYO{3,4}XX silver CPU cores to kpti safelist Sai Prakash Ranjan
2020-06-24 13:54 ` Doug Anderson
2020-06-24 13:54 ` [PATCH] arm64: kpti: Add KRYO{3, 4}XX " Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®