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