Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp164785rwp; Wed, 12 Jul 2023 11:14:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlHUPQ6P17R9h509TG9cnUgFxhvFYXFnhpvA8ZZleuM9SJFsQac5ajPBdZhEBkGxptXBRClo X-Received: by 2002:a05:6000:1972:b0:314:36e9:9eda with SMTP id da18-20020a056000197200b0031436e99edamr18037364wrb.51.1689185673129; Wed, 12 Jul 2023 11:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689185673; cv=none; d=google.com; s=arc-20160816; b=wNMV6wX0R+RfeJ/LhXswobUXiWROZXmbn7wCs9z5fWbqjddhYsvl9pHf9nW09HkmCt 6lQ3buWkGTdKqKdvCAZ1da1xmrunLSf7TBbQ6J/E6KHHD1qDRcNwKi14DGQCT7XdVxBu GbzD66SBZ5JPI5i91A2SU/Tis+FKoazRh+vL+2qdgEasFenpTom8pAdOPs2W0H6DKzbL BRz5z2idQ15GwhiVwQDu7OMi2DHJZKM8iWVsqtjRNmbcPJ8Lh7R1gdQt0cqaq6qiyrSe eIex3nMAEuArRWnTCC31dzNSSXC+fw2q7QWhKmXLkvee9UAadzzm7vfITzIwk8hO9wyO /NoQ== 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=Cp1aI+fc+P9DejxRV+rOKeNNAXqjZv56Y8hzH777L+Q=; fh=ttyif5t0g+akswOAjlsy5P7Qxh84s3+oS/WVOSi+0h4=; b=WcVC81MFI5R526LJ0qOSEzO1R99e/C5wzNbouLZVxEuBNx7TqI9gxFEICXDKuedof1 TzdpzRyU6uPUbJyJlIYqA9rWec4tkKdqM1rtwauc+Jf8LGuSjlN1cerzL0aIc0BejsVt hu2PCdrL1u49qPvXIjYJs78hb3uuH8MU+Y6KvkZjbwJNGK2Z2Yr5YgpXmlFnNBn+41bx XPvAaGSFqBPGSEjXSMkUM1rSIw86xv9absWyVzofwGEojQ5xA2zMj9fBBnT170jjxqfr ggfTg/HIsNEkB2gri82dN2f03Sf20kLwLaB9BhvlAnStPiOTcWkA1PLvA+CSx3x48aXe Scrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X2ZIYBSW; 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 i2-20020a170906850200b00992f45c9348si5227765ejx.1010.2023.07.12.11.14.09; Wed, 12 Jul 2023 11:14:33 -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=X2ZIYBSW; 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 S232331AbjGLRvL (ORCPT + 99 others); Wed, 12 Jul 2023 13:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232311AbjGLRvK (ORCPT ); Wed, 12 Jul 2023 13:51:10 -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 44CDB1BC6; Wed, 12 Jul 2023 10:51:09 -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 97BB8618A3; Wed, 12 Jul 2023 17:51:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E858DC433C8; Wed, 12 Jul 2023 17:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689184268; bh=Cp1aI+fc+P9DejxRV+rOKeNNAXqjZv56Y8hzH777L+Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X2ZIYBSWoLBLTyUcJDkxwbMOen1+zJrTeoZFDGz4p/opeqFB17sKE5MZRuDpf9AkS l/HMuBjf9DPow9iS3qAtbDy2HlVCQ1QQ8bYsVsJM1hq7Vxb/0i4Efl4A2rcMXWpD2W IhzG9rmmb+VrHBB2rx90A2jpp2nxKDxAt1xhn2tdndBswHT6Kh8dMlnMm9oRIb0SWI uf+Lei/zvwb1JL5yD+NI99EnUcv9QnqHTh5xp0SKqJQNPtsn+GizlZ0NsLAuJbNB7o NDzTdxJ080QD9lZ+IAiO5vHVieZlD9ZQkTZk34T277rL09EQ0GeABLw3DgJPLMOrpz Jo8uMizkxWHRA== Date: Wed, 12 Jul 2023 18:51:01 +0100 From: Conor Dooley To: Evan Green Cc: Conor Dooley , Samuel Ortiz , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, "Hongren (Zenithal) Zheng" , linux@rivosinc.com, Andrew Jones , Heiko Stuebner , Anup Patel , linux-kernel@vger.kernel.org, Guo Ren , Atish Patra , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , devicetree@vger.kernel.org, sorear@fastmail.com, Jiatai He Subject: Re: [PATCH v4 1/4] RISC-V: Add Bitmanip/Scalar Crypto parsing from DT Message-ID: <20230712-emote-onscreen-c11aa71b00a3@spud> References: <20230712084134.1648008-1-sameo@rivosinc.com> <20230712084134.1648008-2-sameo@rivosinc.com> <20230712-bulldozer-affected-199042dc3afd@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v3mGsgwTVrXCWkzs" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 --v3mGsgwTVrXCWkzs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 12, 2023 at 10:43:33AM -0700, Evan Green wrote: > This looks alright to me. At the risk of getting into bikeshedding I very much do not think that that is bikeshedding FWIW. > territory, the only awkward bit of it is it composes the extensions in > sort of the opposite way you'd expect. I tend to think of Zks as being > comprised of {zbkb, zbkc, zksed, zksh}, rather than zbkb being a part > of {zks, zkn, zk}, though both are of course correct. Here's an > untested version of the other way. You can decide if you like it > better or worse than what you've got, and I'm fine either way. I'm happy to do it this way too, just wanna see how it interacts with the new property stuff. I actually found it confusing to implement the arrays, it just seemed easier to integrate with the new property stuff this way. > Sorry > gmail mangles it, if you want the patch for real I can get it to you: Please, reading the line-wrapped mangling hurts my head unfortunately. Tree or attachment WFM :) Thanks, Conor. --v3mGsgwTVrXCWkzs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZK7oBQAKCRB4tDGHoIJi 0mIFAP92dJfa+U4vPOtK6HIzhgoVC2mg0JyOI8zgfJzRRSzV0gEAieics5MVx9MA WEUAz/SetjYFkBa4tO96h0am7lSlSAc= =jwFk -----END PGP SIGNATURE----- --v3mGsgwTVrXCWkzs--