]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: riscv: document vector crypto requirements
authorConor Dooley <conor.dooley@microchip.com>
Wed, 12 Mar 2025 13:11:49 +0000 (13:11 +0000)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 25 Mar 2025 14:19:35 +0000 (14:19 +0000)
commita0d857205756af45abaf63ca15b2640f707d5e73
tree8bd9fdcfeeb9549f929e88d9c971d8a769d3c202
parente9f1d61a5e186092d3b8eaa411bb4a76622bf854
dt-bindings: riscv: document vector crypto requirements

The Unpriv spec states:
| The Zvknhb and Zvbc Vector Crypto Extensions --and accordingly the
| composite extensions Zvkn, Zvknc, Zvkng, and Zvksc-- require a Zve64x
| base, or application ("V") base Vector Extension. All of the other
| Vector Crypto Extensions can be built on any embedded (Zve*) or
| application ("V") base Vector Extension.

Enforce the minimum requirement via schema.

Link: https://github.com/riscv/riscv-isa-manual/blob/main/src/vector-crypto.adoc#extensions-overview
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250312-flask-relay-b36ee622b2c8@spud
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Documentation/devicetree/bindings/riscv/extensions.yaml