* [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
2026-10-15 18:12 ` [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2 Catalin Marinas
2 siblings, 0 replies; 4+ 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] 4+ 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
2026-10-15 18:12 ` [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2 Catalin Marinas
2 siblings, 0 replies; 4+ 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] 4+ messages in thread
* Re: [PATCH 0/2] arm64: Add NVIDIA Rigel CPU definitions and BBML2
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
@ 2026-10-15 18:12 ` Catalin Marinas
2 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2026-10-15 18:12 UTC (permalink / raw)
To: Will Deacon, Shanker Donthineni
Cc: linux-arm-kernel, linux-kernel, Vikram Sethi
On Tue, 13 Oct 2026 10:05:05 -0500, Shanker Donthineni wrote:
> 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
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/2] arm64: cputype: Add NVIDIA Rigel definitions
https://git.kernel.org/arm64/c/cd2a6b71f974
[2/2] arm64: cpufeature: Enable BBML2 for NVIDIA Rigel
https://git.kernel.org/arm64/c/6be42f0e4dc1
^ permalink raw reply [flat|nested] 4+ messages in thread