Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3150458rdg; Tue, 17 Oct 2023 06:16:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnisiiMog7xebz2BWWVBhnNATtQnNUhOqYq7WqL2GH8U9eBbFgBYdIrxwNktvaVAe77ent X-Received: by 2002:a17:902:d042:b0:1bd:c7e2:462 with SMTP id l2-20020a170902d04200b001bdc7e20462mr2000022pll.11.1697548603334; Tue, 17 Oct 2023 06:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697548603; cv=none; d=google.com; s=arc-20160816; b=UCyOFHP6N8gUClOWJaaEeHP2HVSEEaWNfnTtBoDDOcGaNRjRvwZZEopXNr/qbQX09Y 0Ll7SNW7fc1JIPIQ09Swk6ZiJ+mQUFrzDhDU2dgXHXF57f/pgVO4AwvQPhRNLy5ArloY 84FIPBdmp7Lazzv60JdqVUNTA4qH6gdNNUcUurEEa1WOkWXhYR+7G8EvxL+xkvAtHVQX IrcEm/RnmEoM98yZz3uBUKwgnHPloJqqEnMRF/fvDdtHEvxWnmEg1AEgZJwJF/bqdiUN DjIuJfM3DmhsnZJow13/02EwRXhjqR5/s4WkoXToiNzPc+wOIyl9kUMUr2mStOzGKIyk MXCw== 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=JWnPq2gaUY6Bw+QhkV+/+BvTRtvqF4BIiAlwEf1vKGM=; fh=+cbUtfSAqhMquIoUm29OkpkAteRz4N6smd68uCoHFfk=; b=X4BjQWDc3VE/7SeXgsz3wT0T700Y47Gzxar1TcseGnLH50ShFH1Gt0+TfxENKsHK8I M/jczG9cvTJmpIBBNVr8zTbCslCPRAHZJFada50eONbbiiGVf6vWPblaeKAwLyvp1QR4 ptYqIe/VmtHIuWOV669NrJFROufcC3UsdhfwENXUt0tH9gZaiq7rvMcOD9xsKfPck1b2 iMBLuKbVku1VSN8QFZB15hRJoqObDRzx/K4LPhcuI1OI2par/Wfb9J8VTkJCvHn0NZ7n O2vuW6IEDNjY91JBkwKy6siudcoCxCWSirPHFvJXXBiNXl+mn9VOmvXoGUhnl9spoQHP fHTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=dOZ25igJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n1-20020a170902d2c100b001c9eed814dbsi1806931plc.562.2023.10.17.06.16.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=dOZ25igJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 304C680C5993; Tue, 17 Oct 2023 06:16:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343860AbjJQNQN (ORCPT + 99 others); Tue, 17 Oct 2023 09:16:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343838AbjJQNPk (ORCPT ); Tue, 17 Oct 2023 09:15:40 -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 F1C4610B for ; Tue, 17 Oct 2023 06:15:37 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-406aaccb41dso18299575e9.0 for ; Tue, 17 Oct 2023 06:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1697548536; x=1698153336; 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=JWnPq2gaUY6Bw+QhkV+/+BvTRtvqF4BIiAlwEf1vKGM=; b=dOZ25igJytRqCFx+02/whVtQZ+4db7VtNy56yNr34omCyC19Q7ftnT4nBNG+8l+itS 8e/1GQY1tywkRBVigwGY5IePkvht4uLyon03ZukrXArgZs8kZr/WWdj8mKtwTC6jXkXd wuZIgliOrwijtHFozT5lFKMxO/NfMToDq9oltwCNE+jVPlFMhfotBcIikfEkKr9pNr+S P4XuHnqfRVUAuOXxC8IgFp3YAS9lApiqyoAFM0gDDtELf5p5q7Hvjpo24ODKXC9nIDDp DWfNV/qgoQ2IPgbszDgyBqEQuRgIA8tm46ALVuRycaqgeG3sY4r8lpzRiFgUzFMfAv2T dryg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697548536; x=1698153336; 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=JWnPq2gaUY6Bw+QhkV+/+BvTRtvqF4BIiAlwEf1vKGM=; b=Oyp4vew9wcrRvAqmEUcu0nCbAlGC5ea3vYUVaflSynTymVedqkAQ+JsPmhCZ3mx4CX u01KQoBUCxLV1vktCxrh6IcOZEKcY1QE+OqtryixCMgh6iEV2wNugp8Hu2coUKG/zspH mXKRUBnGSo+cL/nzo3u0Rsdr4Os0cANntL/j1MNzV0AYpKnvZx3DxkwELZYmb2pgDiR6 k6pfE5tznt1M6l7dakSr/ehj2ayeeSMkz188ImIrbK4KVA9wcY7r6b3Y1lwF1MLWjvdN HG8ZUnP0ctktBt21Z/4eUjv6NuWXihu03dnufRQWcojW+5IWZqoE8w7BrSs8Cw0htRoN EUZQ== X-Gm-Message-State: AOJu0YxTI3fJg6n8hu20IpOVX/ojn6+OUmYquqJLfEGLyHOlKGiFNkOe Al8bg+evGf91MN2AKRalqq58uQ== X-Received: by 2002:a05:600c:1d9b:b0:408:3836:525f with SMTP id p27-20020a05600c1d9b00b004083836525fmr251193wms.1.1697548536185; Tue, 17 Oct 2023 06:15:36 -0700 (PDT) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:96:820c:ecf7:a817]) by smtp.gmail.com with ESMTPSA id fj7-20020a05600c0c8700b0040772138bb7sm9873393wmb.2.2023.10.17.06.15.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 06:15:35 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Albert Ou , Jonathan Corbet , Andrew Jones , Evan Green , Conor Dooley , Samuel Ortiz , Conor Dooley Subject: [PATCH v2 10/19] dt-bindings: riscv: add Zfh[min] ISA extensions description Date: Tue, 17 Oct 2023 15:14:47 +0200 Message-ID: <20231017131456.2053396-11-cleger@rivosinc.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231017131456.2053396-1-cleger@rivosinc.com> References: <20231017131456.2053396-1-cleger@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 06:16:40 -0700 (PDT) Add description of Zfh[min] ISA extensions[1] which can now be reported through hwprobe for userspace usage. Link: https://drive.google.com/file/d/1z3tQQLm5ALsAD77PM0l0CHnapxWCeVzP/view [1] Signed-off-by: Clément Léger Acked-by: Conor Dooley --- .../devicetree/bindings/riscv/extensions.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 93beb9872900..b0a0d1bdf369 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -208,6 +208,19 @@ properties: instructions as ratified at commit 6d33919 ("Merge pull request #158 from hirooih/clmul-fix-loop-end-condition") of riscv-bitmanip. + - const: zfh + description: + The standard Zfh extension for 16-bit half-precision binary + floating-point instructions, as ratified in commit 64074bc ("Update + version numbers for Zfh/Zfinx") of riscv-isa-manual. + + - const: zfhmin + description: + The standard Zfhmin extension which provides minimal support for + 16-bit half-precision binary floating-point instructions, as ratified + in commit 64074bc ("Update version numbers for Zfh/Zfinx") of + riscv-isa-manual. + - const: zk description: The standard Zk Standard Scalar cryptography extension as ratified -- 2.42.0