From patchwork Sun Apr 21 01:04:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charlie Jenkins X-Patchwork-Id: 13637261 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 22208C04FFE for ; Sun, 21 Apr 2024 01:07:52 +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=exq07pZUcpRHPTJGo4MnsSDeQD0RW1uH7E8AheDUE80=; b=4G2letG+JIzc1s Lann27JQxP2BkP15l/0MNHrQy+B2Y9nRa2SjjxfLkmH63HmkgTIL3tvT33BtGguap3zvE9nWSi500 wc13tOhKL9JS6aAg7cFIYPUBtU/V+w3CTR31rJzejqz2bHIyT5alWJ6lWuUBjo4oM0L3/41BaRHxx cIwoOT+mwocldfzLzaFu+kIdimzoLtE6FfnKlKOPwj9T4jsXIXb8VNv5ORPxS/O9nSvXbXMcwkjwA 16ptDC3xFPtWnutqt3oydOAjot9ANnBzKUr+2L5vmWr5wAeCfhTkVUJVfXrJHbwUmP1n92xVNnuST RCmuRfW0fwswyqpOn/Bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryLgC-00000009XxU-3IS6; Sun, 21 Apr 2024 01:07:40 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryLdS-00000009VjZ-11H1 for linux-arm-kernel@lists.infradead.org; Sun, 21 Apr 2024 01:04:52 +0000 Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3c7498041cfso1081471b6e.2 for ; Sat, 20 Apr 2024 18:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713661488; x=1714266288; 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=0gP3BTCO/eMabIcPEHZlkkrT/LBtjjbwR/exXvwDsR0=; b=qfyJy/IGlNV34xQZrvsb9NEDzLGf/68oGKsXRiVw/irnR/Tv1G7L1bceDPS30dkSNL 0C1z9xnmXlSD2jONq3tEF5K2cbxTKuomnxyCx2mFECbxNj07OPsJOs33QY9VrLZ5ofeG OtYIA4l1O+t2DTHCT9TtUvAfDdbFC75c+ux1s2DQ5FJJmFgPNaduc5EErIU21YoeIRhw bfNIVapF7ydhZKdPgJnlUI4KVszj4qO+iA9lHxcLW2pLPu13UWFG0Khyu61CFBv1BURT XqFR2ggg3gTQi6Dk7RibXBWDzOZpLXQiTcgGBjbFbeeeuFdnO4t+trR6DKFxcQN7OvEZ vahg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713661488; x=1714266288; 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=0gP3BTCO/eMabIcPEHZlkkrT/LBtjjbwR/exXvwDsR0=; b=HpwRN87i2l2dRwLVCWUeUY0Vsa6DrqvXjAjj5RG5PS881g0RKkI0M3RpOa5DjTRasl C8QAfMqLqeO3DxRQipRCoEWYCFwydhDjVzqrVwKywMWM7FqRKNnYJMc0tzSfw0L/q+Uf Twmi2S4eu7Svjf1g3fQ6UpnyNpuJjn6Cu4GTbI7Pm7suhulXcDq4Uy/lkHehkv0i3a+V tNYc+CZq3ZU+5e1G0n9TutO7WS1+ZLr9mO+mUH4BOFkRrEG/+8VR6tATZJbIyPLd0G95 xuF1P3c+eoGD5XjcudOL90KvuLhvSQGNz7+JqmiyYiFuE2EP4j30FYqJLfXQEsKFRaPJ VvVw== X-Forwarded-Encrypted: i=1; AJvYcCWpFXyM2FH0w3xrnwktS1kYizQ8nGr/yMF8aGquv8oBHDZPYjDUV3pUvdhbN05cqoamEx1C+k8rT+TZcFVbVO/IZxNk3/ZWWVoICGhwjv8tWSXIxSQ= X-Gm-Message-State: AOJu0YwEPBG+jQfzlQjGRLVwuZeGs4ONSNcymOF3LaVSG/QNC7pSXRL4 zkHpTAdJr+oUy1W2f2ZNKPaEby1Q//RNWXcnnmBctlKDonkZ4t5pESmuosrz5F5FsZc1EBp5K75 c X-Google-Smtp-Source: AGHT+IFq/Adya3X5OsyBfgam4Py8iCCXOM0I3DHx7Tj1w0OCBjG5XiXen2SuCIRXr0J4ExNrUaelmQ== X-Received: by 2002:a05:6808:57:b0:3c7:498c:fcf7 with SMTP id v23-20020a056808005700b003c7498cfcf7mr6687183oic.14.1713661488526; Sat, 20 Apr 2024 18:04:48 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d6-20020a63d646000000b005dc8702f0a9sm5249627pgj.1.2024.04.20.18.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 18:04:47 -0700 (PDT) From: Charlie Jenkins Date: Sat, 20 Apr 2024 18:04:34 -0700 Subject: [PATCH v3 02/17] dt-bindings: riscv: Add xtheadvector ISA extension description MIME-Version: 1.0 Message-Id: <20240420-dev-charlie-support_thead_vector_6_9-v3-2-67cff4271d1d@rivosinc.com> References: <20240420-dev-charlie-support_thead_vector_6_9-v3-0-67cff4271d1d@rivosinc.com> In-Reply-To: <20240420-dev-charlie-support_thead_vector_6_9-v3-0-67cff4271d1d@rivosinc.com> To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Conor Dooley , Evan Green , =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= , Jonathan Corbet , Shuah Khan Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , linux-arm-kernel@lists.infradead.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=1713661481; l=1767; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; b=hyulu9icMTNXwLbjflf7C0Xl5YeTMltbQ2XLA8QN51kHOlvp6FCWy/LJXmE38OxRPEc+aM8R1 YR6kgYopZ1+CPQKnzpkvwUuYvw2Yq/0HsKWNdYaDF2yitkGCndYdvnc 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-20240420_180450_754785_696B635C X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The xtheadvector ISA extension is described on the T-Head extension spec Github page [1] at commit 95358cb2cca9. Link: https://github.com/T-head-Semi/thead-extension-spec/blob/95358cb2cca9489361c61d335e03d3134b14133f/xtheadvector.adoc [1] Signed-off-by: Charlie Jenkins Reviewed-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/extensions.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 468c646247aa..99d2a9e8c52d 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -477,6 +477,10 @@ properties: latency, as ratified in commit 56ed795 ("Update riscv-crypto-spec-vector.adoc") of riscv-crypto. + # vendor extensions, each extension sorted alphanumerically under the + # vendor they belong to. Vendors are sorted alphanumerically as well. + + # Andes - const: xandespmu description: The Andes Technology performance monitor extension for counter overflow @@ -484,5 +488,11 @@ properties: Registers in the AX45MP datasheet. https://www.andestech.com/wp-content/uploads/AX45MP-1C-Rev.-5.0.0-Datasheet.pdf + # T-HEAD + - const: xtheadvector + description: + The T-HEAD specific 0.7.1 vector implementation as written in + https://github.com/T-head-Semi/thead-extension-spec/blob/95358cb2cca9489361c61d335e03d3134b14133f/xtheadvector.adoc. + additionalProperties: true ...