1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <asm/cpufeature.h>
4 #include <asm/vendor_extensions.h>
5 #include <asm/vendor_extensions/andes.h>
7 #include <linux/array_size.h>
8 #include <linux/types.h>
10 /* All Andes vendor extensions supported in Linux */
11 static const struct riscv_isa_ext_data riscv_isa_vendor_ext_andes
[] = {
12 __RISCV_ISA_EXT_DATA(xandespmu
, RISCV_ISA_VENDOR_EXT_XANDESPMU
),
15 struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes
= {
16 .ext_data_count
= ARRAY_SIZE(riscv_isa_vendor_ext_andes
),
17 .ext_data
= riscv_isa_vendor_ext_andes
,