mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
Add support for MIPS vendor extensions. Add support for the xmipsexectl vendor extension. Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20250724-p8700-pause-v5-2-a6cbbe1c3412@htecgroup.com [pjw@kernel.org: added the MIPS vendor ID from another patch to fix the build] Signed-off-by: Paul Walmsley <pjw@kernel.org>
72 lines
2.0 KiB
Plaintext
72 lines
2.0 KiB
Plaintext
menu "Vendor extensions"
|
|
|
|
config RISCV_ISA_VENDOR_EXT
|
|
bool
|
|
|
|
menu "Andes"
|
|
config RISCV_ISA_VENDOR_EXT_ANDES
|
|
bool "Andes vendor extension support"
|
|
select RISCV_ISA_VENDOR_EXT
|
|
default y
|
|
help
|
|
Say N here if you want to disable all Andes vendor extension
|
|
support. This will cause any Andes vendor extensions that are
|
|
requested by hardware probing to be ignored.
|
|
|
|
If you don't know what to do here, say Y.
|
|
endmenu
|
|
|
|
menu "MIPS"
|
|
config RISCV_ISA_VENDOR_EXT_MIPS
|
|
bool "MIPS vendor extension support"
|
|
select RISCV_ISA_VENDOR_EXT
|
|
default y
|
|
help
|
|
Say N here to disable detection of and support for all MIPS vendor
|
|
extensions. Without this option enabled, MIPS vendor extensions will
|
|
not be detected at boot and their presence not reported to userspace.
|
|
|
|
If you don't know what to do here, say Y.
|
|
endmenu
|
|
|
|
menu "SiFive"
|
|
config RISCV_ISA_VENDOR_EXT_SIFIVE
|
|
bool "SiFive vendor extension support"
|
|
select RISCV_ISA_VENDOR_EXT
|
|
default y
|
|
help
|
|
Say N here if you want to disable all SiFive vendor extension
|
|
support. This will cause any SiFive vendor extensions that are
|
|
requested by hardware probing to be ignored.
|
|
|
|
If you don't know what to do here, say Y.
|
|
endmenu
|
|
|
|
menu "T-Head"
|
|
config RISCV_ISA_VENDOR_EXT_THEAD
|
|
bool "T-Head vendor extension support"
|
|
select RISCV_ISA_VENDOR_EXT
|
|
default y
|
|
help
|
|
Say N here to disable detection of and support for all T-Head vendor
|
|
extensions. Without this option enabled, T-Head vendor extensions will
|
|
not be detected at boot and their presence not reported to userspace.
|
|
|
|
If you don't know what to do here, say Y.
|
|
|
|
config RISCV_ISA_XTHEADVECTOR
|
|
bool "xtheadvector extension support"
|
|
depends on RISCV_ISA_VENDOR_EXT_THEAD
|
|
depends on RISCV_ISA_V
|
|
depends on FPU
|
|
default y
|
|
help
|
|
Say N here if you want to disable all xtheadvector related procedures
|
|
in the kernel. This will disable vector for any T-Head board that
|
|
contains xtheadvector rather than the standard vector.
|
|
|
|
If you don't know what to do here, say Y.
|
|
endmenu
|
|
|
|
endmenu
|