Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp60788lqa; Fri, 26 Apr 2024 14:29:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXg5XoMjsitfamBZf+vWwVcrAXSmFcgNNh50FgI6UWkKlJu219lyRAmyviiNQs7krCbeSCax2EJVxzFwCKJIZEmNdPqpCfUt1xHZj6Dug== X-Google-Smtp-Source: AGHT+IFlW0dbhxA6bsAaI8hsdYOhtQ2lIvE85KkzaxqI+rcTSTxglZ16yPdPT2iiy3CyNLlgM+HB X-Received: by 2002:a50:8d42:0:b0:571:be3a:e904 with SMTP id t2-20020a508d42000000b00571be3ae904mr2606214edt.8.1714166986993; Fri, 26 Apr 2024 14:29:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714166986; cv=pass; d=google.com; s=arc-20160816; b=mzMfdt8PI0zEzhndOv/ZPxsUGh3r+U5aRZQGxSquZ9/ImMqT+S09TxiyPilNjlgAkC l1GDYF5DuOvzKYn0ku98ORXHt/2zV1Oydr+w20c1I5UdSVGSn9MIB+CoCPSc49k0GLb7 Kol4LcGFOssqpB4NQ1grmEhrrnYebCML7InDdmxa1Oji/zFm9m2yBsrVteB7dYWuLenr t22jRxg1G31IYuFn9gGFIJy8hAkka+qbpM28nDi336Xk4bFH0qiiiyGPzUCg+lDTmGc/ JUNltvdJ//9pVnv2KP+q5Q+YszrTf9T7jwoqTPW+EbXmXXBr3g+9Bl4e9lHbjJ0oc1Ng 8vWw== 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=lgfYFDbCfF932csp/YLrp/PuhKp1Q39ErF54FiVnxto=; b=ghtQQcB7JqgC9RhBbJCxjMv46fNrxq4qZc26xQHMsjEIo4Ldie7xfQHvur17Q4B8t3 QQ2X6Nfj3WFnLwgRqLtGUSGYQI6bJ2QQu8EpVKV4h0zcgJ4R87TrRLwYlJs2RjtTfOYX udByaspnkTFh4FUTQXZwhQq3lR/qwY0wfx+UFjfa/zEtQrYJtOgYIL5H+N8qQBQxu27r i2cKRmA9Cw9QeW9PSiWFX+Atn+WerbhDyTR+v7TJFBHqiyN+LD7fcwWJPufmfsmd1h8M vxVTAQvYwY6WUQ4n2wS/7tBUNPcNKPwREefabB5ZxPSGSh80Vuky3PqsT7/Kir4WNw/G 6/+Q==; 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=K2ssANLg; 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-160687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160687-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 j24-20020a508a98000000b005724efa17fcsi1524791edj.424.2024.04.26.14.29.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 14:29:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160687-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=K2ssANLg; 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-160687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160687-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 8AACD1F222E5 for ; Fri, 26 Apr 2024 21:29:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95F39374EB; Fri, 26 Apr 2024 21:29:29 +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="K2ssANLg" Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 687222E84A for ; Fri, 26 Apr 2024 21:29:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714166968; cv=none; b=KASR/GudMimPodAo/yX4LGVa+UeP8qiU0z+CXfMPxfN0Wt1baUYwrkixH66XJPVZ5LyMOAMpKEFQF68r+WvhudcPl76jb52wsD5xb9ryClDcRAmHgo8079Ic6hrL4sg1BE9SIIdF1lqxoDiGWP/mF3MqeNj4OX3eF1qfDajSaNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714166968; c=relaxed/simple; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C9EtqiSgSMCw2cXPR85l1+T0DGnpLk8vdD2RPl+5X3mVS+xPW+XdSLl2xMmHO/D60WjSEGVNZajI3GH6x4GdxXC2yobVphTAQxJp6Cjy+bLY3OB1dM1+kzlKUlhB6jYZZz3nMFAVCj9VkTEirN+Xdac6hlJ8Oz+1i+mQpGgA3Q8= 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=K2ssANLg; arc=none smtp.client-ip=209.85.214.178 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-f178.google.com with SMTP id d9443c01a7336-1e3ff14f249so20038905ad.1 for ; Fri, 26 Apr 2024 14:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1714166967; x=1714771767; 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=K2ssANLgUEXcDiNQl0JMwtHMNJFG4g6/AHEq2XfA9dkD53f8HEwI+be7JZsvhE0ap1 SRejLa6YpZ34/auXgTNhzjMJRIE93Gv4lELTGujcTYu/Hh6QE/uaDfXvZBkJf2dZMBD8 61hqpHiAPmKZ3w9mTuMbQAyZDiwV2YZKQ4NAca5s79ezbMFHFnW74p38WuXSF2DTnBuf aIRMtLjr53SqsTOzONagELQ42tTzXJTkkLYGkMC5GbNy/MWnFDSWIRcNxpWCVnIjvDMO 7cDru7kly4uOp/BQORKwr5RILPsiJllX+0HRCP3zjfr7BQO3T0qvxb2Gce2tQ/8ltQBX rBaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714166967; x=1714771767; 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=NzwQ9D194dkk3TpBnNMT+895JgUKD97gd/FjHrXq5erfWpPINDSuKTaU/xH8qifQzh 1iMN8ix0IiiVxCIbiLmUoHAyALKhfisqvqfS+TWP2lCjIW/XJkrr1PQvEekkM3ebmjUU L0mpC1n2XXrBf3bEhPtc0+XJtOsx8xnUfwJZXz2AYWgwvX7LMAzOFGm2IOQCkoUM+LMD 0Bcq2hEJ78oQy7mSFfknHDPFAMjfIee728hP1aln66wkw5oNJdSGFX1hAuZutRQkmtF6 k/M48kJVr1255maIC6zpbvxRkhYFu2zLKhCIiLgbNIDOglkKAeuN/Prmp2UUJWht8qi6 l3ug== X-Forwarded-Encrypted: i=1; AJvYcCUKg/Er8ozhcPBsxhff7CquVFzyrd8yE77vbUaRbz3s1xtgWuDH9JPTWCcFBHZNo+iVfLafJ51DASGOmbtLkfKXC5nsmVaWQ4q7j9lb X-Gm-Message-State: AOJu0YzH76+YD67P28dOHuxrMRWbhF73b2V4UuHwzqNzDptU/KqbJz6Q 8i2/ypO1J1P7r8UFHT3Z8WrPIBeo5DbKAzDjzrr+Woh4kYv2aY47HVmS4s/5Z/4bIzs8klPboW8 H X-Received: by 2002:a17:903:32ca:b0:1e4:320b:4311 with SMTP id i10-20020a17090332ca00b001e4320b4311mr1056710plr.34.1714166966802; Fri, 26 Apr 2024 14:29:26 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id b3-20020a170902650300b001ea2838fa5dsm7226720plk.76.2024.04.26.14.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 14:29:26 -0700 (PDT) From: Charlie Jenkins Date: Fri, 26 Apr 2024 14:29:15 -0700 Subject: [PATCH v4 01/16] 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: <20240426-dev-charlie-support_thead_vector_6_9-v4-1-b692f3c516ec@rivosinc.com> References: <20240426-dev-charlie-support_thead_vector_6_9-v4-0-b692f3c516ec@rivosinc.com> In-Reply-To: <20240426-dev-charlie-support_thead_vector_6_9-v4-0-b692f3c516ec@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=1714166962; l=1767; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; b=jaORPILErFSO7xhvXfnnGlYnBmdAg6gEwE/qRdqy/WriwYfivrW0a/1HQ1UTuoOhAsFWym1gt hQyMCiyz9YsCarHlzfwDbmsyF9vDjGzGdZM+K2GgLhFFCqM2TyXd6RI 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