Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18156618rwd; Tue, 27 Jun 2023 12:29:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7V2113VoNSy93bsxUkWftp82hynJn/ITI3C1XfjTmdiIogmrMlYWspE1GeQuhrhoBnNAA5 X-Received: by 2002:a05:6808:485:b0:3a1:dd4d:54e0 with SMTP id z5-20020a056808048500b003a1dd4d54e0mr6084632oid.30.1687894197131; Tue, 27 Jun 2023 12:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687894197; cv=none; d=google.com; s=arc-20160816; b=rNZtCimR5s8pfg24w9ZZz8y52/sVdn8ZFAKRI6ADaZgUa9l7tkxSLQRwR6shf2bqvf B6ksHnJRGl4KmsWL12+7b+gSrcIm7BqD2kKkGu30O3hgRPF4bj+p3igUQg68aPiWNRba dc22NSuqniAQFsth+osi1ZjPiT47LihlS0mANn249MTQC1BUVm6GpF/0jbEVFyQYkXAH okD6pjeNPyI9vsZbZEr7s47GGKGFhD4ms74dCQHUzL8VcNAUnIQPmXLj5O+DwGJsyadt HGC9nRkjj3P6XK2XjN5RwGZ0pG1mm8inVWBL+QnLtp9b4xhJBRbN1psRzxu49YwSgveN +HsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uwzZUjZSCfj7+frIlsvFzZuiym3U7S7pNMgIXSdtB4Q=; fh=OmQxlj16lsr/2bg1dnLOpN+jyE3QA+uJr9LS5WjF3bY=; b=Wk08Uh6Uhr83yYq4SWPdmghXb/9FlQGZYRz5H4JJ63sw3Tttg4t6EUZzAsr3ZBxTBb b3KZZjAvG4mOLrl5px0z/96xHJzCv2W5dNWYOosjAB6QooIOQhCcBDnsQOtHehUSJ1f8 N1QH2zBsPWMkT0sPDw930hywnXrYEtcLZK4qCb41HXjdFsTLMBOnrKz/blMRv1UQL2X4 eX4nGmBhGVrvJswNNo+ALu2APx9GPtGwNITIeOnx4egoIq5RMYaOYYcxmxmQzxsBi3jw Xd3bS8ro2R4/zFSpSKx3rL4+HNl5lfAjA5yVcJ8ERCeBlTpDAX2I7Ybw7O07RZVxnr8Z R99Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p89b6LX3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a630c53000000b00553c4551a08si7822771pgm.887.2023.06.27.12.29.42; Tue, 27 Jun 2023 12:29:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p89b6LX3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229690AbjF0TS1 (ORCPT + 99 others); Tue, 27 Jun 2023 15:18:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjF0TS0 (ORCPT ); Tue, 27 Jun 2023 15:18:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53EA3E6C for ; Tue, 27 Jun 2023 12:18:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DB8FF6120E for ; Tue, 27 Jun 2023 19:18:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F25C5C433C8; Tue, 27 Jun 2023 19:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687893504; bh=uwzZUjZSCfj7+frIlsvFzZuiym3U7S7pNMgIXSdtB4Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p89b6LX3hLunHjDY3X4M9F1r/ot+U5G1vIelARlufBDGrahv2EeW1K5E8jShoR0AL Eez//ApvuP6lQfl3ln4QNkBjQhNSDVWrwdof9FiWWZvyDQcakaDKVJA+UVcHyjlMXY YMW6xbMP08W82OGPQjLBSh2KQWfQyOIqfSxBig3nipuLY596mkuHKAGwISc2hYjVLA OdnOnfHZa9J1YBGX5z22QUlqdD+zT23S4rAaeaVq+CrmkWCa4r8SXrJfe0Mph63Mqf 2E1BB7jDdM9AHEVw4jm8CHIdFxwaMHSbXyR2hHHRG8tv/IuAhKiagovj0DGDn+WIqA DdlKQQ7zq/mew== Date: Tue, 27 Jun 2023 20:18:18 +0100 From: Conor Dooley To: "Hongren (Zenithal) Zheng" Cc: Evan Green , Samuel Ortiz , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux@rivosinc.com, Conor Dooley , Andrew Jones , Heiko Stuebner , Anup Patel , linux-kernel@vger.kernel.org, Guo Ren , Atish Patra , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Jiatai He Subject: Re: [PATCH 1/3] RISC-V: add Bitmanip/Scalar Crypto parsing from DT Message-ID: <20230627-projector-rockband-cac4bd138338@spud> References: <20230627143747.1599218-1-sameo@rivosinc.com> <20230627143747.1599218-2-sameo@rivosinc.com> <20230627-debating-twelve-da2c1ed60948@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3UzS4ywJFe4Sz/og" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3UzS4ywJFe4Sz/og Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 28, 2023 at 03:03:58AM +0800, Hongren (Zenithal) Zheng wrote: > On Tue, Jun 27, 2023 at 07:48:15PM +0100, Conor Dooley wrote: > > On Tue, Jun 27, 2023 at 11:14:30AM -0700, Evan Green wrote: > > > On Tue, Jun 27, 2023 at 7:38=E2=80=AFAM Samuel Ortiz wrote: > > > > > > > > From: "Hongren (Zenithal) Zheng" > > > > > > > > This patch parses Zb/Zk related string from DT and > >=20 > > %s/This patch// > >=20 > > > > output them in cpuinfo > > > > > > > > One thing worth noting is that if DT provides zk, > > > > all zbkb, zbkc, zbkx and zkn, zkr, zkt would be enabled. > >=20 > > Please explain why this is okay. >=20 > From riscv scalar crypto spec, zk is a shorthand > for zkn, zkr and zkt and zkn also includes zbkb, zbkc > and zbkx. Hmm, seems you misunderstood, sorry about that. What I was looking for is an explanation of this in the commit message. Hope that helps, Conor. --3UzS4ywJFe4Sz/og Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJs1+gAKCRB4tDGHoIJi 0sEhAP4gjuEYPLur3H8NK87xQ6PWeP9nG9Wm91xRu6Yk/PC/VAEA42C+FQ5GUpKv Bf/0pPRGWuoqFLtpo0WEjUWORA7hKAk= =ZW5q -----END PGP SIGNATURE----- --3UzS4ywJFe4Sz/og--