1*bb4b0f8aSAleksa Paunovic // SPDX-License-Identifier: GPL-2.0-only 2*bb4b0f8aSAleksa Paunovic /* 3*bb4b0f8aSAleksa Paunovic * Copyright (C) 2025 MIPS. 4*bb4b0f8aSAleksa Paunovic */ 5*bb4b0f8aSAleksa Paunovic 6*bb4b0f8aSAleksa Paunovic #include <asm/vendor_extensions.h> 7*bb4b0f8aSAleksa Paunovic #include <asm/vendor_extensions/mips.h> 8*bb4b0f8aSAleksa Paunovic #include <asm/vendor_extensions/mips_hwprobe.h> 9*bb4b0f8aSAleksa Paunovic #include <asm/vendor_extensions/vendor_hwprobe.h> 10*bb4b0f8aSAleksa Paunovic 11*bb4b0f8aSAleksa Paunovic #include <linux/cpumask.h> 12*bb4b0f8aSAleksa Paunovic #include <linux/types.h> 13*bb4b0f8aSAleksa Paunovic 14*bb4b0f8aSAleksa Paunovic #include <uapi/asm/hwprobe.h> 15*bb4b0f8aSAleksa Paunovic #include <uapi/asm/vendor/mips.h> 16*bb4b0f8aSAleksa Paunovic hwprobe_isa_vendor_ext_mips_0(struct riscv_hwprobe * pair,const struct cpumask * cpus)17*bb4b0f8aSAleksa Paunovicvoid hwprobe_isa_vendor_ext_mips_0(struct riscv_hwprobe *pair, 18*bb4b0f8aSAleksa Paunovic const struct cpumask *cpus) 19*bb4b0f8aSAleksa Paunovic { 20*bb4b0f8aSAleksa Paunovic VENDOR_EXTENSION_SUPPORTED(pair, cpus, 21*bb4b0f8aSAleksa Paunovic riscv_isa_vendor_ext_list_mips.per_hart_isa_bitmap, 22*bb4b0f8aSAleksa Paunovic { VENDOR_EXT_KEY(XMIPSEXECTL); }); 23*bb4b0f8aSAleksa Paunovic } 24