xref: /linux/arch/riscv/kernel/vendor_extensions/andes.c (revision 66e72a01b60ae6950ddbb3585fdc1424d303e14b)
1 // SPDX-License-Identifier: GPL-2.0-only
2 
3 #include <asm/cpufeature.h>
4 #include <asm/vendor_extensions.h>
5 #include <asm/vendor_extensions/andes.h>
6 
7 #include <linux/array_size.h>
8 #include <linux/types.h>
9 
10 /* All Andes vendor extensions supported in Linux */
11 const struct riscv_isa_ext_data riscv_isa_vendor_ext_andes[] = {
12 	__RISCV_ISA_EXT_DATA(xandespmu, RISCV_ISA_VENDOR_EXT_XANDESPMU),
13 };
14 
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,
18 };
19