Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1833375lqp; Mon, 15 Apr 2024 21:12:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6WE+EOrxdtTf03vXmzUe2Jzo4vu9IgEPoxHGTiaStRt+pRKRXjnPCAwKjBx3TfKkx3xvSk7JLijVBeYMs/1hfAlC1H8XPzxutp2U2wg== X-Google-Smtp-Source: AGHT+IGCB+06BKxjqgk/kZ0gLuL8zyP0Fe5TzVmoVr0zxm3AsWBwAEr8+yl3b1iB4F+n2r2FSjx1 X-Received: by 2002:a05:6512:2314:b0:518:dfae:2691 with SMTP id o20-20020a056512231400b00518dfae2691mr3903845lfu.11.1713240763103; Mon, 15 Apr 2024 21:12:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713240763; cv=pass; d=google.com; s=arc-20160816; b=kwu3uwWmA6fwyC2bt2HZ8QPaGsPD2g3Rw+bMWkBgXCmKbDTxdWTpVmMYbMoBiUaTbR xdYTnguinzSCT8iSVVwxjaXsp9iKpo5pObykP34cPWXcDajJyDzpncVeqrKeirDNmFp8 tArq6DZXAyya1HdwaAmTcEEsBt8OvdVmmQtTXHG1zqykkBUyBemXLlnybV+4HXge57GL 9YE6UZ5howxBzAKJ9Gmgbjz5JT3TIz1LgkqkuXMUOLDe6SRA14UnRyvOFsD9YI9YiOiW 7/I8mI6wKSbwl/trGGcHtr/oZwds8dfqzEBVOCisGfVY80qeFxaZ1DINUBrtbPh+tVtI eAJg== 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=Ix+javIgp733xv2R/th8q6ndEXpLyg6dF47BfihNDR4=; fh=OA03H/aBSN2mFnO7A4hZvNKjzUzHgJKDp0V6tGoUsME=; b=R4k687WFHWRJliaoS5amFnKU7Xy9QFGzsYoWEM5568OKQgWLPAIGfVH9hieey92XFG EuMGpio3ssDrejoYTKtDlMcjwI6WbuymJkdrpjNB5BtsMah9Kl6XRa6A2aUlhmOkSssV sRWTP9hMSisuyF+PsKTU3+PLNwBPlfVVLXFKUHvh5o5Njl142PefyAzPN+Z7PqztpzNv vTfyjp+NY7l+jC9vID5iwlRFzz3XXbIVXXdMndSw/mMl350VdgTzYlLVzoLQqOovYTTv cEjkI7TauKOJNIydbrGu/GXJQdPvI17eDuvHBJfSaOLJAJ0L3xcu0CkWN0SUQ/Cc2OsK dEjQ==; 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=dproWZwV; 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-146204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146204-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 el12-20020a056402360c00b0056e85fbf638si5369580edb.437.2024.04.15.21.12.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:12:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146204-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=dproWZwV; 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-146204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146204-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 A63ED1F23B08 for ; Tue, 16 Apr 2024 04:12:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AA4A33A28D; Tue, 16 Apr 2024 04:12:08 +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="dproWZwV" Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 5772C31A76 for ; Tue, 16 Apr 2024 04:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713240727; cv=none; b=SI0yZ4ow7XgNO4ZInSajXXBbGQeQ3XJ2uL/k18hJXoNZxRIxNr/Y8Xj15wNvSJf6nQt4C+6B7HXPrCrSArH5I7zlRc/jP4PE2E6SYsbn92btvuZXYeYPT8T3JeM/y7u4/3JEnsJ06aIMN2w09R5bPWyMTJG4ff/RnDNdkfeFC5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713240727; c=relaxed/simple; bh=LQrrqBv9wvdBWycpaHPL+H3slFz3ptTYlzHL6vN3eX8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GhzaDezvQK9wVV6wlgv4ye3TEGFc0WLCZDSfdUv5CppBsxWOLmM60CqtNQVTULICfg0sH7G0Pt7nkaZp+QwdMWlbTdpdn0bsvXENwKiJf66baIkq4Cp8IGNhzCDL+PeGnxaBXzJO/pFZ12i1fNuYFoq6d3W4NMx/b+ufHpNEVHo= 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=dproWZwV; arc=none smtp.client-ip=209.85.210.46 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-ot1-f46.google.com with SMTP id 46e09a7af769-6eb7a0b3fe7so1416337a34.2 for ; Mon, 15 Apr 2024 21:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713240724; x=1713845524; 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=Ix+javIgp733xv2R/th8q6ndEXpLyg6dF47BfihNDR4=; b=dproWZwVtPArVzw1RrZRRZti/sBjAMjDplrcBCypuqBYSRmK/D4KW1dxs6ZB66GHyD GIKYJQCzR0xx2j4qxV5fj2AReprPu3ueBMG9MRBjOjZnctLaV9uf+/PIjsohdb2oVo5h O88ha4lGw9JByqFGaUCAxb9Mua6ARym2rikLMnwzIn8TmlMdzF6f4/pd5qc6el9fgq1T MOoJg+z42bIfOlSrYeG2I85Y/1cq0M9Sp3mhxl+lQM5wvX+RDUPlzc3iCZDfkVzcKmg5 5NGkyhqVZxiM4Hjih8AjpsVSfz7jm61HsSCdjo9uQDdpZljuz9/V35/1nPGw8FIe24Ln hbNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713240724; x=1713845524; 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=Ix+javIgp733xv2R/th8q6ndEXpLyg6dF47BfihNDR4=; b=O4QsP3eQik2yqPw+wISp15eUA8JwMoeL0BMmGEJgoeypIqi1Bihxf34GuHLo9GcoFY Rw9iSSm5olL3wColwBso66Vwt0XZ7wcTxT4fZ2/LMCRcxo8dUCJbMIXzUpkiJaVcOOqp hNCNkJ8Sg3v3g9myMtW7KHxSw5U1AQY7d6mKET9WUD6mlHhIlI9v2xVFxdXUfyVL9Szc zgKCqBbXFRxsGiJilFgT/OJSWw6X9et/KmIHsXcXsBpzCqdu7pugT7c0nkTPaKTWdrr/ jI0xSFkYyO1IxZeFajgKpP1b507gUE9GWIUqfPYGoIQymv6ibZpdV+PNxiRn8vckRv8+ Dctw== X-Forwarded-Encrypted: i=1; AJvYcCUue0Jh4QmktLHw2Excp/yww5j0jHz/NdMDIlDSkiE6kLdMIOwnLF1JaBWpPBP6RGnhZWMAIHWeoZpac8KvWN09uGnePSSCrRIi5Cg7 X-Gm-Message-State: AOJu0Yypf43XRmQ+zFg5Cb0iAAv4/fMjMZeyE393MwpTuL0C1ipT3mU3 euZhB5cQi+FLnE5DRnJbtrMRsWg9vfH+9Ogr8/KKHn1etHwzm6ITfmAs/MKv4HA= X-Received: by 2002:a05:6870:1584:b0:22e:912f:252b with SMTP id j4-20020a056870158400b0022e912f252bmr15110674oab.2.1713240724489; Mon, 15 Apr 2024 21:12:04 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id z184-20020a6265c1000000b006ed4c430acesm8383149pfb.40.2024.04.15.21.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 21:12:03 -0700 (PDT) From: Charlie Jenkins Date: Mon, 15 Apr 2024 21:11:59 -0700 Subject: [PATCH v2 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: <20240415-dev-charlie-support_thead_vector_6_9-v2-2-c7d68c603268@rivosinc.com> References: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> In-Reply-To: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@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=1713240719; l=1713; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=LQrrqBv9wvdBWycpaHPL+H3slFz3ptTYlzHL6vN3eX8=; b=pEvFaJ5tW8BRTsoIuU0vqAG3GqiyA34hephuzDd9Vt/mEXWI8V3M05nZxnw3RjeGomtNhqbaB ebM2WLKfKRbCojcWa3e7jXDiV067vSqaTtljUUTJYSibWxbVYFA+rxO 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/95358cb2cca9489361c61d3 35e03d3134b14133f/xtheadvector.adoc [1] Signed-off-by: Charlie Jenkins --- 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