Message ID | 20240722-xtheadvector-v6-6-c9af0130fa00@rivosinc.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-riscv-bounces+linux-riscv=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 1DBA4C3DA64 for <linux-riscv@archiver.kernel.org>; Mon, 22 Jul 2024 21:58:34 +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=BJg6XHBjO5z82nAxUFSt3lgv/35imd3NGP07Jn9V+Fo=; b=tfq7yfwREwlD9k EahQ82eyxwEpjGnPtijWUtjqJmcFcgBkrVYTWonCUiZEIGv/0hBGqvBk3ExFCk2HTrone+rABL9y3 zKxJ8dnI55Inr2F4afX80VWYzCafKu1y9GLvm1wtiQ8zvBUojOFx1aD3Du2dpJfXGBhcFkwUplHIH mKZqi7zpLBzIJgXw7Fa0oS8wxrOa7pXnIHAAeSaSpvDqh6ieOdjnxNgDelv3O0QV8uvTOElj6MG4H tAseoNK6x/tdw6UKly6pjTcQfuAjmj0vTwVQtZrtihz/jwpIwshlV0A8nY9TDv3f9KD8q/qDTXta9 Ykya1qNi7LcTK1Ix59ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sW138-0000000AfVM-3sKx; Mon, 22 Jul 2024 21:58:30 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sW132-0000000AfPz-33HT for linux-riscv@lists.infradead.org; Mon, 22 Jul 2024 21:58:26 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1fc5239faebso173135ad.1 for <linux-riscv@lists.infradead.org>; Mon, 22 Jul 2024 14:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1721685504; x=1722290304; 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=425S2jEpk/4yk63j4Ow9jwZmOCFjeEcHZbKGmEqnWN8=; b=tQNZdtYCTRaGMDcpTiVYY6fGmHzm6UrBxPYykwI7ZYebxaTjymNwsv1eyIPYIKNtp2 aDA1XkNWzhkU+lkc+IM3z3a0BUcbfNRiYBY9Qb8yg+Pz0hKgeBMk+oVgmfGjdKapMWJ1 yfslOBNfZMHUjFs3IOJP5KxKIhR6DnFvLTMeOSHT6KsCNM4jPm5T5aHO95x6H4bVgy8K v2yDStGJe3lRV2wtbdPXntxHp1hk+3DsAC1Dar8GRxcE7wX87FFH54e7nZtQqogXyiWt T4v3UTEYggoLcLcVj+D9HYcD2cg1AZ2ukZEi2KZODLGIbqthYrK24s9b7afdGCEXqQQ4 OFDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721685504; x=1722290304; 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=425S2jEpk/4yk63j4Ow9jwZmOCFjeEcHZbKGmEqnWN8=; b=UQIFEyjzS0GjgCaxOGpeLosqCL2/NCawGV9Uz+0CYx+uH3CvcPIfd7d96bXwljnOaJ 2E+t2CZ9iFFXcQRFtQi5mUbGfymQ4X+92t4hEn2RpKC8AAMu8UKCckhdJPl7hxZEonuL WcTTXRvefveikWzTzu1+gkzxFi+Wba7GibBj3mETe8QrH0YTvVSQ3kz69yErxOfFxG5z +TVigqvoAk4mkoLF44WqNU7VScpwOrQVnlOiIh6SgmDdVaLMYOzO4E/+FQKev35P98kg ENHCK3Jk7O1sObFs/0enAcibA9jU0xN7JpNU1sunDtoew4+bJSO3oe1wS0epuu4gWbyJ gz7w== X-Gm-Message-State: AOJu0YzyOHXmf4aJkTN+KJeqo8FuEF8eWbkueV5LmgKPyBAwf/rn811Z AI0qVm8t9ewlCZqRX3IEvmxetbYJrHSYxSzfNLqhBq38bXeDc1JJnQEYtLrhQt8= X-Google-Smtp-Source: AGHT+IEoJN1pCcgoeebixEMdeRFm+lX7Fz51AAK3F3aCHBFtjYtz91oZywD8oyA7iNOCpmg2SBax6g== X-Received: by 2002:a17:902:e5cd:b0:1fd:96e1:802a with SMTP id d9443c01a7336-1fd96e181ddmr34308645ad.59.1721685503730; Mon, 22 Jul 2024 14:58:23 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fd6f44f0d4sm59997775ad.219.2024.07.22.14.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 14:58:23 -0700 (PDT) From: Charlie Jenkins <charlie@rivosinc.com> Date: Mon, 22 Jul 2024 14:58:10 -0700 Subject: [PATCH v6 06/13] RISC-V: define the elements of the VCSR vector CSR MIME-Version: 1.0 Message-Id: <20240722-xtheadvector-v6-6-c9af0130fa00@rivosinc.com> References: <20240722-xtheadvector-v6-0-c9af0130fa00@rivosinc.com> In-Reply-To: <20240722-xtheadvector-v6-0-c9af0130fa00@rivosinc.com> To: Conor Dooley <conor@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Jisheng Zhang <jszhang@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Samuel Holland <samuel.holland@sifive.com>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <shuah@kernel.org>, Guo Ren <guoren@kernel.org>, Evan Green <evan@rivosinc.com>, Andy Chiu <andy.chiu@sifive.com>, Jessica Clarke <jrtc27@jrtc27.com>, Andrew Jones <ajones@ventanamicro.com> 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 <charlie@rivosinc.com>, Heiko Stuebner <heiko@sntech.de>, Conor Dooley <conor.dooley@microchip.com>, Heiko Stuebner <heiko@sntech.de> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721685488; l=930; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=0jkC45FH0LUvSVfvCEJuCBZ027fqPbAipPAnc4zFoN4=; b=0RZc5Y7+dPFte3RfQycOhdYrS0o9oSHCnJx5nucXwKbADyIcT6a8rMi+tKbs59EJDNFM7h/IW hf3xB+tD++5AswmTbacfCC/pWDHRloSyAPnBD8iVQF4NrrEQ4Jj9uG8 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-20240722_145824_892372_D85D9B1C X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-riscv.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-riscv/> List-Post: <mailto:linux-riscv@lists.infradead.org> List-Help: <mailto:linux-riscv-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" <linux-riscv-bounces@lists.infradead.org> Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org |
Series |
riscv: Add support for xtheadvector
|
expand
|
Context | Check | Description |
---|---|---|
conchuod/vmtest-fixes-PR | fail | merge-conflict |
diff --git a/arch/riscv/include/asm/csr.h b/arch/riscv/include/asm/csr.h index 25966995da04..3eeb07d73065 100644 --- a/arch/riscv/include/asm/csr.h +++ b/arch/riscv/include/asm/csr.h @@ -300,6 +300,10 @@ #define CSR_STIMECMP 0x14D #define CSR_STIMECMPH 0x15D +#define VCSR_VXRM_MASK 3 +#define VCSR_VXRM_SHIFT 1 +#define VCSR_VXSAT_MASK 1 + /* Supervisor-Level Window to Indirectly Accessed Registers (AIA) */ #define CSR_SISELECT 0x150 #define CSR_SIREG 0x151