linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: kpti: Add NVIDIA's Carmel core to the KPTI whitelist
@ 2019-11-05 18:45 Rich Wiley
  2019-11-06 11:31 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Wiley @ 2019-11-05 18:45 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: catalin.marinas, will.deacon, Rich Wiley

NVIDIA Carmel CPUs don't implement ID_AA64PFR0_EL1.CSV3 but
aren't susceptible to Meltdown, so add Carmel to kpti_safe_list[].

Signed-off-by: Rich Wiley <rwiley@nvidia.com>
---
 arch/arm64/kernel/cpufeature.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 9323bcc..2ec60eb 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -976,6 +976,7 @@ static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
 		MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
 		MIDR_ALL_VERSIONS(MIDR_CORTEX_A73),
 		MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
+		MIDR_ALL_VERSIONS(MIDR_NVIDIA_CARMEL),
 		{ /* sentinel */ }
 	};
 	char const *str = "kpti command line option";
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: kpti: Add NVIDIA's Carmel core to the KPTI whitelist
  2019-11-05 18:45 [PATCH] arm64: kpti: Add NVIDIA's Carmel core to the KPTI whitelist Rich Wiley
@ 2019-11-06 11:31 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2019-11-06 11:31 UTC (permalink / raw)
  To: Rich Wiley; +Cc: will.deacon, linux-arm-kernel

On Tue, Nov 05, 2019 at 10:45:10AM -0800, Rich Wiley wrote:
> NVIDIA Carmel CPUs don't implement ID_AA64PFR0_EL1.CSV3 but
> aren't susceptible to Meltdown, so add Carmel to kpti_safe_list[].
> 
> Signed-off-by: Rich Wiley <rwiley@nvidia.com>

Queued for 5.5. Thanks.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-11-06 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-05 18:45 [PATCH] arm64: kpti: Add NVIDIA's Carmel core to the KPTI whitelist Rich Wiley
2019-11-06 11:31 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).