Message ID | 20231208-uncolored-oxidant-5ab37dd3ab84@spud |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5553907vqy; Fri, 8 Dec 2023 08:07:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZExw3E4QDlSTnp5+ouo8lDaf7MMXAf5jtq+GQvpJaM7x0zVnVKSbOj4cuaJFap2JJrlFU X-Received: by 2002:a05:6a20:e113:b0:18f:97c:b9f0 with SMTP id kr19-20020a056a20e11300b0018f097cb9f0mr321928pzb.74.1702051655446; Fri, 08 Dec 2023 08:07:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702051655; cv=none; d=google.com; s=arc-20160816; b=bwxor435voq/vb55ZEwQfo3ktoUHyKgCcDgomnTuQ7zyp+XzB5sjXd9EetBv5bBIFC 0YOvdBiNkKVwLYQ5KXw8HvBA05Na8bqCDKgMjUeSwyupy+4QDvhy4xAQcfAq61itgkV0 Rj1ASSKk06pOGZC0MTDeJ4luetQNQXk7B74AT4npB1S/2iIjAIouB1f5x0hzB72whOCm UoQHdJLY4E27wSaK+c5iRLCKwixgX0/kYodTR6Ej6Au06cNITxmFlEExjvjAfzsE71ZV F9iO04W+pJiWACHhv3jsDT4ptSF5vmPE/m2cCOVUIeFLMe45JBzRmqBPAqNl0uKLrfqA EVsA== 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:date:subject:cc:to:from:dkim-signature; bh=aasBUCT89rd2FU6A5doEdZfaarkhHX7tioHcM1cXLzk=; fh=ovOQXTzacUqLrctgpu3IuoK7G/k4+bCe5ypjXKL5Crw=; b=gZtiduqYq33mtltLAYGH4xLzL2lg2ZgcOs/a+E9D4l53zr5Nf6M1QmeJK/ayfO5z0K vToi79bMHykJJs77VaBY22UbqBLRXlLekaRGOoJ/z4/weGficW2rXBTl7Q7/H4M8d2eb m77bOyaAZyqjD232Rk1ecwCUYb6riN+Iw5RhUhSu84ieadjISYi7ZFLN3aGuADCCXPJW 1kCb8laraHooWOYqibSfrrOq0FsEyZZOcQlshMNYsY6mGQCmMs1gonr1awNglKtVIu8t G+/0/hm3RZZCdhVottgv1SYw+7QJpVnnRSVWtqvaclWJumxgp62c0RPEuGuHRNCXE2OR zTlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KNCU4cb3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id s24-20020a63f058000000b005c6b4e190b0si1739626pgj.530.2023.12.08.08.07.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 08:07:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KNCU4cb3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E4E28809FED5; Fri, 8 Dec 2023 08:07:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233546AbjLHQHJ (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Fri, 8 Dec 2023 11:07:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232504AbjLHQHH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 11:07:07 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBA601738 for <linux-kernel@vger.kernel.org>; Fri, 8 Dec 2023 08:07:13 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E5EEC433C7; Fri, 8 Dec 2023 16:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702051633; bh=l+iYlhzI1V2FhQLYDTCT5LQFhsRaalvLOJQNHs8UnaY=; h=From:To:Cc:Subject:Date:From; b=KNCU4cb35WDwu93cB3SM8DcP2zbk9Rw4CA6C2Ax59i0IC27KNqmW9rRDdbtIn6edz 12FevqUToKn/8IkjVdUFCYyRli247ZNlzsbriwkEktEsdWon0RjsurX9eCI6NauqhW gxnRgB6WAFhVN4C3iyCnloOxpAhKabVdRwTfftwRCKZh1Bqd8xvoBlJ3Ez4+PX3viV JHzNhvX7p5DK1gSM8JPjJS3K+JCan4x8TEMXQgdOOfQg8n/wB4LEI4AYDDcoZUasxl 9oNWrVU5wvrh//wo4JfvqGxxCafVk3Ft9bc1TLkuThy7y1o3EvnCZMu5KqMMadcEUm mIDxqdoMs2tPg== From: Conor Dooley <conor@kernel.org> To: palmer@dabbelt.com Cc: conor@kernel.org, Conor Dooley <conor.dooley@microchip.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Albert Ou <aou@eecs.berkeley.edu>, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] dt-bindings: riscv: permit numbers in "riscv,isa" Date: Fri, 8 Dec 2023 16:06:51 +0000 Message-Id: <20231208-uncolored-oxidant-5ab37dd3ab84@spud> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1382; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=Yfy+NplT1sN2TXz/zbddM1bvj8bnuuv0sxpAm2Qtv0Q=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKnF9pLhD9eWvDvKqHy4Rfbk8WOGT3O6V4fElvrM+TDFn /n+nfjsjlIWBjEOBlkxRZbE230tUuv/uOxw7nkLM4eVCWQIAxenAExkTRwjw7wHzheyokXmz9Qy +/FfQfnC3NO7njmVns8r/vVfyqkx1ZOR4aWQjcLsJzPvn3tX/zHv4BmxXxG9NaJ2K5vshNOvLZy 7kw8A X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 08 Dec 2023 08:07:18 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784730516463347069 X-GMAIL-MSGID: 1784730516463347069 |
Series |
[v1] dt-bindings: riscv: permit numbers in "riscv,isa"
|
|
Commit Message
Conor Dooley
Dec. 8, 2023, 4:06 p.m. UTC
From: Conor Dooley <conor.dooley@microchip.com> There are some extensions that contain numbers, such as Zve32f, which are enabled by the "max" cpu type in QEMU. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> --- CC: Conor Dooley <conor@kernel.org> CC: Rob Herring <robh+dt@kernel.org> CC: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> CC: Paul Walmsley <paul.walmsley@sifive.com> CC: Palmer Dabbelt <palmer@dabbelt.com> CC: Albert Ou <aou@eecs.berkeley.edu> CC: linux-riscv@lists.infradead.org CC: devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org --- Documentation/devicetree/bindings/riscv/extensions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 08/12/2023 17:06, Conor Dooley wrote: > From: Conor Dooley <conor.dooley@microchip.com> > > There are some extensions that contain numbers, such as Zve32f, which > are enabled by the "max" cpu type in QEMU. > > Signed-off-by: Conor Dooley <conor.dooley@microchip.com> That regex exceeded my capabilities long time ago, so just formality, FWIW: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>: On Fri, 8 Dec 2023 16:06:51 +0000 you wrote: > From: Conor Dooley <conor.dooley@microchip.com> > > There are some extensions that contain numbers, such as Zve32f, which > are enabled by the "max" cpu type in QEMU. > > Signed-off-by: Conor Dooley <conor.dooley@microchip.com> > > [...] Here is the summary with links: - [v1] dt-bindings: riscv: permit numbers in "riscv,isa" https://git.kernel.org/riscv/c/baa04909d100 You are awesome, thank you!
diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index c91ab0e46648..92c31245d3fc 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -48,7 +48,7 @@ properties: insensitive, letters in the riscv,isa string must be all 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])+)*$ + pattern: ^rv(?:64|32)imaf?d?q?c?b?k?j?p?v?h?(?:[hsxz](?:[0-9a-z])+)?(?:_[hsxz](?:[0-9a-z])+)*$ deprecated: true riscv,isa-base: