]> Git Repo - linux.git/commit
Merge patch series "riscv: Add support for xtheadvector"
authorPalmer Dabbelt <[email protected]>
Mon, 30 Dec 2024 19:54:12 +0000 (11:54 -0800)
committerPalmer Dabbelt <[email protected]>
Sat, 18 Jan 2025 20:33:43 +0000 (12:33 -0800)
commit2613c15b0cc1c0607d9f2b718d7bc117c40f9230
tree3f9d2b9bc547e215c89c375efae4e6995dcd3516
parent26f2d6de41795a931d1c16950114dbcf55dfbd75
parent4bf97069239bcfca9840936313c7ac35a6e04488
Merge patch series "riscv: Add support for xtheadvector"

Charlie Jenkins <[email protected]> says:

xtheadvector is a custom extension that is based upon riscv vector
version 0.7.1 [1]. All of the vector routines have been modified to
support this alternative vector version based upon whether xtheadvector
was determined to be supported at boot.

vlenb is not supported on the existing xtheadvector hardware, so a
devicetree property thead,vlenb is added to provide the vlenb to Linux.

There is a new hwprobe key RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0 that is
used to request which thead vendor extensions are supported on the
current platform. This allows future vendors to allocate hwprobe keys
for their vendor.

Support for xtheadvector is also added to the vector kselftests.

[1] https://github.com/T-head-Semi/thead-extension-spec/blob/95358cb2cca9489361c61d335e03d3134b14133f/xtheadvector.adoc

* b4-shazam-merge:
  riscv: Add ghostwrite vulnerability
  selftests: riscv: Support xtheadvector in vector tests
  selftests: riscv: Fix vector tests
  riscv: hwprobe: Document thead vendor extensions and xtheadvector extension
  riscv: hwprobe: Add thead vendor extension probing
  riscv: vector: Support xtheadvector save/restore
  riscv: Add xtheadvector instruction definitions
  riscv: csr: Add CSR encodings for CSR_VXRM/CSR_VXSAT
  RISC-V: define the elements of the VCSR vector CSR
  riscv: vector: Use vlenb from DT for thead
  riscv: Add thead and xtheadvector as a vendor extension
  riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree
  dt-bindings: cpus: add a thead vlen register length property
  dt-bindings: riscv: Add xtheadvector ISA extension description

Signed-off-by: Charlie Jenkins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Documentation/devicetree/bindings/riscv/extensions.yaml
arch/riscv/errata/thead/errata.c
arch/riscv/include/asm/csr.h
arch/riscv/kernel/Makefile
arch/riscv/kernel/cpufeature.c
arch/riscv/kernel/sys_hwprobe.c
This page took 0.088486 seconds and 4 git commands to generate.