diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2024-07-23 00:37:01 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-07-23 00:37:01 +0200 |
commit | b9a603da42c816af9eeb8f5084ba815353e9b22b (patch) | |
tree | b8471ab3556377d484603858a3c55545e4f46e6a /arch/riscv/Kconfig | |
parent | RISC-V: run savedefconfig for defconfig (diff) | |
parent | riscv: cpufeature: Extract common elements from extension checking (diff) | |
download | linux-b9a603da42c816af9eeb8f5084ba815353e9b22b.tar.xz linux-b9a603da42c816af9eeb8f5084ba815353e9b22b.zip |
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>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 736457a5898a..45eafb3306e9 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -820,6 +820,8 @@ config RISCV_EFFICIENT_UNALIGNED_ACCESS endchoice +source "arch/riscv/Kconfig.vendor" + endmenu # "Platform type" menu "Kernel features" |