Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8618752rwb; Thu, 24 Nov 2022 01:55:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf6BrARTMyNpFKZ7h0sSw16cX1jX3vb9HADk4GlPupztXcHWpAtme5AqMvfc0JImB3xtrRA+ X-Received: by 2002:a17:90b:3802:b0:213:48b2:123d with SMTP id mq2-20020a17090b380200b0021348b2123dmr39939319pjb.200.1669283711456; Thu, 24 Nov 2022 01:55:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669283711; cv=none; d=google.com; s=arc-20160816; b=Od013ZxS4mILfOG7diVCj5jRFh/VoPM2o3O7N1JYsav3Xp9cQNepz+Q2eroJtOa27O QInbpaD2RTpa+2Ncz2318Pr5Rn1/jeVzXxUHIUMvmj0a27vwf+Rx+mTyZF4oiR7XxW/J Hot1K/QIFme4piCuMNAxXpojhyhDJezYgb3M4ScKEh0YrDzZzG1DmIA3sT9Tt9bIRLVk 6YfP7/iDjHzqKwDsvilhZvcEcU9cO3+IGx5q3Jn6YRe9sEOmk2ZQRJ/8p7Mx59Q/N9T7 2rq5dbYH+fvCbUAIx7ELg4p/jb+HYy42Ywd9cEFYTcRhKN1mPPKPoohmilRN0cZ0DdC0 TIZw== 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=21RtI83U3AWt3cyeCJ2XmHc2ruDDyw09Go561vbFieg=; b=zs7V9eHe8Qj+YJcczGnogheCz7BVvcMtyoZOkQNz2cBFfN1SsXFvTm1s15nP23HS92 DjQdp7XSnxtSOYlC6AR91wEqDuL3+qgym5Vlt5XE9V1I5bpUxwn9YaoW/9BQDiqOJTwJ o1iREH+TTm8R7XegXmPYum75yKSuhAyaxWwo1vrsCW/FKRgYH0mWzm2Gn+5SG9+POqve UBYkRNgT7Fa23HnCeDHvPITtOFAp2KYVAV3oF6K+QyTI+9geyo289Owex43zHMhMkD28 LYwxH9KKWn/O4FXqssABmNUuVZCAnVM4N8N5/jOcnU1wUSD92AE5iclEFmC+/sQsXh7L BFww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b="7q/OaKPt"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj3-20020a17090b4f4300b001ed40b70436si911581pjb.155.2022.11.24.01.54.59; Thu, 24 Nov 2022 01:55:11 -0800 (PST) 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=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b="7q/OaKPt"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbiKXJTY (ORCPT + 87 others); Thu, 24 Nov 2022 04:19:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbiKXJTX (ORCPT ); Thu, 24 Nov 2022 04:19:23 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C4A10FED4 for ; Thu, 24 Nov 2022 01:19:22 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id a11-20020a05600c2d4b00b003cf6f5fd9f1so792953wmg.2 for ; Thu, 24 Nov 2022 01:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=21RtI83U3AWt3cyeCJ2XmHc2ruDDyw09Go561vbFieg=; b=7q/OaKPtQ4IeYxQHQaC4aOn7zrvJ3Yr8RQyWvwQwcRu0jouQ1mzKgLwVH1+4CtBlT0 WqqJ97pJd1e6ipFHKwm0vRnNnfYpGlLhc2UVYB6Y3U09PlrX4FMMxevbcWyLBOcWWvdL YPv7ecnuSiy00N+7f+ChYRhSk6+HTph4f7mDMJbWkd6ugWorOzKjS6YqG0JAZHmStWk9 LcfhTIxE312OlgUaD+s8Rvw/FR0tfahl+821ZbxKeb7qg4IZqU93u76IUVMvn9sRUgy/ C7aBU3zL62yibHNI9wYEf0E3JQhpAIlj8kMyT9+IlFD31olty3dqCnVlvD1G4WzsbGzJ Ccgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=21RtI83U3AWt3cyeCJ2XmHc2ruDDyw09Go561vbFieg=; b=7lPwZ1BzKu3vkZ6blhDaY1nfXUBjdnJ8ysYUYsM1P8QjIy4shYZe2viQaT1KczRtuf Vhi232fJQ1o60pD5+qGCbEY2bxMjlvVnC6f9vd2sY9+Wbd5+frLQUX15Cx+63z6oA56y QeIqkISzxeyMlTzCmUkANmIVw3hYOuOuR82f+IlL077Y8fAsLTTKsSO7Kp6ketsp7ZXJ LOIUEoev3eRoAhWg2LYSca9RRKq2wrQVZs7ob3KEtfklhDbDbHG3cUszZ1P0Jq//Ff9P moRIJ7RppVa3oWJ0IX6N5Y9bqbzUObYVbr+jjECLyC5t+kgECKNczP0cZktw8SbJhm0d dgqQ== X-Gm-Message-State: ANoB5pn7T5lBKhgAfGqBdLzv8j4y4dUQKuGe3+cuRr2GXkIrGG/WDNBk 94koGiQq5EEGpHbtFQ8FJkQTlA== X-Received: by 2002:a05:600c:3b04:b0:3cf:6fd8:95a4 with SMTP id m4-20020a05600c3b0400b003cf6fd895a4mr22693692wms.73.1669281560664; Thu, 24 Nov 2022 01:19:20 -0800 (PST) Received: from vermeer ([145.224.92.100]) by smtp.gmail.com with ESMTPSA id b10-20020adfde0a000000b0022e57e66824sm898859wrm.99.2022.11.24.01.19.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 01:19:20 -0800 (PST) Date: Thu, 24 Nov 2022 10:19:16 +0100 From: Samuel Ortiz To: "Hongren (Zenithal) Zheng" Cc: Palmer Dabbelt , Paul Walmsley , Albert Ou , Atish Patra , Anup Patel , Eric Biederman , Kees Cook , linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Michael Kerrisk , linux-man@vger.kernel.org, Jiatai He , Heiko Stuebner , Conor.Dooley@microchip.com Subject: Re: [PATCH v3 1/3] RISC-V: add Bitmanip/Scalar Crypto parsing from DT Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Hi, On Mon, Jun 13, 2022 at 02:46:01AM +0800, Hongren (Zenithal) Zheng wrote: > This patch parses Zb/Zk related string from DT and > 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. > > Note that zk is a valid extension name and the current > DT binding spec allows this. > > This patch also changes the logical id of > existing multi-letter extensions and adds a statement > that instead of logical id compatibility, the order > is needed. > > There currently lacks a mechanism to merge them when > producing cpuinfo. Namely if you provide a riscv,isa > "rv64imafdc_zk_zks", the cpuinfo output would be > "rv64imafdc_zbkb_zbkc_zbkx_zknd_zkne_zknh_zkr_zksed > _zksh_zkt" > > Tested-by: Jiatai He > Signed-off-by: Hongren (Zenithal) Zheng FWIW, after some rebasing: Tested-by: Samuel Ortiz Cheers, Samuel.