Skip to content

Commit d9669e3

Browse files
cyanyang-sifivepalmer-dabbelt
authored andcommitted
riscv: hwprobe: Add SiFive xsfvfwmaccqqq vendor extension
Add hwprobe for SiFive "xsfvfwmaccqqq" vendor extension. Signed-off-by: Cyan Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent a3ca43d commit d9669e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/riscv/include/uapi/asm/vendor/sifive.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
#define RISCV_HWPROBE_VENDOR_EXT_XSFVQMACCDOD (1 << 0)
44
#define RISCV_HWPROBE_VENDOR_EXT_XSFVQMACCQOQ (1 << 1)
55
#define RISCV_HWPROBE_VENDOR_EXT_XSFVFNRCLIPXFQF (1 << 2)
6+
#define RISCV_HWPROBE_VENDOR_EXT_XSFVFWMACCQQQ (1 << 3)

arch/riscv/kernel/vendor_extensions/sifive_hwprobe.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ void hwprobe_isa_vendor_ext_sifive_0(struct riscv_hwprobe *pair, const struct cp
1717
VENDOR_EXT_KEY(XSFVQMACCDOD);
1818
VENDOR_EXT_KEY(XSFVQMACCQOQ);
1919
VENDOR_EXT_KEY(XSFVFNRCLIPXFQF);
20+
VENDOR_EXT_KEY(XSFVFWMACCQQQ);
2021
});
2122
}

0 commit comments

Comments
 (0)