mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 06:50:37 +00:00

Add SiFive vendor extension support to the kernel with the target of "xsfvqmaccdod" and "xsfvqmaccqoq". Signed-off-by: Cyan Yang <cyan.yang@sifive.com> Link: https://lore.kernel.org/r/20250418053239.4351-3-cyan.yang@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
59 lines
1.6 KiB
Plaintext
59 lines
1.6 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 "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
|