Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp144037lqp; Sun, 9 Jun 2024 21:45:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZGAbxsHPrqJdJr7dUsD75MtEcFNLC5Z9rwA8V+GpL0hnScs/fvIwP+b6/hApgzC4F/pjlXu8E/Wszs0IoWZJd7ekykDZ/5tm+3xFRQw== X-Google-Smtp-Source: AGHT+IGb9U9NUSbiedAOQ3OVa8j8oR298Ab4QhL37CBlDAd3vouNzcncQzV6eS8dR2i/II2AFxfX X-Received: by 2002:a05:6870:219e:b0:250:7a43:af02 with SMTP id 586e51a60fabf-25464456600mr8548631fac.11.1717994754318; Sun, 09 Jun 2024 21:45:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717994754; cv=pass; d=google.com; s=arc-20160816; b=Q+njlRTWv9HujuuOyzl5TUVG7RBnrqUnMEUntgMv8bCWLZWojrYH+frJfERmyf2eo7 3N8U3DDDm9L9iupfZgSbXMLn+YTR8fwUtBqRXwXaFm2wz063evVIBCvZDDwjLkOsjbI8 qmCszs3ayhk1UddmRT1gfpeG3DXPeyGCxFuhuct0ysqkLhCgdGOmH7pao/QeJupn80UZ AoVqHwRjB2kZAr8oLR2icBH0Bc6l+I1bFbU/qHv7p/yiSfDCozG2fEYitPB2CdZdeqT5 gEMBajgnggMnWSi9Qt1FTzAxmNVaWjidM22dvIcnNNdmc5gWzCTIsRUjjXmoK9c7SzUK 5s5w== 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=73mOm0ioJ9ay3H45lP+KbEo0JgGlUOwsIlRmqdclJ70=; b=cMdQI6tFCBN6JIJ7AUmCbUNDcRjMhiHDSPtWOMPnfzOfCknGn01tn5jy6p8cvB0K2H qO0xHOV/QVwijtoPZycgQDxnVDnX2JF0XMpLcPfWJHxwP1FCuA5MgUclmiW7eo9J0B4G eMCoOyT7Eg6sM6kfYehlBFgXu2EiV4MrAqsNUh58pow4wP+hEw1kToCIOwmB0cHdyXYJ ogB+KIei6+pbhaAWvU6gEJ737EoiTUYlwnizmrBNtoh5Efzgplczkt2M4+hbnMrew1NI p7Ce/+bY1OQ8OxvT2i8eEI/YWy2lhVVLFtlVAimM0KLpXqEsML18f/IzEv8uZ0IVgTsS zwXw==; 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=yO2MlF9C; 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-207626-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207626-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de261cac33si3915504a12.419.2024.06.09.21.45.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 21:45:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207626-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=yO2MlF9C; 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-207626-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207626-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 59FA0281E8F for ; Mon, 10 Jun 2024 04:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1474C11725; Mon, 10 Jun 2024 04:45:40 +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="yO2MlF9C" Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.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 C3B07AD58 for ; Mon, 10 Jun 2024 04:45:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717994739; cv=none; b=MvWFYWpQg9PIRe2wpUwoMfVBW0xnpl0nHwGQ2YQQW8Hm4C7dxwG+MvReNO4FZe1ldfIxWaOkSiiRaDSJrFT9owNnZsoxF1zz9g2xLj2+a8ImgR4PynHZFwdlij+fLTy9cOu475arUlSGyUfflidwAjuVw6QxoUqywJVfyo0UyWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717994739; c=relaxed/simple; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A6SOYe2mizWuO73M5LjfmfWwBMhv59FUmdTmhSvpeIurGM5mS/Ov/7oRuJxH+6pJp/+k3xz0SGYqrVqHOLla+v8oQ1T3145qpEDCi0FhOjMNO/Lavly+QnIWcEHso9eVwu/0lR/JyQfV4yKGPFrKuqzs982p6J6Kg7qHxG9KtcY= 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=yO2MlF9C; arc=none smtp.client-ip=209.85.215.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-pg1-f181.google.com with SMTP id 41be03b00d2f7-6e54287a719so1467935a12.1 for ; Sun, 09 Jun 2024 21:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1717994737; x=1718599537; 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=yO2MlF9CVgV55C8zLc2mcExV9W4UOBCDf45GzbcMIFmcn/LndIaWn7JKQ50Xu1cWPS H1RWv0z0xkqaEVkmf7zUViEIYseL+NM+9pEqyuLHuRCtndnGiC5UxGjqp8SxNxSPIsp6 ELPODX4pZ06no0YnFaagI4IfZ+TQSWgCNUxORbEHqrhocFIbWbFeBqetx4bojNIVyk5+ hOdgVF73DeGbmOo/aHTNoJMoBvbUfd37I+NyCXypBoWEPjz+AGF3d6b874taJOEuN5g0 iSZqT5sP1hWkSf2bH+/EwRun28QeOG5+gdKXa3ePtDNkQXyVbSGNgZOaXY+jXXAjvGkz cerA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717994737; x=1718599537; 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=qUJXuPEHA4GtyqDF5gCt4OcJobGc9hMkeTjMzrPfBAZuxhkEA0UkY17gfPfym7lYKg hbq1ap8MGJDDKClInVHG/BRz0mOb9n/meKARQFTqRIjbtUW2+iRc3jH5XTxA/yB/Dczo vsYE9umtkv6JyC3vMVa9AAkCql7+EDugJg/n1EBvzTxD/nY0z2HSpJt0oW3qBohmSu7z yCQ7fQcwm+8KjWy1ftZmQBrkK8+jkjWc35Im3gYpVr0ODaaDEahC/tY5Ec0JbyDDQOrW XTLdfwVS7oKGdtBYiBJ+VKI57dcfGkMzLBEhYQEVRKHPvNVeo0Bx53x6te6AtEClTi2U ZxAg== X-Forwarded-Encrypted: i=1; AJvYcCXyLvkOXSXjzUDTp6XMnYxriGSaqe+lZafuOaa8p6ostbG26QQ3f87+arCt7ff72z68YFbb2KITmotMMt7vPMmVO3B3YVNrASWMkRUR X-Gm-Message-State: AOJu0YxD0eb1XUFkPgXBpz3gNbXGoOZqgba+UVYsM2gHbjZMBcECeKqW S4R9nGGwL0CEpUK2uDiltg9ZV0xEUqI9MjXhmaJ4EjRpbSAREphx7cJls6Gnw9c= X-Received: by 2002:a05:6300:8088:b0:1af:3715:80c8 with SMTP id adf61e73a8af0-1b2f9c72398mr7890004637.46.1717994737211; Sun, 09 Jun 2024 21:45:37 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd76ce8asm73124095ad.77.2024.06.09.21.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 21:45:36 -0700 (PDT) From: Charlie Jenkins Date: Sun, 09 Jun 2024 21:45:06 -0700 Subject: [PATCH 01/13] 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: <20240609-xtheadvector-v1-1-3fe591d7f109@rivosinc.com> References: <20240609-xtheadvector-v1-0-3fe591d7f109@rivosinc.com> In-Reply-To: <20240609-xtheadvector-v1-0-3fe591d7f109@rivosinc.com> To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Jonathan Corbet , Shuah Khan , Guo Ren , Evan Green , Andy Chiu Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Charlie Jenkins , Conor Dooley X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717994732; l=1767; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=BFeF/rMqjmAL/T3qO395y21tghoeF4vuGyaBxCV02tk=; b=IOAoxXefLtnxcb9/gkClYMSBjiej8R99FUDNxVj9T92yij8sj0PIqkxukBdOvfHybExsRN5MX 8IFqt96IbAOBrlmGCI5VVCTbG5L+9+BjW8yNnuO22FIABU2PMBnuOK/ 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