Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp6139lqp; Mon, 10 Jun 2024 15:59:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9bPWhwWERcEYOJf3oWIwOy9bWh+RLABm6bnwuH7xiVVNJnYbCW0+el5Kd5JXBBhWENWumWtrTvKmg1WDjBFe92sIkG7wZlkjKxWGCbg== X-Google-Smtp-Source: AGHT+IHemxcFSmKcT8BQCwX/LlVVdC7IWbyKe5pP/IcKGSAuygCvjSh9WQjt4VJB740Hi0wdniPy X-Received: by 2002:a17:90a:fa4f:b0:2c2:cf71:4977 with SMTP id 98e67ed59e1d1-2c2cf7154e1mr7747691a91.16.1718060368099; Mon, 10 Jun 2024 15:59:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718060368; cv=pass; d=google.com; s=arc-20160816; b=p1q5HbZrpf6czkXJfoN0vuK8hcR6PhcI0o1eYEfQnkXY2Z1oOmft+2qt0inlyowKOC 5BXJDaGYbuiqIsXKHJV08MR6SIKE7uV7r/ItA7rYHqxE6m72jmB+caX7c8rSB+NBBWpf K9oY4h3syUV8LDEeiHmT76VcuOGnEb8n2RGLiGwTBjB64ypSA1lcZ5AVVlte/afLClDq NKeHPwWv2jzXVz0PNa/TdpVD9J39M5QSgftvXVFLbDzcElRxoQtUWohpRnL9kwoxk5BD nVJnhCTlG8zW6+/vKVdjn9A0dZ92wmmeZOXcErLABoJ8TbYkpOxuH2gMh7O8UhdXtyQR VdJA== 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=dLK9thpeAz/050Te/UpgqMxOgYJJfX2L6p0aPfIuJ0g=; fh=sBriEeMWPY7UZQqebQAG1ZfgGgaSEGjgcqGCe+QWwZY=; b=j5HsgiWxqzOcBcP5I7wimwSO0u6N4m/0XwIVYqUlfO4lRKzVr77QUFQx0qt1zilZ8m 5NFJhx8ToxOymN9LuPAfnN9b3CmIGWg8F/JtKQSIwZvIYEfl9KWLR16Iv7K4geXVydIk Qc71jKSzZ//dAqiOYQkLwnKHK6xWV8IjLUTcUUjcWd+vfW0HQdXkJpisULDt5beu26WL gJWLhDm0kSbWAf+Kx4GGMB0+UvIjnWaAXq/CklO2XjG4e6uLP1JHKf75P7+wCkqTp+nu cHaNw3Nnx1DDD+uePmWOuhDg664dflb3I41ghnZeCTuAnpJL1jro6juJ9VbaxR4dUYX5 lRZw==; 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="XEyUxKO/"; 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-209024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209024-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c32fb2eb32si251676a91.0.2024.06.10.15.59.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 15:59:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="XEyUxKO/"; 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-209024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209024-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D0289B23330 for ; Mon, 10 Jun 2024 22:57:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47C3B1514D6; Mon, 10 Jun 2024 22:56:56 +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="XEyUxKO/" Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 C2CCB1527A0 for ; Mon, 10 Jun 2024 22:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718060215; cv=none; b=ibrBDHJ0IueYzneJFolNJzsB6e1x6ekNrf29vAsCSEjaEArSgqpEh/OtiwBZMZku2l8a03ZbDIixdvgj5raWtg5u3VwUBMBr1aYrIXEzejRSoBVYSD9j8KcOzJ61r1VOqA+6ysnu8gevHa6D4vwJBJvOXkqLb5elHGJiKAil1ws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718060215; c=relaxed/simple; bh=ca9316m2q7KsJpXKaUYuMTEdVfJhCps1VG/+w2MDk+w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jffO9mxBI4TkdDk0ERyXrNyeBjHaT2ElGTvpXprdAjVdmy+aYOh721xB5KxNLYjwBhCxM7x4+JZ8Hye0HdJuEEwBAghxshH/rmkAu9SNNsnUZUCBcjF8581GMOK8TsNcbsIkzv2NkUwGFvu4l4Oh+RlSsWD5okq97Eg4DtoDPj8= 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=XEyUxKO/; arc=none smtp.client-ip=209.85.214.180 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-f180.google.com with SMTP id d9443c01a7336-1f44b441b08so3156945ad.0 for ; Mon, 10 Jun 2024 15:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1718060212; x=1718665012; 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=dLK9thpeAz/050Te/UpgqMxOgYJJfX2L6p0aPfIuJ0g=; b=XEyUxKO/CA+p8TahhN+T3M72CWwaZ+RJTGKl8n1M5BxSKlHFiVo1fKTfiDnq79bm8X /3dYC+AY4WV5Pt9HJt8ylE6P6iXPARtLjhcHBv3yxx6jPiH/kbg3SONOXG9ujr3CF/Xl /TfjagS69pScbMcojTw4cwGMjXDkOoxxXcvq8isDqAJ2sjNNU8ZVO6PLsaFdKPT/6UAG ZZDEE9oeK6xI0pUHVu+hzwqjC+IveU+4vGhjWn/lUZwUYXyje4XSoYSMw4ZIM3i9ScZT sdDRVBwMAbrJMnrJ834fxx2edOuxYMAjzMMypKKazVfKkP4x8FZdJqw7c5LHJ3ysvoti 6i8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718060212; x=1718665012; 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=dLK9thpeAz/050Te/UpgqMxOgYJJfX2L6p0aPfIuJ0g=; b=K9pEI0gqtY+M8T/E37wai6gvfcv1ULI9+alck5BCJhjK4sK4jOwZRm6T7ylWPioeQf Ebgp2cDmgaer8hDKYKn6TDSlmABs/+RjqJV5aRGhg/w8FTT9SwbPSoDe8nmIQ8JP0lQH WMLd5I4uZvIxlUJjl05PmIgG5ndk8lGXNCszejZJkNce+LrMcwP6+Ys5KrYLd40NAHht xMz7Bh4WUECmk6dKo4vspnYLr06Sy9xj6DLMfM3FWRmKX1nS52DOxBp/TksprJGgzVHa XANiEauQoEKlKP5vA16ypl9e7iUvwjUekG1UcGr61R2zU6lgELJICGQkTQd1aE+8HjOZ PgOA== X-Forwarded-Encrypted: i=1; AJvYcCWK8i9nmfqPEAs50C5f3L05FEd1Qv/hdR2zlKKV0vfGO2OaId5qrRduePMzFMoQ3JkMm/dSB0n1ts9g+32NlQiTiHnWganNBMWwEnnI X-Gm-Message-State: AOJu0Yz6Za30m//wQQl+T/P0ax8h88xb/vOkNCE3Hm0KHi5bc/tFnfPq nOG0cYlHc2NJqNab50tuVcvG07/z/FL8bK92+sSo3dQtqs4gJNn9ulfSiPDXZPE= X-Received: by 2002:a17:902:ec8d:b0:1f6:138e:59e8 with SMTP id d9443c01a7336-1f6d02e08f8mr123826495ad.22.1718060212108; Mon, 10 Jun 2024 15:56:52 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f71b597072sm18355865ad.99.2024.06.10.15.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 15:56:51 -0700 (PDT) From: Charlie Jenkins Date: Mon, 10 Jun 2024 15:56:40 -0700 Subject: [PATCH v2 03/13] riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree 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: <20240610-xtheadvector-v2-3-97a48613ad64@rivosinc.com> References: <20240610-xtheadvector-v2-0-97a48613ad64@rivosinc.com> In-Reply-To: <20240610-xtheadvector-v2-0-97a48613ad64@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 , Jessica Clarke 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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1718060203; l=904; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=ca9316m2q7KsJpXKaUYuMTEdVfJhCps1VG/+w2MDk+w=; b=Rd1RqXyTjzNZ0C4JTbHLRL+/rb2toKlfKsgxM0n+m70IZEjfnVh7+2UZReMpFZCIoGWFDgLBO f1XeHlkh/ZqA4+v4M5bCfih8O8eBXibdkflJyyCKnWo6RjK1HHDZMVd X-Developer-Key: i=charlie@rivosinc.com; a=ed25519; pk=t4RSWpMV1q5lf/NWIeR9z58bcje60/dbtxxmoSfBEcs= The D1/D1s SoCs support xtheadvector so it can be included in the devicetree. Also include vlenb for the cpu. Signed-off-by: Charlie Jenkins --- arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi b/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi index 64c3c2e6cbe0..6367112e614a 100644 --- a/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi +++ b/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi @@ -27,7 +27,8 @@ cpu0: cpu@0 { riscv,isa = "rv64imafdc"; riscv,isa-base = "rv64i"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", - "zifencei", "zihpm"; + "zifencei", "zihpm", "xtheadvector"; + thead,vlenb = <128>; #cooling-cells = <2>; cpu0_intc: interrupt-controller { -- 2.44.0