Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6114639rwr; Mon, 1 May 2023 17:02:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nRbuueNz61U0kkiP5AkhSD700MWQqgdbHMB2SNbUM4Cp8lAzXzJbhPecaauSA3iaQpcZ4 X-Received: by 2002:a05:6a00:c88:b0:63b:1e3b:aa02 with SMTP id a8-20020a056a000c8800b0063b1e3baa02mr22594778pfv.16.1682985730273; Mon, 01 May 2023 17:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682985730; cv=none; d=google.com; s=arc-20160816; b=zwfzrOFysHEtK2UI96LhzaUtfLnn+goPyXmey9BWIBC9iedhdweRGpNLIJd7XuL5dn g+PU+YcENdNTzGCmQNeEtWjG0M2T+OEu0OujlAQ4yQx/yTwA7lst59p696xhOkLxt66G OZ10sGvRbonUZnhQgVA9HSqEM+VpOgXvU+zbVEFay1ewG7ajkZ3LUqsxKrwfa/6uu1XU oUGwHuyIgy9cPrdBvKI5LXLcaTEcuAiJK2DBjkMft+Xc+g8TOLNlbRSxlr2VEvTmYLQQ pCnvKYbNxTrHx2HfwP+3L2vBDwvBBTVoqJfAMxxMqafAjx1TW15D9oqw/hp1SnlpYLEs SkjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=hVPD7LCIYEjnGcS4W60wPpbqQrrQeR8iu5kz2d7F+Uk=; b=fZQZoWurmz5tFKVnkwoShlOjmz1oqjrSli29BnBHjFx+R/9JhYgWtJiU5t/792XoDC kB2l1n9irCRTkyxaf5winkpG02lR2Cr8O1thA0icFMyL8w+zN3/ibK1lyaG3MI5ncjtj lvxHbTjDQDbZO2D1Pv+DARHeNMVrWz2N/f++b4ZC+csdsiEN8cnBluxVagEHyzwMkrz7 q9xYVSsdbHfxEmUWAmFQxffMqJ3Bowt9/c4r4fnkupKe9FnjkvVg67SvBpXRGZuYCJam YmI2Va3tOIq8wWSAwPXLr0xHuKIs7ZTdBu3R3Cmdw+ZMKdPsjPwJVgt5LiD2UhNCC1dF 7g6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=USsZG1TB; 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 71-20020a63004a000000b00528c16e9277si9463902pga.91.2023.05.01.17.01.57; Mon, 01 May 2023 17:02:10 -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=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=USsZG1TB; 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 S230008AbjEBAAT (ORCPT + 99 others); Mon, 1 May 2023 20:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjEBAAR (ORCPT ); Mon, 1 May 2023 20:00:17 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EDF035AE for ; Mon, 1 May 2023 17:00:16 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-63b7b54642cso2273848b3a.0 for ; Mon, 01 May 2023 17:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20221208.gappssmtp.com; s=20221208; t=1682985616; x=1685577616; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=hVPD7LCIYEjnGcS4W60wPpbqQrrQeR8iu5kz2d7F+Uk=; b=USsZG1TBQuABriuIzboKRMi4j9Qabdy7EQK9cWxLH+f2LtYZitY5S8oGQQmcGAq91i XEBdwCjnNVAgAEyNblON5OK2s0h3os8Ph18kGzoiMW7o+Dhm226fDs74UHKPY1+Xti0r DpYHPyWWI55Xn7kfOvH/E1u04CwGffBgXdbbrnwIm6o5aXxN8NJSmy0NVOLcEW68nwb9 9mrK+BXDTF7H+d7Yu1JN+OKPvBGPeGyEkEGXMGAxpEkDv3rvPrYul84INOtt6cWZX00e pxJHBEyfXb34Z4YpB2p0+OWN8yV4DVz/idzFaFv5/I+MkscMfJmGNjY+ypB5PqGMcyK6 aVaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682985616; x=1685577616; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hVPD7LCIYEjnGcS4W60wPpbqQrrQeR8iu5kz2d7F+Uk=; b=jB2CWGy/U+sJbBF+kF2ike5BdulValBzyNi4sSVG90fvRS3+GUVaPfaB5xB09tXmKU foA1/fUJV41oZ3+SB/moeII6IM7LFbnmLO1VfNJhiC147/IYhW6TwXYBaZgVQd7vZENS i/TVrFYdr7cb2HMMngdYFPARZtTQejDiaOVTXLJTl2nC8flBI8sPJ6B4Q1WsDXZYChoO msJwLOWg5mnszvYk9/2czuVPfcBER62NFEXOROg5H7VvYeXfb1nnmZb4XAmspbDcMt4c W5gI+p/b+ykKhJZeJKtPMheZ9L3Z54R00l3N+8PQPA5l/xIwfWbGYz6/CoxwVsH4Snwi Kn/Q== X-Gm-Message-State: AC+VfDxIhZels2U9diezb9v3p6kC/Qjs15OREklTvmKXTDfX4CAZAH1g C627dJAsmHvu7k+B80JxUxKA4Q== X-Received: by 2002:a05:6a00:181e:b0:624:7c9a:c832 with SMTP id y30-20020a056a00181e00b006247c9ac832mr22721656pfa.8.1682985615800; Mon, 01 May 2023 17:00:15 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id f14-20020a056a00238e00b00640f51801e6sm11176010pfc.159.2023.05.01.17.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 17:00:15 -0700 (PDT) Date: Mon, 01 May 2023 17:00:15 -0700 (PDT) X-Google-Original-Date: Mon, 01 May 2023 16:59:12 PDT (-0700) Subject: Re: [PATCH v1] dt-bindings: riscv: explicitly mention assumption of Zicsr & Zifencei support In-Reply-To: <20230427-fence-blurred-c92fb69d4137@wendy> CC: Conor Dooley , Conor Dooley , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Paul Walmsley , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: Conor Dooley Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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, 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 On Thu, 27 Apr 2023 03:43:42 PDT (-0700), Conor Dooley wrote: > The dt-binding was defined before the extraction of csr access and > fence.i into their own extensions, and thus the presence of the I > base extension implies Zicsr and Zifencei. > There's no harm in adding them obviously, but for backwards > compatibility with DTs that existed prior to that extraction, software > is unable to differentiate between "i" and "i_zicsr_zifencei" without > any further information. > > Signed-off-by: Conor Dooley > --- > CC: Conor Dooley > CC: Rob Herring > CC: Krzysztof Kozlowski > CC: Paul Walmsley > CC: Palmer Dabbelt > CC: linux-riscv@lists.infradead.org > CC: devicetree@vger.kernel.org > CC: linux-kernel@vger.kernel.org > --- > Documentation/devicetree/bindings/riscv/cpus.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml > index 4c7ce4a37052..a93bc7eae928 100644 > --- a/Documentation/devicetree/bindings/riscv/cpus.yaml > +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml > @@ -85,6 +85,12 @@ properties: > User-Level ISA document, available from > https://riscv.org/specifications/ > > + Due to revisions of the ISA specification, some deviations > + have arisen over time. > + Notably, riscv,isa was defined prior to the creation of the > + Zicsr and Zifencei extensions and thus "i" implies > + "zicsr_zifencei". also Zihpm and Zicntr. I'm going to put this one on for-next, though. Thanks! > + > While the isa strings in ISA specification are case > insensitive, letters in the riscv,isa string must be all > lowercase to simplify parsing.