mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
riscv: hwprobe: Add SiFive xsfvfnrclipxfqf vendor extension
Add hwprobe for SiFive "xsfvfnrclipxfqf" vendor extension. Signed-off-by: Cyan Yang <cyan.yang@sifive.com> Link: https://lore.kernel.org/r/20250418053239.4351-9-cyan.yang@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This commit is contained in:
parent
659d664f7d
commit
1d91224394
1
arch/riscv/include/uapi/asm/vendor/sifive.h
vendored
1
arch/riscv/include/uapi/asm/vendor/sifive.h
vendored
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
#define RISCV_HWPROBE_VENDOR_EXT_XSFVQMACCDOD (1 << 0)
|
||||
#define RISCV_HWPROBE_VENDOR_EXT_XSFVQMACCQOQ (1 << 1)
|
||||
#define RISCV_HWPROBE_VENDOR_EXT_XSFVFNRCLIPXFQF (1 << 2)
|
||||
|
|
|
|||
|
|
@ -16,5 +16,6 @@ void hwprobe_isa_vendor_ext_sifive_0(struct riscv_hwprobe *pair, const struct cp
|
|||
riscv_isa_vendor_ext_list_sifive.per_hart_isa_bitmap, {
|
||||
VENDOR_EXT_KEY(XSFVQMACCDOD);
|
||||
VENDOR_EXT_KEY(XSFVQMACCQOQ);
|
||||
VENDOR_EXT_KEY(XSFVFNRCLIPXFQF);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user