Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3956224rdg; Wed, 18 Oct 2023 10:28:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEu4Y29KiOSSYzCIcsuzS9Gfj8H6TZU7e42fg4Gx1yOSno8XfsOX8NI2XQ4mGGv6wtppVOR X-Received: by 2002:a17:902:cacc:b0:1ca:2c3b:7747 with SMTP id y12-20020a170902cacc00b001ca2c3b7747mr10932pld.20.1697650114807; Wed, 18 Oct 2023 10:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697650114; cv=none; d=google.com; s=arc-20160816; b=M9UiutsSom+Iq+xAjwrmJ/8NfNj6Da9jANJK+CXRuf7Jb3Xh2WdZUZqA6Jobxy5dhj 3DBGZZ9mBargvc62z45WtSgPcEY1wai/O0aO0OFKlhaYVCePN0tcVrgFHsYmnVjEWkHJ 6E3X0JmeWLgY3non+Oncv7fnvWzBMEfXN/no/9C3lkRXKTczkzQo/BW58LZHxR7hF6bq eDqnKdKbBYL6/R1LLyi92GYo+VXR4Q5HtsqXT3i5Q21DX4zNlRN+wmiZ5wgqkWhEWXRL sfZg9E2ehvYhC3uGHJMrZd8H8Xs7YfAtH1Bq8H1NwkBSdm3P/p+P85dCUKMLHCym/joR +r2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LrEh3D+kI7ficihoTElbPnijf/y0H7CK010e9QE4avk=; fh=H+zLew9COpjImfZW/7m535He/UK/q+/ga4lRW1i3Je0=; b=HeEM6ABM9dCCPqTTuMAXiAECzAmfQlhkhf5zi5s52Z+QO455mgFxo4AvckbZWPlAm8 NYJUO/a7u8VynZdHuZuZrDEBcedXXj1Mq28WJsc+exXA0+q+bHepcf32Qvtjpmi28Ud1 Gtq/qXywZzu5ioGpDKxpLWixeUKk74PlSzlz9DBtxtyZHzpGhp8ZRMJfIUDwIJzsfLum 9UJwVJtcEGfXg2bXeCehVuPin9cRRFdtq4EooUfTOXdDHb+urgfT1mS880mTkyN3p0FE pJ7OR9UJBw+d+H/Hwzqi7uUsJgpvWlcY9Ms8g5wgtdieSKgnrCwiyyGWjSTu5z0ft2zH 7Khw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=prlSQ1zM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p17-20020a170902a41100b001c5da8b630fsi271131plq.421.2023.10.18.10.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 10:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=prlSQ1zM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5E32B804C4AA; Wed, 18 Oct 2023 10:28:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbjJRR2U (ORCPT + 99 others); Wed, 18 Oct 2023 13:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbjJRR2T (ORCPT ); Wed, 18 Oct 2023 13:28:19 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC9F34491 for ; Wed, 18 Oct 2023 10:28:15 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-5079f6efd64so6404691e87.2 for ; Wed, 18 Oct 2023 10:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1697650094; x=1698254894; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LrEh3D+kI7ficihoTElbPnijf/y0H7CK010e9QE4avk=; b=prlSQ1zM5d2qNbRBOIJZ2EcigyeJonZjBFEeHaiJ+wAaIC6dN1zwoz7Tn0QvSrLJup BR6xp3HLh2Urg7Y782m3EMtmr/7AZZ1nqp0zmjuUUrVJvNMfeihRTngx8eA7ZblHZDmR I+mT7F5tykRePFoD/t0pEonYDOfb94leKDocrU3o7yL5nayiLfDCRLVwAsndsQ+M5sex wMmct2LZdSduwJveERuLzBOXe1ybLqYrgtK/llpI4txKoNKt4UtYjyqJzNBbBbO/KlYT okUcLQXFyS3Zn1DB74G4Rd5ahvGVYXfAlm76gKvDDKrb7T4ckQuxP9Fdat0VYg0FIyPH GMgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697650094; x=1698254894; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LrEh3D+kI7ficihoTElbPnijf/y0H7CK010e9QE4avk=; b=JsTL7CngiXHLzBIJp6xfowZhZhoEP1gB6XL9YOZ+GbYXNBtDX446ytquugb5Aa26dw yOeoufQnMnw6XPnGo6Vm1k6XEEWS7Z2uG5lJRmeu2jb+f+55tErdiPnLRcKf19cA4Far AWibzAtz9ElpiAsMTBjblSoCv7iN3HYODEoj++VYBD6SGphAetQVzzVIIz91mtUVN0ww KNCN8lQ4Axz9Sr2e9Mc908Vy1ztxh+Cka70EVrJyUQdv9d/qlXCQtoa8ITHCq02I/3Zu f/vtxrMt5u0l1XNXMir9t11B+V9I1cgtvcUQfNU+/xWUJKDnoE3uhRH6Pxk+hPhgPOre AUqg== X-Gm-Message-State: AOJu0YyhQDs8MF6zD330RvxC8s1kfbujZ6eb5MmeQcT8ZBjJbrwVv7Db lMesZLLZxIgcDGFpX/TikJz/mYrCiI7aBFn72LY+Tg== X-Received: by 2002:a19:2d4c:0:b0:504:7f58:6dfd with SMTP id t12-20020a192d4c000000b005047f586dfdmr4318597lft.2.1697650094002; Wed, 18 Oct 2023 10:28:14 -0700 (PDT) MIME-Version: 1.0 References: <20231017131456.2053396-1-cleger@rivosinc.com> <20231017131456.2053396-7-cleger@rivosinc.com> In-Reply-To: <20231017131456.2053396-7-cleger@rivosinc.com> From: Evan Green Date: Wed, 18 Oct 2023 10:27:38 -0700 Message-ID: Subject: Re: [PATCH v2 06/19] riscv: hwprobe: export vector crypto ISA extensions To: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Albert Ou , Jonathan Corbet , Andrew Jones , Conor Dooley , Samuel Ortiz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 18 Oct 2023 10:28:32 -0700 (PDT) On Tue, Oct 17, 2023 at 6:15=E2=80=AFAM Cl=C3=A9ment L=C3=A9ger wrote: > > Export Zv* vector crypto ISA extensions that were added in "RISC-V > Cryptography Extensions Volume II" specification[1] through hwprobe. > This adds support for the following instructions: > > - Zvbb: Vector Basic Bit-manipulation > - Zvbc: Vector Carryless Multiplication > - Zvkb: Vector Cryptography Bit-manipulation > - Zvkg: Vector GCM/GMAC. > - Zvkned: NIST Suite: Vector AES Block Cipher > - Zvknh[ab]: NIST Suite: Vector SHA-2 Secure Hash > - Zvksed: ShangMi Suite: SM4 Block Cipher > - Zvksh: ShangMi Suite: SM3 Secure Hash > - Zvknc: NIST Algorithm Suite with carryless multiply > - Zvkng: NIST Algorithm Suite with GCM. > - Zvksc: ShangMi Algorithm Suite with carryless multiplication > - Zvksg: ShangMi Algorithm Suite with GCM. > - Zvkt: Vector Data-Independent Execution Latency. > > Zvkn and Zvks are ommited since they are a superset of other extensions. s/ommited/omitted/, other than that: Reviewed-by: Evan Green