From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00F48C3DA61 for ; Wed, 24 Jul 2024 19:14:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0dmv3b+M5pdP6+h0yvykWQ/hdzYyqvzjRPmuOKyLAkA=; b=uFPOtpqt+tYRaf igWSAexRm4sVFSYuuvAOq3k5cDNF73ZPNCS2VoqHNoTQ4/NacP+w9cT4JPpCnIDQs/XQWxfqjQjY4 uwwjHSKOn/3srl7hTnQDAzBSdqp1BCtNqh+g/Z1+abQ4wLFinK1OvYry9FygE2IqKdDFAyNSCCJ7M 0vjz7UF7XvYCekZ4LdG0srNxOcqV0cbbGpMi59QDzG7hO8FakeWWHL+WcQVDC0JrXlB2RwAyIE1S1 iJtUXaQKvFU5ffJCNz3VDT2/5JkczawXAHOxz38stpblBkdMF9Aq47DFNZEwdx4uVPiTydFs9rko8 tItWhM3SnMB0spa/ZPbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWhRh-0000000GJ0E-0FY8; Wed, 24 Jul 2024 19:14:41 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWhRR-0000000GImr-3MAL for linux-riscv@lists.infradead.org; Wed, 24 Jul 2024 19:14:27 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-70cec4aa1e4so104698b3a.1 for ; Wed, 24 Jul 2024 12:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1721848464; x=1722453264; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RFlUlKNClOcGHl95zNXTKC1SKxBdILei2erBqjtymyU=; b=r3zxa5WPShLcfrImJus6J/evRl4Tbc1BXGg4OhXIfXKsYw3814X9zj8iPXUHHIw9yF xyAu2JB3eEXavNVIQ+E9QqYS8y4fQITda9QCiY0pTtIoIePOl0j+3zu17XMvofVPpMBf dHIwOIRWAUGjOTVW8TeZ4Z6z86rHWJ1gOxshRUmaxKddRv2oymNNskyQwGO9/bbmIee2 aPBtRSeD0heKy8JIzUt/YRMWbPLsbZjtBsrB9JzleTfpt2zB4NXKE1h2RKOPt1Xcz6VO 8yG/GpazD1IvJHEMRtLp/iU0i9lnqp/g6zXSkv5kaIuOSQc3uleMWzEoqwetXX7TVE2R 6RxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721848464; x=1722453264; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RFlUlKNClOcGHl95zNXTKC1SKxBdILei2erBqjtymyU=; b=BnDxDpCdgadPEHn/iPKflR+UHTEObImw1hlNM833Z2gRp7IEYKsWE0oLxd9UkHjrNo 0KxyKPVAX5DE658B896q+C8cMs84tW7jZDNte9yjLLda7rNZMJ/rkX9qnZIxX9UroG+S 5IVS8Y2KyUaIZh0Pn3jNAkq7o8B5MWvJU9VMel67VKnp8gslI5uwesyxFVYCwQRA4Dcs tpxtb7uQvmlsf81lOtkpd3GzYHCUs1I80X/Q2oWicFwzPb6tW9U20EKPXFFtfhahIztP RhH+mdhCifQkQ0QuiIx4NMlyQDWm05XNRIuelLmlIRzV5XmQhKjFjdXCvTtDIhI32/+3 0TNg== X-Gm-Message-State: AOJu0YyI4EVhqJAKkS+WJ6kWEVCCJu1cDkHdjifFfqmMR5+6uszaoEhr L52axuVGjtTHW71+eiUftmq7to9oNODVpHIGsP5+prEbfQeh+KJoPj1wyMuFTcM= X-Google-Smtp-Source: AGHT+IE0L0dz91okDpFVgmoSLSvgUbEJMqSFPJ0XA76IZlboi5kzsRGz9Y0ZVS4Z9LhoGM+6TQZj0w== X-Received: by 2002:a05:6a21:3983:b0:1c3:fc87:3770 with SMTP id adf61e73a8af0-1c472ce5816mr1070905637.36.1721848464456; Wed, 24 Jul 2024 12:14:24 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cdb73edecesm2022359a91.32.2024.07.24.12.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jul 2024 12:14:23 -0700 (PDT) From: Charlie Jenkins Date: Wed, 24 Jul 2024 12:14:02 -0700 Subject: [PATCH v7 11/13] riscv: hwprobe: Document thead vendor extensions and xtheadvector extension MIME-Version: 1.0 Message-Id: <20240724-xtheadvector-v7-11-b741910ada3e@rivosinc.com> References: <20240724-xtheadvector-v7-0-b741910ada3e@rivosinc.com> In-Reply-To: <20240724-xtheadvector-v7-0-b741910ada3e@rivosinc.com> To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Samuel Holland , Jonathan Corbet , Shuah Khan , Guo Ren , Evan Green , Andy Chiu , Jessica Clarke , Andrew Jones Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721848437; l=1260; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=2W48pS8YjVGGuKgFcdTY4JQ+czvhIHjQutLR0sMQn0M=; b=of4BBZLZnpVGOBP7eX+ywM0MTSJgSJI9OT7n6xCj4kUhzVsYsjRs6A+6BfAF+cCfhBKnqjW0k cIac05GFBfxDNGR4geMLqiNV+3fp8t/Y4yl8dXtE7WppGiqLnJSBVfZ X-Developer-Key: i=charlie@rivosinc.com; a=ed25519; pk=t4RSWpMV1q5lf/NWIeR9z58bcje60/dbtxxmoSfBEcs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240724_121425_852870_D2AD2222 X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Document support for thead vendor extensions using the key RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0 and xtheadvector extension using the key RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR. Signed-off-by: Charlie Jenkins Reviewed-by: Evan Green --- Documentation/arch/riscv/hwprobe.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/arch/riscv/hwprobe.rst b/Documentation/arch/riscv/hwprobe.rst index 02eb4d98b7de..b48a06ef80e0 100644 --- a/Documentation/arch/riscv/hwprobe.rst +++ b/Documentation/arch/riscv/hwprobe.rst @@ -264,3 +264,13 @@ The following keys are defined: * :c:macro:`RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS`: An unsigned long which represent the highest userspace virtual address usable. + +* :c:macro:`RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0`: A bitmask containing the + thead vendor extensions that are compatible with the + :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. + + * T-HEAD + + * :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR`: The xtheadvector vendor + extension is supported in the T-Head ISA extensions spec starting from + commit a18c801634 ("Add T-Head VECTOR vendor extension. "). -- 2.44.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv