Message ID | 20231107105556.517187-12-cleger@rivosinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp150637vqo; Tue, 7 Nov 2023 02:57:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtBqOuV236wFUuRLJMrc8AZw+S6FRgBonargD3e1TaZa0AvayYwpSJB1z7/phyje/FCa0c X-Received: by 2002:a05:6358:5913:b0:168:e4a0:dd82 with SMTP id g19-20020a056358591300b00168e4a0dd82mr28193071rwf.1.1699354633630; Tue, 07 Nov 2023 02:57:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699354633; cv=none; d=google.com; s=arc-20160816; b=S/RHVScGgYxksAKsgpmmhrrqIH7dZHAQ3cmQzm9qLT1MgwRhZcHNtBFGg2gsftmuFO YNGSl3z4z0iUFISPhpY8WZSGUZl6B4qvNwHDgqhzRJTFvoElvEItRrfhNFPNhwpoqDIZ ET+nCEEwW38e+9GxO/eo//5jCCG7OnMLRJqJ6ZXyq03cGW3Y36Ce7TvaGDpdG8Q6AZr+ 3TFtTW9d4XbdSIGplxVcMxlXw3cTVju73OcoYprMg/S0CfoeIC6j1K4+oQVkEecWW/cF 4BGxXZnABwMBjKzD6wGBbLh/eAcxkSAkYtTXhPJOG2atP9HdrMraqw4jFAyb8sSZj1/u HHmw== 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=K+noeIiO0ZzRdCBLgjz9J+sy56GBx1867ixAgWMD4Wc=; fh=+cbUtfSAqhMquIoUm29OkpkAteRz4N6smd68uCoHFfk=; b=sgYUhNEdSVthstHWPtkCxANTQOMoYWN8xeucmXBL0SrvtCA4bQveJvc4yP6odcQcO5 10n7tMJTnLW4iHqKKoByajVAyvp6GGchB59k6Ro1QlWEDeyquRFhFTmTmYD34n31Jlbd 907xw4qyZ69YNwLT6fKTKfO2DAk+SE71JeH+MfzsDaWjriqoaBQx4RdtQF5Iortnkl3n Swg/4PwZKdFp6a5jsZfQL7XlbAgWO9rANYdZZ4aQ0B8rkXY+ag3iyw5i83GygGmX5FkX J6nIEt44hCBcR8lA7l5dBLmzOCyrSihVbhr3NS1WwENI+CIreO0asaQV61CzgXjjHAfX x8Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=1wIith9B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r7-20020a63e507000000b005abe19be7e9si1885180pgh.543.2023.11.07.02.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 02:57:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=1wIith9B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id A976A81444CC; Tue, 7 Nov 2023 02:57:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234269AbjKGK4q (ORCPT <rfc822;lhua1029@gmail.com> + 32 others); Tue, 7 Nov 2023 05:56:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234241AbjKGK4W (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Nov 2023 05:56:22 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2012D57 for <linux-kernel@vger.kernel.org>; Tue, 7 Nov 2023 02:56:15 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9bf60bba6f8so165967966b.0 for <linux-kernel@vger.kernel.org>; Tue, 07 Nov 2023 02:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1699354574; x=1699959374; 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=K+noeIiO0ZzRdCBLgjz9J+sy56GBx1867ixAgWMD4Wc=; b=1wIith9BIdnPlLltM/62yqwKTVZcSImm4+ad2Gk0VDRpQe2WzCvLgT+Hr7usm7OxSz jk41Km8ltUuWCE51dGojhIp2PnB3+3h5T48M7DxyZaBZD5m6ohFmSfE8FryJ2qORZ9ko iM8/gj6pnR5A9H6KcwrlWhMefYGY3QCfYUcl3axE2UrISp77HH0atxKDB46GS8BQTnsF QsX8bOZJV0b1RqGC6plEWYzuA/Oiod+ZjMOqTacw62vWk1BplxOj6W/lMDLpJcrfzL4k eN487W+x+n9sc5MGPqrc2BIb2ZU/jiYBfDDsiAn5vPde8l7w1T4/8m9ATxXdzRSmtZko ruIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699354574; x=1699959374; 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=K+noeIiO0ZzRdCBLgjz9J+sy56GBx1867ixAgWMD4Wc=; b=ScjHEkNDoaijlOxC7R3vCKFo2VJj86/UQ5MP4loebRIxEyrSUFBVCQBy8+oCGCTXT3 JCzrIT7KlZe9W6gIU6wYC3fO6DdqoCS5bl8XLAJSk0gy1gajF9bxexx+zAC5ZkU7thDt WAfLpnpIOtYybyuCol4gtC8TC0ZlksNUVM8E8QXjA8kRUdzCaEmuCAOzdocFs+Wk5WFv FipD7jbSITloU/Aj6hJJDdCRLvSmlrnbhkJSD+6NreAbEfuMRAyPvckrp61bska7pLFd VnqiwrbEq4UuJ2JaJ0lc6lr/KIUN4H19Jtxc4B9/P5/tF6YpdJUvPZGYSC/t7FyeL/U5 b3DQ== X-Gm-Message-State: AOJu0Yx2jK/Y1Z1N5tV5vGR2cGenwE2W9YEQn9q0f+iLLwIxahh7js3R dXp19gqAqplMn3i9MJc4r+3DmA== X-Received: by 2002:a17:907:6d02:b0:9c9:603c:407e with SMTP id sa2-20020a1709076d0200b009c9603c407emr28520448ejc.0.1699354573974; Tue, 07 Nov 2023 02:56:13 -0800 (PST) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:7db3:bdd9:4cab:2ee3]) by smtp.gmail.com with ESMTPSA id n30-20020a05600c501e00b00405442edc69sm15396853wmr.14.2023.11.07.02.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 02:56:12 -0800 (PST) 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>, Samuel Ortiz <sameo@rivosinc.com>, Conor Dooley <conor.dooley@microchip.com> Subject: [PATCH v3 11/20] dt-bindings: riscv: add Zfh[min] ISA extensions description Date: Tue, 7 Nov 2023 11:55:47 +0100 Message-ID: <20231107105556.517187-12-cleger@rivosinc.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231107105556.517187-1-cleger@rivosinc.com> References: <20231107105556.517187-1-cleger@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 07 Nov 2023 02:57:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781902484056638663 X-GMAIL-MSGID: 1781902484056638663 |
Series |
riscv: report more ISA extensions through hwprobe
|
|
Commit Message
Clément Léger
Nov. 7, 2023, 10:55 a.m. UTC
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 <cleger@rivosinc.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> --- .../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 b68edfd1fb43..62b5fe40b4a3 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -214,6 +214,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