]> www.infradead.org Git - nvme.git/commit
Merge patch series "riscv: Separate vendor extensions from standard extensions"
authorPalmer Dabbelt <palmer@rivosinc.com>
Mon, 22 Jul 2024 22:37:01 +0000 (15:37 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 22 Jul 2024 22:37:01 +0000 (15:37 -0700)
commitb9a603da42c816af9eeb8f5084ba815353e9b22b
treeb8471ab3556377d484603858a3c55545e4f46e6a
parent82b461680651ac452fa773f271000ddbc4e4db14
parentd4c8d79f5199055da38f880f782a3e62c599ff5d
Merge patch series "riscv: Separate vendor extensions from standard extensions"

Charlie Jenkins <charlie@rivosinc.com> says:

All extensions, both standard and vendor, live in one struct
"riscv_isa_ext". There is currently one vendor extension, xandespmu, but
it is likely that more vendor extensions will be added to the kernel in
the future. As more vendor extensions (and standard extensions) are
added, riscv_isa_ext will become more bloated with a mix of vendor and
standard extensions.

This also allows each vendor to be conditionally enabled through
Kconfig.

* b4-shazam-merge:
  riscv: cpufeature: Extract common elements from extension checking
  riscv: Introduce vendor variants of extension helpers
  riscv: Add vendor extensions to /proc/cpuinfo
  riscv: Extend cpufeature.c to detect vendor extensions

Link: https://lore.kernel.org/r/20240719-support_vendor_extensions-v3-0-0af7587bbec0@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/kernel/Makefile
drivers/perf/riscv_pmu_sbi.c