Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5701804rwr; Mon, 1 May 2023 09:30:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DeBEoBoxuDIbooUAsOv0we6Tt3rF1cpzPxMAr+ryE2UA5HsmzD1/UN5zEseVlB0zZQpFY X-Received: by 2002:a17:903:248:b0:1a6:6fe3:df8d with SMTP id j8-20020a170903024800b001a66fe3df8dmr16972366plh.8.1682958603945; Mon, 01 May 2023 09:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682958603; cv=none; d=google.com; s=arc-20160816; b=EHZJq26ABNkYgjW/vrR2DVEr6Nhja9wta/crxUQY5wDzEobLqK1olDUjMeR3iO5z7o iQySK5bQBLtKyd8AWhZ9IOnfCG7p7cGynBjof3EcHcyarhNzakiN0LY+zL3nXa/xbv8b Spx4NFtuZWa63YXftmMKb/L6fxJwa6+4N21R2FiREbipUVhnGcPSRup8piEBF/w16NZ7 m6H5xLwACpo3VsKPFXHfhD8IWsuTLkSVKMS6/9T9bSgi/0j3YYK4UsyP00gF7tsDjIjs Oj6NORXvxP/YFnOmGv7B5SoZ6Dg6nrUzt1GECED21YOgOH5UkXvYtgFP7UQgzQ7YCJre Emxw== 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 :references:in-reply-to:date:subject:cc:to:from:message-id :dkim-signature; bh=mXp6SRcjWPRCwi6nlesU+F55lVnmPqOB5ATTOwT5NWM=; b=ZxykRrrm6g5+uc0XMfERCGBR5OCzs+0wv5+aACBSuqBprcrWHDXG+P3Oi9NnoTM4xP /LR+crdLkcmAYOprrzJ2FaMd7Lqy2sdznyokY/9rZUznhmJTx8KzHNEE+TL04syQxlSp JhGjQiPFGcfanP1Op6rAe/0Tz6GlLm7tr98RQFxOzU6mZDNk4fhq3MVkebsYiGnGKMaK Nre3ss6WnfpKAztaiIlsEOf+m8qOKx+D+ohHj43PbsD4Gz6rE3ep/6RHs6mpCmM90I9g MYHXH014nHYrkCn7LQ7jD604wU5NkAJBpZ8dXBcHOTI4KYIU4hYOG5LZlHapLRu2A9U7 qimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=DBCIDQTK; 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 mm4-20020a17090b358400b0024e09da51e9si1864556pjb.58.2023.05.01.09.29.50; Mon, 01 May 2023 09:30:03 -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=@qq.com header.s=s201512 header.b=DBCIDQTK; 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 S232699AbjEAQTH (ORCPT + 99 others); Mon, 1 May 2023 12:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232688AbjEAQTG (ORCPT ); Mon, 1 May 2023 12:19:06 -0400 Received: from out162-62-57-64.mail.qq.com (out162-62-57-64.mail.qq.com [162.62.57.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13CE8E61 for ; Mon, 1 May 2023 09:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1682957939; bh=mXp6SRcjWPRCwi6nlesU+F55lVnmPqOB5ATTOwT5NWM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=DBCIDQTKb1NSQ+gn4QF6NCTPVAMO2feE0q4HALY9pFqRDJIAE7DGGf+Zjo/XpqTbd IvzRmrdP4BLylmwVpUGiDgliJkVPXa3s2a2wZr8EVF8swkSGBgn9xUJ5w5qwEsj3kx SAL1zig+AruKzY8TrdBi8ZpNI8Bn2iFJU3TiDlWo= Received: from cyy-pc.lan ([2001:da8:c800:d084:c65a:644a:13d7:e72c]) by newxmesmtplogicsvrsza10-0.qq.com (NewEsmtp) with SMTP id 4A78EECC; Tue, 02 May 2023 00:18:39 +0800 X-QQ-mid: xmsmtpt1682957927t9od3563r Message-ID: X-QQ-XMAILINFO: MW5hkHoBpWXyzdhmgeaTiGdwAayVVBNizcyU1Jfob9MZjrC9CFbTPRnmCQIVCA baJDKCSZw/z8pNn+tVF9I/qytqEgyqxcUySgaCif5lWD9BXTtrUtbRSkGtzOmer++Av4Oihic5Of Ln0U2ZLwijgWnvk0pheO9ZJ1/doXtLUyYcUg9TQAgxvQEw12tU4caKmi6UADJByOohcBMMjQ55jz Qcw5j2EQH99Y1xlIkZp3fxQyL+qhLjLQDf5bj8S13TZEcYt17D1Pn25cFfRsvZT/DgAhmoaX/Jul 1idHVhKOYEqy/p3f4ZpPqsqHCi7F2F83rzS4ulr4rld8hnFwcHMmYcPD5zlYarAyWlYfBnlOWUNo ycTS2YTFY9mJP6lVvTCkZ8ul7CKqPHVHZ2Z0b6c1FYVOfTU6P694SLz3flyh+iPUmCnAuU4u1UAV elPMahYdm2b/GL+GL/5m1Cw275YpfYlLweieY1EZjo6vwTFSIhXZlBcF5XIZ6S94KqtDEIlnDVBK Lm6kBxK2XDbCiBP8yldxjJ4rs5FF9jPVsWQ1zOdSs6YWKmIw97WWqp4GmWwKol4wLjpmSGgDYIS9 TztSJrrbF4r+Kx4/jVUMSRK7WPMtvQxefMlDjiZYhzh699D7YKIq3sj/iO+oRnu0AYa735/9CJ3v ihuuRzES/+oIf4tzdMHQ3a/LcAyuhopvfd0AwXjvk5O/POfW/qR9xrVh2CdfORNfVTf+pxBIn8UM KNQ+oBQUlES1cVNX0UpzrTwYGZzwiqa3CYMqISzt71kz8SSBfkWYKwgc/JlPBdPdXNTcHUix318k H3pjaXZFwtmRgYT6jC2mlDN9i4srDTNe8ujw2CkuW5KOIGR30O9cGFDK2ijGgQxRBR7YjNlI4svX Os+QEanAavVhcIfd89w10DbFidhCmZvXMRxKAbbUmvMh6RHYL2ca68xdi+yQul0ZMig19Zz7C7Ms qZ+fdzZkuACVCScXunC8ArPOkAFsTGymvdlNi3HN5CqcUyajj/l4WJ6Obj5VGDHPNEIDS7LxA= From: Yangyu Chen To: Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Rob Herring , Krzysztof Kozlowski Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Jones , Wende Tan , Soha Jin , Hongren Zheng , Conor Dooley , Rob Herring , Yangyu Chen Subject: [PATCH v3 2/2] dt-bindings: riscv: drop invalid comment about riscv,isa lower-case reasoning Date: Tue, 2 May 2023 00:17:39 +0800 X-OQ-MSGID: <20230501161739.152403-2-cyy@cyyself.name> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, RDNS_DYNAMIC,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 From: Conor Dooley "Ease of parsing" may have been the initial argument for keeping this string in lower-case, but parsers may have been written that expect lower-case only. For example, the one in released kernels currently does not behave correctly for multi-letter extensions that begin with a capital letter. Allowing upper-case here brings about no benefit but would break compatibility between new devicetrees and older kernels. Drop the comment to avoid confusing people. Signed-off-by: Conor Dooley Reviewed-by: Andrew Jones Acked-by: Rob Herring Signed-off-by: Yangyu Chen --- Documentation/devicetree/bindings/riscv/cpus.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 25d6e8dbffb8..7dd792e7bb45 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -88,7 +88,7 @@ properties: While the isa strings in ISA specification are case insensitive, letters in the riscv,isa string must be all - lowercase to simplify parsing. + lowercase. $ref: "/schemas/types.yaml#/definitions/string" pattern: ^rv(?:64|32)imaf?d?q?c?b?k?j?p?v?h?(?:[hsxz](?:[a-z])+)?(?:_[hsxz](?:[a-z])+)*$ -- 2.40.1