riscv: Add thead and xtheadvector as a vendor extension
authorCharlie Jenkins <charlie@rivosinc.com>
Thu, 14 Nov 2024 02:21:10 +0000 (18:21 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 18 Jan 2025 20:33:28 +0000 (12:33 -0800)
commitcddd63869f9214f2bc5c4b89a8ea1bd0ff4d89c5
treef1526c370272d00cc466c8bee04420419f92f2a3
parentce1daeeba600a79b776864f12d19e799f1eb124f
riscv: Add thead and xtheadvector as a vendor extension

Add support to the kernel for THead vendor extensions with the target of
the new extension xtheadvector.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Yangyu Chen <cyy@cyyself.name>
Link: https://lore.kernel.org/r/20241113-xtheadvector-v11-4-236c22791ef9@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig.vendor
arch/riscv/include/asm/vendor_extensions/thead.h [new file with mode: 0644]
arch/riscv/kernel/cpufeature.c
arch/riscv/kernel/vendor_extensions.c
arch/riscv/kernel/vendor_extensions/Makefile
arch/riscv/kernel/vendor_extensions/thead.c [new file with mode: 0644]