lkml.org 
[lkml]   [2023]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 03/19] riscv: hwprobe: add support for scalar crypto ISA extensions
    On Tue, Oct 17, 2023 at 6:15 AM Clément Léger <cleger@rivosinc.com> wrote:
    >
    > Export the following scalar crypto extensions through hwprobe:
    >
    > - Zbkb
    > - Zbkc
    > - Zbkx
    > - Zknd
    > - Zkne
    > - Zknh
    > - Zksed
    > - Zksh
    > - Zkt
    >
    > Signed-off-by: Clément Léger <cleger@rivosinc.com>
    > ---
    > Documentation/riscv/hwprobe.rst | 30 +++++++++++++++++++++++++++
    > arch/riscv/include/uapi/asm/hwprobe.h | 10 +++++++++
    > arch/riscv/kernel/sys_riscv.c | 10 +++++++++
    > 3 files changed, 50 insertions(+)
    >
    > diff --git a/Documentation/riscv/hwprobe.rst b/Documentation/riscv/hwprobe.rst
    > index a52996b22f75..968895562d42 100644
    > --- a/Documentation/riscv/hwprobe.rst
    > +++ b/Documentation/riscv/hwprobe.rst
    > @@ -77,6 +77,36 @@ The following keys are defined:
    > * :c:macro:`RISCV_HWPROBE_EXT_ZBS`: The Zbs extension is supported, as defined
    > in version 1.0 of the Bit-Manipulation ISA extensions.
    >
    > + * :c:macro:`RISCV_HWPROBE_EXT_ZBC` The Zbc extension is supported, as defined
    > + in version 1.0 of the Scalar Crypto ISA extensions.

    At least in my v1.0.1 version of the crypto scalar spec, I don't see
    Zbc. That seems to be defined in the bit manipulation extensions.

    \
     
     \ /
      Last update: 2023-10-18 19:27    [W:2.600 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site