From: "Clément Léger" <cleger@rivosinc.com>
To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Cc: "Clément Léger" <cleger@rivosinc.com>,
"Palmer Dabbelt" <palmer@rivosinc.com>,
"Paul Walmsley" <paul.walmsley@sifive.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Jonathan Corbet" <corbet@lwn.net>,
"Andrew Jones" <ajones@ventanamicro.com>,
"Evan Green" <evan@rivosinc.com>,
"Conor Dooley" <conor@kernel.org>,
"Samuel Ortiz" <sameo@rivosinc.com>
Subject: [PATCH v3 05/20] dt-bindings: riscv: add scalar crypto ISA extensions description
Date: Tue, 7 Nov 2023 11:55:41 +0100 [thread overview]
Message-ID: <20231107105556.517187-6-cleger@rivosinc.com> (raw)
In-Reply-To: <20231107105556.517187-1-cleger@rivosinc.com>
Add description for scalar crypto ISA extensions which can now be
reported through hwprobe for userspace usage. These extensions are the
following:
- Zbkb
- Zbkc
- Zbkx
- Zknd
- Zkne
- Zknh
- Zkr
- Zksed
- Zksh
- Zkt
Signed-off-by: Clément Léger <cleger@rivosinc.com>
---
.../devicetree/bindings/riscv/extensions.yaml | 77 +++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml
index c91ab0e46648..a89363ad653a 100644
--- a/Documentation/devicetree/bindings/riscv/extensions.yaml
+++ b/Documentation/devicetree/bindings/riscv/extensions.yaml
@@ -190,12 +190,89 @@ properties:
multiplication as ratified at commit 6d33919 ("Merge pull request
#158 from hirooih/clmul-fix-loop-end-condition") of riscv-bitmanip.
+ - const: zbkb
+ description:
+ The standard Zbkb bitmanip instructions for cryptography as ratified
+ in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zbkc
+ description:
+ The standard Zbkc carry-less multiply instructions as ratified
+ in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zbkx
+ description:
+ The standard Zbkx crossbar permutation instructions as ratified
+ in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
- const: zbs
description: |
The standard Zbs bit-manipulation extension for single-bit
instructions as ratified at commit 6d33919 ("Merge pull request #158
from hirooih/clmul-fix-loop-end-condition") of riscv-bitmanip.
+ - const: zk
+ description:
+ The standard Zk Standard Scalar cryptography extension as ratified
+ in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zkn
+ description:
+ The standard Zkn NIST algorithm suite extensions as ratified in
+ version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zknd
+ description: |
+ The standard Zknd for NIST suite: AES decryption instructions as
+ ratified in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zkne
+ description: |
+ The standard Zkne for NIST suite: AES encryption instructions as
+ ratified in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zknh
+ description: |
+ The standard Zknh for NIST suite: hash function instructions as
+ ratified in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zkr
+ description:
+ The standard Zkr entropy source extension as ratified in version
+ 1.0 of RISC-V Cryptography Extensions Volume I specification.
+
+ - const: zks
+ description:
+ The standard Zks ShangMi algorithm suite extensions as ratified in
+ version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
+ - const: zksed
+ description: |
+ The standard Zksed for ShangMi suite: SM4 block cipher instructions
+ as ratified in version 1.0 of RISC-V Cryptography Extensions
+ Volume I specification.
+
+ - const: zksh
+ description: |
+ The standard Zksh for ShangMi suite: SM3 hash function instructions
+ as ratified in version 1.0 of RISC-V Cryptography Extensions
+ Volume I specification.
+
+ - const: zkt
+ description:
+ The standard Zkt for data independent execution latency as ratified
+ in version 1.0 of RISC-V Cryptography Extensions Volume I
+ specification.
+
- const: zicbom
description:
The standard Zicbom extension for base cache management operations as
--
2.42.0
next prev parent reply other threads:[~2023-11-07 10:56 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-07 10:55 [PATCH v3 00/20] riscv: report more ISA extensions through hwprobe Clément Léger
2023-11-07 10:55 ` [PATCH v3 01/20] riscv: hwprobe: factorize hwprobe ISA extension reporting Clément Léger
2023-11-07 10:55 ` [PATCH v3 02/20] riscv: hwprobe: export missing Zbc ISA extension Clément Léger
2023-11-07 10:55 ` [PATCH v3 03/20] riscv: add ISA extension parsing for scalar crypto Clément Léger
2023-11-08 15:17 ` Conor Dooley
2023-11-08 17:24 ` Evan Green
2023-11-07 10:55 ` [PATCH v3 04/20] riscv: hwprobe: add support for scalar crypto ISA extensions Clément Léger
2023-11-07 10:55 ` Clément Léger [this message]
2023-11-08 14:57 ` [PATCH v3 05/20] dt-bindings: riscv: add scalar crypto ISA extensions description Conor Dooley
2023-11-08 15:11 ` Clément Léger
2023-11-07 10:55 ` [PATCH v3 06/20] riscv: add ISA extension parsing for vector crypto Clément Léger
2023-11-09 2:58 ` Jerry Shih
2023-11-09 7:44 ` Conor Dooley
2023-11-09 7:54 ` Conor Dooley
2023-11-09 9:45 ` Jerry Shih
2023-11-09 10:39 ` Clément Léger
2023-11-07 10:55 ` [PATCH v3 07/20] riscv: hwprobe: export vector crypto ISA extensions Clément Léger
2023-11-07 10:55 ` [PATCH v3 08/20] dt-bindings: riscv: add vector crypto ISA extensions description Clément Léger
2023-11-07 10:55 ` [PATCH v3 09/20] riscv: add ISA extension parsing for Zfh/Zfh[min] Clément Léger
2023-11-07 10:55 ` [PATCH v3 10/20] riscv: hwprobe: export Zfh[min] ISA extensions Clément Léger
2023-11-07 10:55 ` [PATCH v3 11/20] dt-bindings: riscv: add Zfh[min] ISA extensions description Clément Léger
2023-11-07 10:55 ` [PATCH v3 12/20] riscv: add ISA extension parsing for Zihintntl Clément Léger
2023-11-07 10:55 ` [PATCH v3 13/20] riscv: hwprobe: export Zhintntl ISA extension Clément Léger
2023-11-07 10:55 ` [PATCH v3 14/20] dt-bindings: riscv: add Zihintntl ISA extension description Clément Léger
2023-11-07 10:55 ` [PATCH v3 15/20] riscv: add ISA extension parsing for Zvfh[min] Clément Léger
2023-11-07 10:55 ` [PATCH v3 16/20] riscv: hwprobe: export Zvfh[min] ISA extensions Clément Léger
2023-11-07 10:55 ` [PATCH v3 17/20] dt-bindings: riscv: add Zvfh[min] ISA extension description Clément Léger
2023-11-07 10:55 ` [PATCH v3 18/20] riscv: add ISA extension parsing for Zfa Clément Léger
2023-11-07 10:55 ` [PATCH v3 19/20] riscv: hwprobe: export Zfa ISA extension Clément Léger
2023-11-07 10:55 ` [PATCH v3 20/20] dt-bindings: riscv: add Zfa ISA extension description Clément Léger
2023-11-08 14:59 ` Conor Dooley
2023-11-09 10:42 ` Clément Léger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231107105556.517187-6-cleger@rivosinc.com \
--to=cleger@rivosinc.com \
--cc=ajones@ventanamicro.com \
--cc=aou@eecs.berkeley.edu \
--cc=conor@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=evan@rivosinc.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@rivosinc.com \
--cc=paul.walmsley@sifive.com \
--cc=robh+dt@kernel.org \
--cc=sameo@rivosinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®