Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp927lqh; Fri, 3 May 2024 11:20:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQNDXQkpY9CKjvuZ7WWSX3od5HimU10xniZEPcd9QZ68ay/49L4oGMHt2HbqsWCT+tnHvCPn0p6MZLFHEILkryyvf++4pV17AQJGHBqQ== X-Google-Smtp-Source: AGHT+IGaZODzhxJqcwELFOhBknk6/eDYc0oBPGz6Ff0KXeTaA+2QFZ3EmhP0K68dcyJdC8a9FC7f X-Received: by 2002:a17:907:983:b0:a59:9c4d:da38 with SMTP id bf3-20020a170907098300b00a599c4dda38mr1262327ejc.45.1714760444595; Fri, 03 May 2024 11:20:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714760444; cv=pass; d=google.com; s=arc-20160816; b=YyAP5BbfGdS/KLOBzJWkvk2KTx8BtmugTb0k9jLrcDmjmVfnXvMd4HuuwAeRD/yMe7 3gIGT71+jH5YsGakIT9IVK5h61CW5sxBQeAaTvz9LJRP0VJDMJvlvJ22hw80OG1LFQxo +F/HfjH1yTtSRxtHLlHA9PItVZxOKqHOOwzppBQcserH+jicUgXNfelVMzqmRCOZn1XF jTW9xKRqz6cNFDMLOF4cvS3OT59+ClIkV7Uz+QOvNrQqZmXsa9ZPWolKDWKjP0Rex3cB HcVP8ML6lAAuhIEKKUCpkSu2wXq/5DbVl3fF9pTFyLk3A+A+EMCfr2bBPEHkujB3bBNY /yOA== 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=sN9O1VuRlPpCycmTcY8Z9hjM7EO2DjW+P6UMOGi1yO4=; b=TmG/RfmGM2U6baGh9iGb759jS8S0gnWtJAcKxDQh/r34ZCYBT5Kbi78D94aQUy04+B 0ZzaFOyJ/YiD8zA6RvF+v70U3ovQ6DPPA3+06Y+lIs1v8r/j2cpw0n0E7VH/P4Fg87KV w2OVWXO5XmZ5neQ6ApJTmd8b1j1r2OwZkDXkebrqXjcEEmX6c3JFsVRgvXY7Hir5kJxX apXu64w2gfQCK740velRDQcR1a5MOFqb34j3FDzQCnQsEgJ0VtvE9wCFTkMUFLzWWJo3 f/3iAj54bPW4zT1OJHUjX3hYVCzUfIC19bII7qyRkUtRzgePfoI+85v/sV32K3P0OH/j XccA==; 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=bybE6DFp; 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-168030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168030-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lo16-20020a170906fa1000b00a599a979a8bsi545105ejb.903.2024.05.03.11.20.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:20:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=bybE6DFp; 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-168030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168030-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 14B911F21383 for ; Fri, 3 May 2024 18:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E866158DC9; Fri, 3 May 2024 18:18:47 +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="bybE6DFp" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 23AA3158A05 for ; Fri, 3 May 2024 18:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714760326; cv=none; b=afvh4WPtyLNXZjjDCMTMqakkCz4pguWZQe6pspDjmX4BpVZO7e+7kBVJUBt3tRCyn35aACtOq9WS6Kd79cY7EwVdR9TkRXkLcuyOxdlu0FKYke4FIY5akxXdRF7Ver94+CkMpPmNW1Kxth3ri+3QZYMgy070UyFudPj5uVAfFiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714760326; c=relaxed/simple; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EMv9JOfmNJgJhfpkW2fLpD2agwQbPeIxvEEKGd5i6orL5ApSsLWCL9iqeD8LdRahoxVRmNeD5y3Cok4ZkPISpEnynMpSE1D3x/HoJD5ibc0TqK4X9yqNpOmlNzlVh7oVccobaFnJLuILoC3ubtx4AxhEJmYjgP8+CgcJgZXGgJY= 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=bybE6DFp; arc=none smtp.client-ip=209.85.210.181 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-pf1-f181.google.com with SMTP id d2e1a72fcca58-6f4472561f1so20189b3a.0 for ; Fri, 03 May 2024 11:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1714760323; x=1715365123; 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=bybE6DFpG76YWSNupvA+YQQHIsL1ZIADJN56vMYrzl+dbNLBqY2TV1Hf9F/q4NC1dn wVzVWUmOzM1Mc7ddzAxlDzxcYWX5cVXdIYEdBTIumugumbOcRLWByJK7wIX+asuLN57q Uj8SGO5kPtSDmFV/3KJUjCgCMbL8EXGLbs+4N/NPymm7YDxCaTKQ0uJ/65jw+bq5UseJ F4aQIOCLAA3WhObA4NgmIso8t2ydqDfH7j1DVUk9W3IMrLtFkSitPwwcY74CR5we836z +eZ/EtyFkX7/3faV2sKp8apZRhL85VX3OlFmEaoGLMDd+JbJt0qPLG8L7+0EJqyCLbLk jSzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714760323; x=1715365123; 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=FE7MI8yr0dz0GKGGO39X7ey0fn9kQOrsuwk9K2UGWkb18bzvBM81bQ4NIa84zLa4U3 /gMbDiD0NSKjOr09o6AAVE6J92NyBWOuDlRRJkoLAb9A1PntRjN6Vzcqi64PGgUF6fmT D40Crf6xREozE5b5koRG43E7EqbW1eNsL7Z4PE8iSAVQMP7vfhSUWYxx9CJJ7ByiVR/K Ncd6sKNiVDAR857jDTrmhoh5Cq94Zw4NIVF/EtO1YsJZ1O3j+3Yqznb3eJ/tmFnyjJQ9 qkz2KvQz8WRwlEGUi8kqIX3NqQxYap5K3T89cn3z5+h5jSMWzv7xBhpH6/cQmOF/aQ6h CAGQ== X-Forwarded-Encrypted: i=1; AJvYcCXoVKznY+sOQ8iSMFQ8pcRsdw/KppA1x+UB4Tp/pRWkubAZpiOr9I3Fp6ythKcEvOHezMLcABp3cUk+szNaqKO5mkhAT2awUJFCOaqW X-Gm-Message-State: AOJu0Yywuvdz2yAOn9m6r4Nlqtwgdh2o+IzONV7P3/vvdTmdRy4C+oQO 7iay8rcLHpMv6HT8uWGzK4gnlJ+zVmzzP6n2q22nM0uU3/lWs6ww7lnfRLoEQwM= X-Received: by 2002:a05:6a00:2411:b0:6ea:b818:f499 with SMTP id z17-20020a056a00241100b006eab818f499mr3821023pfh.19.1714760323428; Fri, 03 May 2024 11:18:43 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id fu6-20020a056a00610600b006f3f5d3595fsm3355421pfb.80.2024.05.03.11.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:18:42 -0700 (PDT) From: Charlie Jenkins Date: Fri, 03 May 2024 11:18:16 -0700 Subject: [PATCH v6 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: <20240503-dev-charlie-support_thead_vector_6_9-v6-1-cb7624e65d82@rivosinc.com> References: <20240503-dev-charlie-support_thead_vector_6_9-v6-0-cb7624e65d82@rivosinc.com> In-Reply-To: <20240503-dev-charlie-support_thead_vector_6_9-v6-0-cb7624e65d82@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=1714760318; l=1767; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; b=3O6DNsqnjho0eOFsM+BkkXkbFm6aePP2kGmbXVZ9SDtJ/226s0zD2dPzdYEZM526omlhaNz9u R6CoU3n69abBjslwqGP4BXTu4vuglNkUKagnVw882sVEOVJf8MhdD5N 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