Message ID | 20231011111438.909552-14-cleger@rivosinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp462741vqb; Wed, 11 Oct 2023 04:21:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMwHHIVdSLvaAo0OadAPMliiRIA1cR5pnl15o2UO+HYhJ9HqbaSlEaZDd58oVHxiJeJZ94 X-Received: by 2002:a05:6870:bacf:b0:1e9:8ab9:11ca with SMTP id js15-20020a056870bacf00b001e98ab911camr2219657oab.3.1697023292427; Wed, 11 Oct 2023 04:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697023292; cv=none; d=google.com; s=arc-20160816; b=RIhCf6byiYt3T+A4Tdw3iLO1JcKaaPuzhOT2nbfq5lng/ScBB57mWCQDoUU1M3tjXe zLdl8v+Pn38/WTwJggLjmo48BM6P/p/Z9juetHtRRJWQ7ujVsITCPr/3SVKas4qkZdTm waH1ybt9Ssez1ke9D5+hSO09z+Ktb9FBdeXlZsmWQ+/BYa+TdczMLuCSh8d9Fe2JjHhg sVA2R185H7521jvUnU9TIG84jkvdKuJlXRub/jHWS4Tj2texkLNTX9IQSfJH5Oa5tqM3 uWRKl2azHS2F/cERX1C0MKb3L8kthDRCIS3l6EWTZgbRFnJAKC9vlP9uCbI/A9SbVHuK 6BiQ== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=C6vkJpRdG/bLQ2xKu/qLTVaLR+B+KqIXN0A+WQhuda0=; fh=YTBEzcO0MYpF5YfD8pS5vr0pvVavk2TCgoIFkI+x0fk=; b=c/HqIMtPuBv2rySGIXBq0WR8/CYwfaoelu+GcGQ4Ak/H7FMBfoJl4p+nrcxmbjYS1T bhvF2WVmEK8UdzOyIT0uAZNrSCdGe9g6oe/0f6AbaMC2F0mj9BicMVEESH/xoktgnkxu vlk02hU5g3qxhClaeHh7Omvkpq0r3b+G0oP71Dh2rcqb/GLVhlo332i/8Hs/kzwV6nPl cnWahoUUdxQP/2PK4C0m/fnnfkvLZ0BmNfa3Bf9PKFqqAT7/qOucLZQA1MGIFf6kF9N9 P10sCGN/PCL+hvfAbWO50XggSAxLdP2LW6Zx2m9wsq7y/GllQ/wBThSpHP97JREUzXEb Gu0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=1EvNDN95; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id cm4-20020a056a020a0400b00578bb707e6esi2952012pgb.806.2023.10.11.04.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 04:21:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=1EvNDN95; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DB3FA817730D; Wed, 11 Oct 2023 04:21:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232023AbjJKLUv (ORCPT <rfc822;kartikey406@gmail.com> + 18 others); Wed, 11 Oct 2023 07:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346136AbjJKLTc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Oct 2023 07:19:32 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F016D3 for <linux-kernel@vger.kernel.org>; Wed, 11 Oct 2023 04:19:29 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-406aaccb41dso18558755e9.0 for <linux-kernel@vger.kernel.org>; Wed, 11 Oct 2023 04:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1697023168; x=1697627968; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=C6vkJpRdG/bLQ2xKu/qLTVaLR+B+KqIXN0A+WQhuda0=; b=1EvNDN95s8fo5kRPe1sDwlewaoKAlz8zqE7fsvjxMnU+V4mNLKzjP7t27snt1RvUjY 76aUkUi9DL62UAJgI7APXDdwDfQcxvHxY5BWmA7TJ2sPJ45HnDPYMjAV7RiITP7q3eKU IkuMxA4zrxy4D1Pl4APy8hU4nBHR3fkcp5NFvgPRZ+6w0ccAjP3P1K3ach9dK4FlSvYE cmC7FDG959sLD6Ky6p/TVshA+YUHzhogx8wsH0ro9D4qrx4bBdmzPDHRUkv8VxCslEVX Hms+xEDLq/7DtiGO1vqLTvpSr4iOpiM1aHqxMKixiwvFctoh1V6M33HYPA33fo44SC9d xv8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697023168; x=1697627968; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C6vkJpRdG/bLQ2xKu/qLTVaLR+B+KqIXN0A+WQhuda0=; b=lSeCuj/mYKxZzCk4LMr8+xed863wcgvNGZUSHvCpovB5Do+8kqX10c2jnOvgDD2Cjl j+qfnpwSR/W5MMC0CtBF1nYo7inqLyMd/YfphZZ42lqn0RhCmjdczCJ4ZHs7+yXMyCl3 pn1pRm+TBwq/o2LvWY21zBRN0qdEYPzOcj9ych7EQvTkq1HzZoRb6hfbpmc8u0ZvPVma LRRv9Zn+xsnoL00/e5aOAkOHfN7n6zbdT5fY0Y32QUxdtrEDM99bmHThtVAsN2U5pJuG /ZZO2BMWL1drZcfWHerlQw4J0cm3cBgMHPfvflnOKjqH0yTTHCcwkMYfacTa1CNZu6gI BCvg== X-Gm-Message-State: AOJu0Yxk2EAktLGM/XKsLp4asB3ottv8IJGfFm3BtiKqNNp5KTUmPOHa tOrX/RMO88jZCzj/9gISt3P4HQ== X-Received: by 2002:a05:600c:511d:b0:401:b53e:6c3e with SMTP id o29-20020a05600c511d00b00401b53e6c3emr18807765wms.1.1697023167444; Wed, 11 Oct 2023 04:19:27 -0700 (PDT) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:9134:b302:d8b:a200]) by smtp.gmail.com with ESMTPSA id a4-20020a05600c224400b003fe2b081661sm18945715wmm.30.2023.10.11.04.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 04:19:26 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= <cleger@rivosinc.com> To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= <cleger@rivosinc.com>, Palmer Dabbelt <palmer@rivosinc.com>, Paul Walmsley <paul.walmsley@sifive.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Albert Ou <aou@eecs.berkeley.edu>, Jonathan Corbet <corbet@lwn.net>, Andrew Jones <ajones@ventanamicro.com>, Evan Green <evan@rivosinc.com>, Conor Dooley <conor@kernel.org> Subject: [PATCH v1 13/13] dt-bindings: riscv: add Zvfh[min] ISA extension description Date: Wed, 11 Oct 2023 13:14:38 +0200 Message-ID: <20231011111438.909552-14-cleger@rivosinc.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231011111438.909552-1-cleger@rivosinc.com> References: <20231011111438.909552-1-cleger@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 11 Oct 2023 04:21:21 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779457895539273342 X-GMAIL-MSGID: 1779457895539273342 |
Series |
riscv: report more ISA extensions through hwprobe
|
|
Commit Message
Clément Léger
Oct. 11, 2023, 11:14 a.m. UTC
Add description for Zvfh[min] ISA extension[1] which can now be
reported through hwprobe for userspace usage.
[1] https://drive.google.com/file/d/1_Yt60HGAf1r1hx7JnsIptw0sqkBd9BQ8/view
Signed-off-by: Clément Léger <cleger@rivosinc.com>
---
.../devicetree/bindings/riscv/extensions.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
Comments
On Wed, Oct 11, 2023 at 01:14:38PM +0200, Clément Léger wrote: > Add description for Zvfh[min] ISA extension[1] which can now be > reported through hwprobe for userspace usage. > > [1] https://drive.google.com/file/d/1_Yt60HGAf1r1hx7JnsIptw0sqkBd9BQ8/view And once more, the same. Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > > Signed-off-by: Clément Léger <cleger@rivosinc.com> > --- > .../devicetree/bindings/riscv/extensions.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml > index 70c2b0351357..ae7db420ab92 100644 > --- a/Documentation/devicetree/bindings/riscv/extensions.yaml > +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml > @@ -277,6 +277,18 @@ properties: > instructions, as ratified in commit 56ed795 ("Update > riscv-crypto-spec-vector.adoc") of riscv-crypto. > > + - const: zvfh > + description: > + The standard Zvfh extension for vectored half-precision > + floating-point instructions, as ratified in commit e2ccd05 > + ("Remove draft warnings from Zvfh[min]") of riscv-v-spec. > + > + - const: zvfhmin > + description: > + The standard Zvfhmin extension for vectored minimal half-precision > + floating-point instructions, as ratified in commit e2ccd05 > + ("Remove draft warnings from Zvfh[min]") of riscv-v-spec. > + > - const: zvkb > description: > The standard Zvkb extension for vector cryptography bit-manipulation > -- > 2.42.0 >
diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 70c2b0351357..ae7db420ab92 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -277,6 +277,18 @@ properties: instructions, as ratified in commit 56ed795 ("Update riscv-crypto-spec-vector.adoc") of riscv-crypto. + - const: zvfh + description: + The standard Zvfh extension for vectored half-precision + floating-point instructions, as ratified in commit e2ccd05 + ("Remove draft warnings from Zvfh[min]") of riscv-v-spec. + + - const: zvfhmin + description: + The standard Zvfhmin extension for vectored minimal half-precision + floating-point instructions, as ratified in commit e2ccd05 + ("Remove draft warnings from Zvfh[min]") of riscv-v-spec. + - const: zvkb description: The standard Zvkb extension for vector cryptography bit-manipulation