Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1476317lqt; Sat, 20 Apr 2024 18:05:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPrK64LXAZz/QI0o6KtwXdFqJQClwUWnF0YF3FObuXSxJCvJbrb8sBz0uJ+R8MDMEeP4AeBkul9dQBYI80t3Etndg640IXF4EaJH7Jlg== X-Google-Smtp-Source: AGHT+IGJNy/M4zVFx8bPTz4qJzIcbRaeXkh+Ex5akK2D7F+wzTOhdp+mC9Hs6j5hOFiWhDwwVbrv X-Received: by 2002:ae9:ec0b:0:b0:78d:601f:f955 with SMTP id h11-20020ae9ec0b000000b0078d601ff955mr6242857qkg.30.1713661519994; Sat, 20 Apr 2024 18:05:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713661519; cv=pass; d=google.com; s=arc-20160816; b=J8c90ZwMNo0aQEkpsJiDEQlkzCC2AChuNCORiW/fYNdhevO5mntNyc9Knb0pwrJizO Bi+f0WHjkFrIOkkJIlLs+66ey1Cdx73OXKKUXkPMxni2vN4gW1r1XHIQdodc9yYLN5XD fYacoEydXhwvUAOviIqYigPI7mwzPuMaQICcjcsTQggQEkkz5Ef9bkfUIIqn3nbIPpu+ l26YzonmtYFBpibWgdUBIiWv1QgPUCp0KsZQi6HNRwh3p2PYKNWMGcBYeX4jDkLivoMz iYl2g3kvd5+zGnxGb1of2Bcae2NNV2JJBCZ1Ryfej3M0PPCvXCSRnhAkk3MF6izIJuro e3hg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=0gP3BTCO/eMabIcPEHZlkkrT/LBtjjbwR/exXvwDsR0=; fh=4so4kP3FuqQERsg6gelIuFvzDr7wnkaNelw80zXv/BY=; b=BsEst6pFzesgzc6kwtv1HPRHE5lOiuU3vGTNc8vwXXdqCbCo8ZUsHLD913pMfcisF1 b1n7b9mHZe9PHk4Bq/ou9Rs4VCUE9UdjMqM6hvOdF703ooXHGrWJqX/oxOM5n9MYfD7g gKRCf8OwCWhV4FBqCI+01Be2dybHqkaxZKEGewKOUTrTCVRKogztpLfPWpTTJ1kw8aHM /RT6QSDOBwBSUW/xxA+cVaWe/M6MG61lzU7Zw0+ITJ0b7Xlgd/gZsYvtrOc8H/gD6TXP 3ijdlCF0pDPScwM5F5Wrw0YG0RCHhdgcvkcQ41HTGaoA9P9UIgsHEvMcs2NJVN0jL1B6 2Jgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=O+n0Nxwb; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-152405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152405-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id oo2-20020a05620a530200b0078efc63ecf0si7254191qkn.432.2024.04.20.18.05.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 18:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=O+n0Nxwb; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-152405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152405-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A7DE41C20D0A for ; Sun, 21 Apr 2024 01:05:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9523BA47; Sun, 21 Apr 2024 01:04:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="O+n0Nxwb" Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 606644C6E for ; Sun, 21 Apr 2024 01:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713661490; cv=none; b=Ym41Z22Q2uBBk3jugd0dFZ/7nkB//lI0HhZvxg+MyCun5ncv4/AddJ7xSiP90RGd4N6ewZH8mrIFOYtrg+Q+4HI3J288mP6+bNyws2tS1mebluKdUGvYHyyFKf/XiWer5/AZAW9PNcEe+M2gvdt/MszEC6OAUfE3VE38CZ5HKVg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713661490; c=relaxed/simple; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pZTdYLqwzIXYwvteze0YY9YiqdiDys+A+AypZa0YCp+sIkBsupIuqx0A4j5MSpBoWv7sAJhsgx761MZn4mIH8ug/qfllRO+QiNTotT6xEoZmsnzI8yND3mMkLRYqYPgK3JVxanNxSINr6Vo8PAGhOpViJ6fLQD+H//e9fiimPM8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=O+n0Nxwb; arc=none smtp.client-ip=209.85.167.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3c74fd6fb92so787461b6e.3 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=vger.kernel.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=O+n0NxwbI2lfrLzCGxcWXMlTcOSjN45uKYuipd0JG1tIWiOTpOwvrZ2aKFk1s1/YeU qLwiSYfQSBJsDh4npgDhPWZyKnopEMmIVNc0f0l2NEXSS/RS3c7ZJpaJDiN8QUxcpwHF okRhL6pXh0m7O7/tFA6NT80Fl0YC9/7ScSHAJo9d/lPXKJpSYyyKK/AurDNk57tJL2nV y8eamULx4JcqxOSsFfXucEPMwNN95RUmRToEQCvp3zve2ZNPO4WOMZ4k/vZfBz5qB0Hz UwTcOwYZUYu3GJ72u4DWBMdEYJQG75VUgX6BIHJ526IGEQbfqaEE+mJxW6xyGHereXbl O2nw== 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=p6dQPXvsHquOQGoBGHAnUKw/JyhbMwOljVLsNFNcSFXbEDFZ7ebKp2jvDeZUdSkIS6 LX7c2x77Yyxbsisja/bEeDl4sOdKteVEV9gv8hnWNUFoZxXmMg1o1vlSUBF90ZYozJEw P8ZwDR2Z62QafesEyu9/W2g1DPfrxrR+aN/sPbhHubf9lP4GvmdYSTqGhgPCkUw4kBb3 n7a2KXfEKz1FgmvluSTJj+0woTQL5w5gBiPuwteZIVlGzeomdcSWX1n5dxfenw9DS9zK xcn6B9xxZlxvvAnn8Azn1ZvbubCifLsPAYKdES8FinPo2/Kjr2Zuyh7EYKzQMkVpesdT 2UHQ== X-Forwarded-Encrypted: i=1; AJvYcCUvgT2kWHC141qrXyFHVX6K4Gz1GSJhvVnwS9DAG07c2bX5azN7eEABBaZZ/GAwnux7cC14LJTNP29eszWTn30jxsMo+JX4zRD0du8c X-Gm-Message-State: AOJu0YzDfC2HKFeOth1i5q9WRaydzG3k95C+mGDvpqm8/D/OvV8ojM3Q uDZRZlcQ5cVpcjsZ/nzpOup9kfH7YJCJw8zp2nanUL3RWPpZppjJqI55GL5Emc0= 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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?q?Cl=C3=A9ment_L=C3=A9ger?= , 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= 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 ... -- 2.44.0