Skip to content

Commit 7fa00fd

Browse files
charlie-rivospalmer-dabbelt
authored andcommitted
riscv: hwprobe: Document thead vendor extensions and xtheadvector extension
Document support for thead vendor extensions using the key RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0 and xtheadvector extension using the key RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR. Signed-off-by: Charlie Jenkins <[email protected]> Reviewed-by: Evan Green <[email protected]> Tested-by: Yangyu Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent a5ea53d commit 7fa00fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/arch/riscv/hwprobe.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,3 +293,13 @@ The following keys are defined:
293293

294294
* :c:macro:`RISCV_HWPROBE_MISALIGNED_VECTOR_UNSUPPORTED`: Misaligned vector accesses are
295295
not supported at all and will generate a misaligned address fault.
296+
297+
* :c:macro:`RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0`: A bitmask containing the
298+
thead vendor extensions that are compatible with the
299+
:c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior.
300+
301+
* T-HEAD
302+
303+
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR`: The xtheadvector vendor
304+
extension is supported in the T-Head ISA extensions spec starting from
305+
commit a18c801634 ("Add T-Head VECTOR vendor extension. ").

0 commit comments

Comments
 (0)