From patchwork Tue Apr 16 04:11:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charlie Jenkins X-Patchwork-Id: 13631210 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 060E4C4345F for ; Tue, 16 Apr 2024 04:12:37 +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=lXSVGq2RuJJNXgN+lytLLgnslh+PWy5Y9NsV6MCgXRQ=; b=t1CAHlSGgeR6y7 J0v+rYhZXVfiAMi9sKchk+JtEdnOcbsk3jbnSHk02XgRP2jghdWmh4P6xpWczY9UQUpzvLXuTLo+Z JwxxMQfZ9iuJxqGHrNTIEnZdvhyLzY19N5biVeBPczEdYWEGzvceUIT8T+hKgjolDOmcVf40ocRT6 i38AU9y0Z+vEvpsGiT5GS9TvwBOgfi9hXI5+GR9io3987BcOYfItpxFmwkPvTnJrpRgQLIm3zPBWv 2bE6Wrro/+C1Ehxz4QhnSRrA8vAbAhHzSMyXN6FC6uMLncubSGeyYdYv/wVfb20S4XkakXvoil9+u vrtWCIdcYvgn3atsilWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwaBF-0000000Akb5-0dNR; Tue, 16 Apr 2024 04:12:25 +0000 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwaB1-0000000AkN7-2kAT for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 04:12:15 +0000 Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6ea2375d8d0so3729021a34.0 for ; Mon, 15 Apr 2024 21:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713240724; x=1713845524; 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=Ix+javIgp733xv2R/th8q6ndEXpLyg6dF47BfihNDR4=; b=VuBlGUGKicYS4mK5uWkFLyKBUAj2DS9V22fJju/5u5J7hRfUWkPKm5SFtyraZbuj67 8zSvxD2IJVPowpBQBU01gibMXJremMNOrCvsg00eJzs00KgesjYpwua6Xi4acjzlbjPC k4slTus04ZPURUQ3epdZ4pQ1i8edEVM0CQJU0Roy3yMRvGePOlTTw6gx2JGDcS7s3G8V TlmxpIgpRpoCgjJPd4TAYwh2/ntYz1JsMRDUfYs2brD4jCBw2jMqV4rZYZxBt5D/L5Ln S6Y5uVJFOqatnBBvkl1Punw7ggKA8LqCtVo5lHfGHs1nxFcCuKB0SJ4bW6TPJ2gpWhst E/Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713240724; x=1713845524; 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=Ix+javIgp733xv2R/th8q6ndEXpLyg6dF47BfihNDR4=; b=GR4uHc49lBfPoQo36G63pwImkqEVWx6ObkOcbkD52kv+yrWn4vnLaF4fPpnbR/M+O8 fKotRu2NTM7PvMzo1zjFsMz1Jlsfn/gmZDpKH+fZGRvBUj5s1tosaWI+5HIWsHVEzxx/ XZMG0+3rPkyTwIgdNN6x5yzDz4vYNy6bx89gBJTSJheIIlSHmA5F65pjWAMq2RNHhQRp 4KCuTBp6GDFkuC9c2MFFwHPXvFA+zp9DLgROkNvXnVrLzcYrnOxaqRl/z+9T4cd/IbRA 13sDlAeOFsMm1zpmG1SGC7wGLMeJWaKquWrmiHAFth97I/IXGOI81oYtj2d4/SoWXTQi XPgQ== X-Forwarded-Encrypted: i=1; AJvYcCWKSq5tPxNYRI7sdBTDzk8bM8a2mA/EdXDBCevboNEPE7JVH2LEIFq3+n9XSSETPMbxPwhSD/4UHQiA+62vKGcqCQp4eKpI89DdmLVzv9Aoicpc3j0= X-Gm-Message-State: AOJu0YytMhSLib5iYbwQBWlwfZ9QBWvqaBBXYvH9oRVgRNej6lGRy/BI Adjkm/0X91j8NYhxxHqJp27XOHev87I5NKAUkVvgWJtrCNGcgtMtSnW6FUIvrKE= X-Google-Smtp-Source: AGHT+IGbXDdvkRXDVqIhB5dqemFYTdy2m0goN60loDY2Leve+0R5Bqf0uSbuOhPnRHK/s9fJTR1bFg== X-Received: by 2002:a05:6870:1584:b0:22e:912f:252b with SMTP id j4-20020a056870158400b0022e912f252bmr15110674oab.2.1713240724489; Mon, 15 Apr 2024 21:12:04 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id z184-20020a6265c1000000b006ed4c430acesm8383149pfb.40.2024.04.15.21.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:12:03 -0700 (PDT) From: Charlie Jenkins Date: Mon, 15 Apr 2024 21:11:59 -0700 Subject: [PATCH v2 02/17] dt-bindings: riscv: Add xtheadvector ISA extension description MIME-Version: 1.0 Message-Id: <20240415-dev-charlie-support_thead_vector_6_9-v2-2-c7d68c603268@rivosinc.com> References: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> In-Reply-To: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@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=1713240719; l=1713; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=LQrrqBv9wvdBWycpaHPL+H3slFz3ptTYlzHL6vN3eX8=; b=pEvFaJ5tW8BRTsoIuU0vqAG3GqiyA34hephuzDd9Vt/mEXWI8V3M05nZxnw3RjeGomtNhqbaB ebM2WLKfKRbCojcWa3e7jXDiV067vSqaTtljUUTJYSibWxbVYFA+rxO 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-20240415_211213_389223_89CB01F8 X-CRM114-Status: UNSURE ( 9.33 ) 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/95358cb2cca9489361c61d3 35e03d3134b14133f/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 ...