mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2
@ 2026-10-13 15:05 Shanker Donthineni
  2026-10-13 15:05 ` [PATCH 1/2] arm64: cputype: Add NVIDIA Rigel definitions Shanker Donthineni
  2026-10-13 15:05 ` [PATCH 2/2] arm64: cpufeature: Enable BBML2 for NVIDIA Rigel Shanker Donthineni
  0 siblings, 2 replies; 3+ messages in thread
From: Shanker Donthineni @ 2026-10-13 15:05 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: linux-arm-kernel, linux-kernel, Vikram Sethi, Shanker Donthineni

Add CPU part and MIDR definitions for the NVIDIA Rigel core. Then add
Rigel to the BBML2 no-abort allow-list because it supports BBML2 without
raising TLB conflict aborts during mapping granularity changes.

Shanker Donthineni (2):
  arm64: cputype: Add NVIDIA Rigel definitions
  arm64: cpufeature: Enable BBML2 for NVIDIA Rigel

 arch/arm64/include/asm/cputype.h | 2 ++
 arch/arm64/kernel/cpufeature.c   | 1 +
 2 files changed, 3 insertions(+)

-- 
2.43.0


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

* [PATCH 1/2] arm64: cputype: Add NVIDIA Rigel definitions
  2026-10-13 15:05 [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2 Shanker Donthineni
@ 2026-10-13 15:05 ` Shanker Donthineni
  2026-10-13 15:05 ` [PATCH 2/2] arm64: cpufeature: Enable BBML2 for NVIDIA Rigel Shanker Donthineni
  1 sibling, 0 replies; 3+ messages in thread
From: Shanker Donthineni @ 2026-10-13 15:05 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: linux-arm-kernel, linux-kernel, Vikram Sethi, Shanker Donthineni

Add CPU part and model macro definitions for the NVIDIA Rigel core.

Signed-off-by: Shanker Donthineni <sdonthineni@nvidia.com>
---
 arch/arm64/include/asm/cputype.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h
index 1fa29616e586e..6002d1d5f55f4 100644
--- a/arch/arm64/include/asm/cputype.h
+++ b/arch/arm64/include/asm/cputype.h
@@ -136,6 +136,7 @@
 #define NVIDIA_CPU_PART_DENVER		0x003
 #define NVIDIA_CPU_PART_CARMEL		0x004
 #define NVIDIA_CPU_PART_OLYMPUS		0x010
+#define NVIDIA_CPU_PART_RIGEL		0x011
 
 #define FUJITSU_CPU_PART_A64FX		0x001
 
@@ -234,6 +235,7 @@
 #define MIDR_NVIDIA_DENVER MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_DENVER)
 #define MIDR_NVIDIA_CARMEL MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_CARMEL)
 #define MIDR_NVIDIA_OLYMPUS MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_OLYMPUS)
+#define MIDR_NVIDIA_RIGEL MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_RIGEL)
 #define MIDR_FUJITSU_A64FX MIDR_CPU_MODEL(ARM_CPU_IMP_FUJITSU, FUJITSU_CPU_PART_A64FX)
 #define MIDR_HISI_TSV110 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_TSV110)
 #define MIDR_HISI_HIP09 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_HIP09)
-- 
2.43.0


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

* [PATCH 2/2] arm64: cpufeature: Enable BBML2 for NVIDIA Rigel
  2026-10-13 15:05 [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2 Shanker Donthineni
  2026-10-13 15:05 ` [PATCH 1/2] arm64: cputype: Add NVIDIA Rigel definitions Shanker Donthineni
@ 2026-10-13 15:05 ` Shanker Donthineni
  1 sibling, 0 replies; 3+ messages in thread
From: Shanker Donthineni @ 2026-10-13 15:05 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: linux-arm-kernel, linux-kernel, Vikram Sethi, Shanker Donthineni

The BBML2 no-abort capability is an allow-list of CPUs that support
BBML2 and do not raise TLB conflict aborts for mapping granularity
changes.

Add the NVIDIA Rigel core to that allow-list.

Signed-off-by: Shanker Donthineni <sdonthineni@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 a06dc20c59e47..6333fefc67027 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -2167,6 +2167,7 @@ bool cpu_supports_bbml3(void)
 		MIDR_REV_RANGE(MIDR_NEOVERSE_V3, 0, 2, 0xf),
 		MIDR_REV_RANGE(MIDR_NEOVERSE_V3AE, 0, 2, 0xf),
 		MIDR_ALL_VERSIONS(MIDR_NVIDIA_OLYMPUS),
+		MIDR_ALL_VERSIONS(MIDR_NVIDIA_RIGEL),
 		MIDR_ALL_VERSIONS(MIDR_AMPERE1),
 		MIDR_ALL_VERSIONS(MIDR_AMPERE1A),
 		MIDR_ALL_VERSIONS(MIDR_CORTEX_A520AE),
-- 
2.43.0


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

end of thread, other threads:[~2026-10-13 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 15:05 [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2 Shanker Donthineni
2026-10-13 15:05 ` [PATCH 1/2] arm64: cputype: Add NVIDIA Rigel definitions Shanker Donthineni
2026-10-13 15:05 ` [PATCH 2/2] arm64: cpufeature: Enable BBML2 for NVIDIA Rigel Shanker Donthineni

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®