[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251210-profiles-v1-5-315a6ff2ca5a@gmail.com>
Date: Wed, 10 Dec 2025 08:13:42 -0800
From: Charlie Jenkins <charlie@...osinc.com>
To: Paul Walmsley <pjw@...nel.org>, Palmer Dabbelt <palmer@...belt.com>,
Alexandre Ghiti <alex@...ti.fr>, Anup Patel <anup@...infault.org>,
Atish Patra <atish.patra@...ux.dev>,
Samuel Holland <samuel.holland@...ive.com>,
Björn Töpel <bjorn@...nel.org>,
Luke Nelson <luke.r.nels@...il.com>, Xi Wang <xi.wang@...il.com>,
Eric Biggers <ebiggers@...nel.org>, Conor Dooley <conor@...nel.org>
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Charlie Jenkins <thecharlesjenkins@...il.com>
Subject: [PATCH RFC 05/10] riscv: kconfig: Add zve32x
Add zve32x since has_vector() checks for vector support by looking for
this extension.
Signed-off-by: Charlie Jenkins <thecharlesjenkins@...il.com>
---
arch/riscv/Kconfig.extensions | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/riscv/Kconfig.extensions b/arch/riscv/Kconfig.extensions
index e3ca147765b1..e400fd5574f7 100644
--- a/arch/riscv/Kconfig.extensions
+++ b/arch/riscv/Kconfig.extensions
@@ -347,6 +347,7 @@ config RISCV_ISA_V
depends on TOOLCHAIN_HAS_V
depends on FPU
select DYNAMIC_SIGFRAME
+ select RISCV_ISA_ZVE32X
depends on NONPORTABLE || m
default m
help
@@ -359,6 +360,19 @@ config RISCV_ISA_V
If you don't know what to do here, say m.
+config RISCV_ISA_ZVE32X
+ tristate "zve32x extension support"
+ depends on NONPORTABLE || m
+ default m
+ help
+ zve23x is a subset of the vector extension. Can be enabled for minimal vector support.
+
+ Select "m" for boot-time detection for portability.
+
+ Select "y" for compile-time detection for optimization. Only available with NONPORTABLE.
+
+ If you don't know what to do here, say m.
+
config RISCV_ISA_V_DEFAULT_ENABLE
bool "Enable userspace Vector by default"
depends on RISCV_ISA_V
--
2.43.0
Powered by blists - more mailing lists