Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1564246lqm; Thu, 2 May 2024 21:47:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBwQJOgsr/2varqcoOl7KPl74rhL3H2ACG4rPnomd9tK2JimVnQV3r1l7mbcb3EjfRDXfA+51xBKTqsGZd3mCjOcKhiyi3d7TcoI+4bA== X-Google-Smtp-Source: AGHT+IFaqTbqCtQMK498iApPruXSLBNYEhE2voMhJW0bfeFnEIfiw1LWqFlnQr2pkK/FLc99coMV X-Received: by 2002:a05:620a:3191:b0:790:f4dc:ba36 with SMTP id bi17-20020a05620a319100b00790f4dcba36mr2206387qkb.33.1714711624874; Thu, 02 May 2024 21:47:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714711624; cv=pass; d=google.com; s=arc-20160816; b=RbFPB61DSACUaEw0TlCHv9fky9eacHneIm4SF0YAxoLuTPSjq5gb95CTAOcUaehu5G zBSmjoW1ooXI3+XVmkKUY/A08cSleyr56i+0F7lNd3sX7QCqflwfhcsM+zTISgFJ4SqO uPxF/GHHUKXqo+IdyXIspI51sqw6vF3CeJUo/WirWfWElflBKy/habna9ZZDcwx+NwLm TRK3Q6LXX8kKniQvW4UyxG3RfhDOA/d2aWzDl47DGsUsiN4RYEIEMDti45yAn1jBjCxf VL23h156e17yz0GVPzWlavwk/NjDd3AluVlrT+yRDbj2C/x/TiSSC7AXH9bLEionTPdr C/ng== 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=hwHKtPYlSWXkdzwQJ8Eyy4G1vhLAV7IxCif4XBxSV00=; b=xp7eMT2a3CUZvzYbMjnsPAe3+cZPF75+QIXc+ZQn5wIVGfbWoS0mmKcW1nPvg2DW2p cX0wKCgM25YxueGgOhLhu/ITML092Rkb/eRVq/hvw9ag6ZpyJjOA8rIYqiHxGFZK7dvA h5TYbPbKJy9gYD2E3iwQ0iI1hT6ndgOx1l/pL5XpcDggR7XPIeYHBa5aHiQ3vXWlWK2D bKbUvfHHYO7zr2QJq/e5Fn/twZAiuG76h/KT2sbJaQhk9ZLDCGp78fmOZL8Pm4cFKBbl E4RnZidPuTfTEyHc4Rik4FKsPR84yE5lxtmPveT8glliruDCmZSomLWpp6Eih6VvA6Eu tOWA==; 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=wSODGb8w; 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-167232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167232-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 o7-20020a05620a2a0700b0078a5eeb5611si2667301qkp.461.2024.05.02.21.47.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 21:47:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167232-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=wSODGb8w; 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-167232-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167232-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 87C181C212A3 for ; Fri, 3 May 2024 04:47:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16EA013959D; Fri, 3 May 2024 04:46:49 +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="wSODGb8w" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 EAB3B13957F for ; Fri, 3 May 2024 04:46:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714711608; cv=none; b=GQSZJj5GjKgQAFVB7xO+NoDgCcHILZs+oR0u+8k73x6Q69fH9zpBcTknyz+xJyRboF+E1vgEqcyBevq2sTeCHAJYqqYNJdH7g/UT4SVj1uZUXhQDxZr25y0pP2IRtY6AF8gtx7Qw0NRQ/WLvxIzz5eMhUg3r63KYMAeDGMnr99U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714711608; c=relaxed/simple; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EE3ZdOiaG9xhGGM7IbtH2qWlwqNLMQse7XBp+iHoFG6dg5gWnOuStqu5/GBhF5uBNaO+CFyTQqMA+lwFxD8kFK74RM59jUW4AiIS6dVFOoymQYTTBdt8L8qYfH6OJTZZ/2/JFqqwq9G+K8vCbYcrcVHDrSHrX7w2JyvpcObAEBM= 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=wSODGb8w; arc=none smtp.client-ip=209.85.214.177 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-pl1-f177.google.com with SMTP id d9443c01a7336-1e65a1370b7so81149625ad.3 for ; Thu, 02 May 2024 21:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1714711606; x=1715316406; 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=wSODGb8wYNV4ddXn4F+NM3eOhDt240Gb7WDD0tOEFvgNxZq4ATtUMPk+p3oRB0dhhL UcQZr0I8topsRblDAeK4OE45Fl03LKSYgYLiBQ7u0odulZCjfg+p5I2kyUhOjZYa2iTz MlCz0FV2exBa31GjlXiV4YocDuh0KoIEigxELmvy52vBkaapsJ2jwEmOXGcQV7qibkep IgZyyPo2TQsjIiBj8W5ojG9k4pXVtGhLGlwjU2cMIyTvftslH7B8hDzDPwYVOP8hpena UV0FTZnCSxrkCp58FuBizVGs/GVVd8eD+q7p7TcWG7mpBz5Urvraoac0JIgGciWQ0doh sqQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714711606; x=1715316406; 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=IGZ8w6z9c0EiOYLl3IFu48PkjzdYWvMw6vz5Wj9rugZ+1tQiyWCVR8aQc5Fh83bVWb Wa0+muztF4BdDEqpo/1K/HiYfUPH4O2MEOoX3yLov70UgJV5C+D7mic4ppi2R1C8kFOB S/ZKnmg1cVlYl28yNddoBMKUaSqHBv6b4sT3+o9BCt6DVtVxl9zzILJ2FHZE7A0Ju4hf 2+kPK0suepteZI6z4rBLDbcjbPpkZywBrIO6eIa4Fn4GVCJ1tAYnvzRMvJ9TR13EKblJ aL4XZWBiM0lHZOdnbUQb5VBhzzuA3GxVRqsBTBRjBQjtqZIQM22vJEWI0tLS21kSD/no 3fRQ== X-Forwarded-Encrypted: i=1; AJvYcCXHUI1Kxfa6FOGdujZZWJuU//oWI6sSgoY8knKUvbaTJ9WjksKwGiAZFN8n55XeV14IB9uJVvmCdjNC45HnYKgpIPXCyOa/GAf3f54k X-Gm-Message-State: AOJu0YweRAw5bSYe4rwIJBafP7Gh/XdPMwnY+D0/oaVZSdJ5W6lFiu9Z KNL7SHZ+dguEkpiAaELqHJTFjFxDDc2o3G6lMTEJW9MzQmURVxBN5PBZ7lIPwGo= X-Received: by 2002:a17:902:ccc7:b0:1eb:fc2:1eed with SMTP id z7-20020a170902ccc700b001eb0fc21eedmr1841442ple.41.1714711606253; Thu, 02 May 2024 21:46:46 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id e8-20020a17090301c800b001e2bb03893dsm2240411plh.198.2024.05.02.21.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 21:46:45 -0700 (PDT) From: Charlie Jenkins Date: Thu, 02 May 2024 21:46:36 -0700 Subject: [PATCH v5 01/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: <20240502-dev-charlie-support_thead_vector_6_9-v5-1-d1b5c013a966@rivosinc.com> References: <20240502-dev-charlie-support_thead_vector_6_9-v5-0-d1b5c013a966@rivosinc.com> In-Reply-To: <20240502-dev-charlie-support_thead_vector_6_9-v5-0-d1b5c013a966@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=1714711602; l=1767; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; b=oyLK0Y3PHVDiXz4KLcIk3Zze14XD3Dj8FvvOLsEWb4mhVtA7Gk0Zj1s8367QGoX9DEP1j/2yN hDvPvqHGDMfCgkikiIADs4vpG9jXpfT5XFPyort30d88L/FSaRukOAJ 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