xref: /linux/arch/riscv/Kconfig.vendor (revision cb7e3669c683669d93139184adff68a7d9000536)
1menu "Vendor extensions"
2
3config RISCV_ISA_VENDOR_EXT
4	bool
5
6menu "Andes"
7config RISCV_ISA_VENDOR_EXT_ANDES
8	bool "Andes vendor extension support"
9	select RISCV_ISA_VENDOR_EXT
10	default y
11	help
12	  Say N here if you want to disable all Andes vendor extension
13	  support. This will cause any Andes vendor extensions that are
14	  requested by hardware probing to be ignored.
15
16	  If you don't know what to do here, say Y.
17endmenu
18
19menu "MIPS"
20config RISCV_ISA_VENDOR_EXT_MIPS
21	bool "MIPS vendor extension support"
22	select RISCV_ISA_VENDOR_EXT
23	default y
24	help
25	  Say N here to disable detection of and support for all MIPS vendor
26	  extensions. Without this option enabled, MIPS vendor extensions will
27	  not be detected at boot and their presence not reported to userspace.
28
29	  If you don't know what to do here, say Y.
30endmenu
31
32menu "SiFive"
33config RISCV_ISA_VENDOR_EXT_SIFIVE
34	bool "SiFive vendor extension support"
35	select RISCV_ISA_VENDOR_EXT
36	default y
37	help
38	  Say N here if you want to disable all SiFive vendor extension
39	  support. This will cause any SiFive vendor extensions that are
40	  requested by hardware probing to be ignored.
41
42	  If you don't know what to do here, say Y.
43endmenu
44
45menu "T-Head"
46config RISCV_ISA_VENDOR_EXT_THEAD
47	bool "T-Head vendor extension support"
48	select RISCV_ISA_VENDOR_EXT
49	default y
50	help
51	  Say N here to disable detection of and support for all T-Head vendor
52	  extensions. Without this option enabled, T-Head vendor extensions will
53	  not be detected at boot and their presence not reported to userspace.
54
55	  If you don't know what to do here, say Y.
56
57config RISCV_ISA_XTHEADVECTOR
58	bool "xtheadvector extension support"
59	depends on RISCV_ISA_VENDOR_EXT_THEAD
60	depends on RISCV_ISA_V
61	depends on FPU
62	default y
63	help
64	  Say N here if you want to disable all xtheadvector related procedures
65	  in the kernel. This will disable vector for any T-Head board that
66	  contains xtheadvector rather than the standard vector.
67
68	  If you don't know what to do here, say Y.
69endmenu
70
71endmenu
72