Message ID | 20240502-dev-charlie-support_thead_vector_6_9-v5-2-d1b5c013a966@rivosinc.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19230C10F16 for <linux-arm-kernel@archiver.kernel.org>; Fri, 3 May 2024 04:47:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RebI0MICwxWQTRkjn6aNew68fxCTHZVj6+2A8FKEIuw=; b=ihV/B7XHqflMEt 6G96AqolesmDyJxxZ7B5mp7dYSiioNy5WS5c6rlewWlED3c6xczW38C2Mw/QSDNrKy0S1d8ybus5j xjvR/RJ8qQsq+DlY5FxDkDG3rvU45122zuWG8ySOgnFjVeYCJDe8VqBddIFepDUY1PsM6592xxWSk rMwgV6DNL0l2qCiWdjTTvA/f65vRa+iLeAikRtHxpARrSPM16I3iuzc4HaVnNi45wnIhN6blj+kCd nbIbgEz3/v/jD0X2lGZdEtoInGEhgQJjVk2sFCclSrwZ+f/l1ikLYjz8gnTqbcAmxk3yEq5uATIfS A38d2DJr2B+e4V2/gBFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2koz-0000000F1TB-0YAC; Fri, 03 May 2024 04:46:57 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2kor-0000000F1N2-2hT6 for linux-arm-kernel@lists.infradead.org; Fri, 03 May 2024 04:46:51 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6ed5109d924so7477323b3a.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 02 May 2024 21:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1714711608; x=1715316408; darn=lists.infradead.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=+VjeHR1eFFL9Gvz01+9XywijwOrTXSU/mr8HqBxiNzQ=; b=FNgROYdvUa9flO9z1dt6uPDr6sIvHNV1/mpzZPXV+Hlo9jY+kNv9VlrvRS3CWmm7Rb 6DcPFrYEk8+7XoKLZcy8AYiUIki6CUF9uIgerZxBqBqcJcfnURoA+4o5Bgejy5CCeuBq +yBAzIxVLrPSBIULR7F00RO1v2EnT5HadVXCRufGpV96hkFc3wo46MXZQftB5kuz+GNY +UwHlIyiAxNcHsK+RRXBDfEFmxkWtsjKaH4mSXDBxKJ90dyThRH5TadKKj9St7izeRAC GrSP3tA3FEhzOC1QkGJsUkO2lGGw2grWP5L9V/Xkl0nqUq6R3NG3y7EZAdindTDZTxhr uMyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714711608; x=1715316408; 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=+VjeHR1eFFL9Gvz01+9XywijwOrTXSU/mr8HqBxiNzQ=; b=BHFI6JNtQdjXG+d3Ruy7jzFQCP8yatqb5iD6egD+h/Fb1TrXPSqMy7hnYt29T6pxpX 30Rs5ypPnzKRAubJ5Cy7KD8YIWu3Uztle3YAbe60QpTXjM9dnk/b9/hI0k1sIJ3FY1vC WPm9nQtN/bWEp7ge51x+rD4WHVGUqxAykjPxsokU6XYieE78JWI7VdPv7kkV9ytuTKqW 2UjD46W1+tA5KLk7smw/uLeH5ANIWOLi74pDxBL/ePa1BHzxPn4NHV7T80YtBMjaeE6C GEMYcByIfS/mcHGyDFqto4STv3iU5AXuQKp6dudJRs/r7wmtEpv+2ceq+UzBarYtHS9E REQQ== X-Forwarded-Encrypted: i=1; AJvYcCWhiUXEUJTUEg0P+q9qAR+q0OzCAK7MnsfjBQKpuqSDMZHuaYUsy0cFf8laZPVL0ltlbihPEPGkOogaUTABLj6akGBOMtRj0WcdT26l+Ly5AH5YlXU= X-Gm-Message-State: AOJu0YyI+FKak8XsxRXSPrGzLB8ie+fjGi0i2acjdrEB6YRS6+B19aE2 6tnuzCnacvrFS0esjNEunJ9LKe4dcEGFwXK7OT3qzwiOnPzc3gxjco1W66w3dAo= X-Google-Smtp-Source: AGHT+IEMZ/Mstt6sFFiU0ca6U5szKwLcpC4LSoNcLngJPhJ25wEr0ZAm7TjLPos9QHN+8ULUaJiCHQ== X-Received: by 2002:a05:6a20:8413:b0:1a7:8a02:3058 with SMTP id c19-20020a056a20841300b001a78a023058mr2053596pzd.12.1714711608331; Thu, 02 May 2024 21:46:48 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 21:46:47 -0700 (PDT) From: Charlie Jenkins <charlie@rivosinc.com> Date: Thu, 02 May 2024 21:46:37 -0700 Subject: [PATCH v5 02/17] dt-bindings: riscv: cpus: add a vlen register length property MIME-Version: 1.0 Message-Id: <20240502-dev-charlie-support_thead_vector_6_9-v5-2-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 <conor@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Guo Ren <guoren@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Conor Dooley <conor.dooley@microchip.com>, Evan Green <evan@rivosinc.com>, =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= <cleger@rivosinc.com>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <shuah@kernel.org> Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt <palmer@rivosinc.com>, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Charlie Jenkins <charlie@rivosinc.com> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714711602; l=1443; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=heJ5mXr7Tx2wdFjG631ibJba5Q6SNbmXVyEpdKm9JEg=; b=oHDMK2MPe/lkNi4I1weAEI6zuYQ8edaqMwBunYR8EtuZeYbb3YWhKVd0K0WCUGyV8ctpL28Y/ fK0GFGbIuFsBkiUjtXJZg2jRDSbNRJt95AMJxOSvhqumeibiNGmllJn X-Developer-Key: i=charlie@rivosinc.com; a=ed25519; pk=t4RSWpMV1q5lf/NWIeR9z58bcje60/dbtxxmoSfBEcs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240502_214649_727785_A8D05FF4 X-CRM114-Status: GOOD ( 11.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
riscv: Support vendor extensions and xtheadvector
|
expand
|
diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index d87dd50f1a4b..edcb6a7d9319 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -94,6 +94,12 @@ properties: description: The blocksize in bytes for the Zicboz cache operations. + riscv,vlenb: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + VLEN/8, the vector register length in bytes. This property is required in + systems where the vector register length is not identical on all harts. + # RISC-V has multiple properties for cache op block sizes as the sizes # differ between individual CBO extensions cache-op-block-size: false