]> www.infradead.org Git - nvme.git/commit
riscv: Introduce vendor variants of extension helpers
authorCharlie Jenkins <charlie@rivosinc.com>
Fri, 19 Jul 2024 16:15:20 +0000 (09:15 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 22 Jul 2024 22:36:56 +0000 (15:36 -0700)
commit0f2425411101128a38ad0166268975ca11fbcaeb
treeba7bd62e3337ed408d52e0e0f09b864937fcace2
parent9448d9accdd8f1483df6fe6692e3c50cfe507d7a
riscv: Introduce vendor variants of extension helpers

Vendor extensions are maintained in per-vendor structs (separate from
standard extensions which live in riscv_isa). Create vendor variants for
the existing extension helpers to interface with the riscv_isa_vendor
bitmaps.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andy Chiu <andy.chiu@sifive.com>
Link: https://lore.kernel.org/r/20240719-support_vendor_extensions-v3-3-0af7587bbec0@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/vendor_extensions.h
drivers/perf/riscv_pmu_sbi.c