Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1478303lqt; Sat, 20 Apr 2024 18:11:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfbLhKMt1RLH/N9JdxUlhAtq4G1Fdycyz+C9yjp6mc1t2OL7PbgkSRl+BUKluWCa356TfvQc4uRXOxX32Pt348WAvORNh+ff4V7OMRPg== X-Google-Smtp-Source: AGHT+IHdG9FliEFCXNNhOrLxHWa0czOM4vNgGY8CLlqHSynuOtn6tIr6ZFAW1e65gd0nKTrqoadD X-Received: by 2002:a05:6512:7a:b0:519:1eba:6381 with SMTP id i26-20020a056512007a00b005191eba6381mr3708638lfo.49.1713661915855; Sat, 20 Apr 2024 18:11:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713661915; cv=pass; d=google.com; s=arc-20160816; b=x+DbWhdcY5xMQz7Ji9SPD/cmJy24Y4XG2iJybs6f1A5Zd2i3WKmfl4FFK+mjtqD3kR OwED3xock4sU9Jt8CQHBXvlW9rYOd6BlWLBOrCPWNpEgyWkQMLqyC8LX5FRH4XhN3l5C kYLTW0xqXFKkS97c8Gs7FaKCpbVVBy++t0vd0blN2WVPG1Wq5gnpPtTf8WbEnr6Rv16v knWeypyzvDMAAKf9FYrSU2vN6W787kPsPiW6NgBypGgbq1gMa9fmVzda8MdT+OqFnjAA Hr4Vg6PJzNtYw9G80l82zg9F5vUoLJvhYJVlkimqV12dJ77PtjczdkbsKjpOiLncUwW5 +T8A== 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=Xb9tww82u8GPwb/D9ZGp2c9YRfA1MZ53TtnEydxWwQE=; fh=3nBXUind4LJDwEH78kChV9m+1RB/nTmXHX17CjAxfsA=; b=u3DVERVQgD5dxrDh/tu4ewe1HaMn3DuN7OjCzeh8HKD9Lx5LESYWoWs+2POcxZvi0M p8Au/mFF2ljwVx++DmMeAR6KqiTz+EutFSGVI+iFNpIfzlPjb3/Fw84awyKuWoVVDmGs 6l1QGAQIWsy0J81D7p7B8qFfjnc6IVOWZcVynwgXUPA9iPsHkaw2DzZIWMnmYWqBuBmT 2oBOMiljOnes3x7IM6zr9cRY7ElqYz50jxH3q7GL6/HYIr1ssAR4Ek1kHWiRpiizlS4z ty2J7Dodaez/5eL8XSm6RJj3POEtb9p9lFsA0LY6gT2TMJws/iYLY5Ut4vheqozcjGrI JU/g==; 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=S9rhk12Y; 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-152408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152408-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 r1-20020a50aac1000000b005701778301esi4181990edc.155.2024.04.20.18.11.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 18:11:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152408-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=S9rhk12Y; 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-152408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152408-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 B2F8B1F22A23 for ; Sun, 21 Apr 2024 01:06:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D769B4437; Sun, 21 Apr 2024 01:04:58 +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="S9rhk12Y" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 95A59E56E for ; Sun, 21 Apr 2024 01:04:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713661498; cv=none; b=XnFj2DwMKL2jDeiE0j3H4MkTki3asvIf0oGqa1KLDP4lyJccbAyaGmW4/X07kU5k5xmrBe2Xib5lhcCk8lH2l55lNrT/rp8MuJ+BLLAc8nimbL+t5nhwMfc0cf2d/tP0M0XxpEQIiGK4OgeGfR32cycToFXr0FkeCyhgFvDzUxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713661498; c=relaxed/simple; bh=eg5f+2eUdPorsjTg1AXnvbZp1Gz8QKwXU/sn4bArQ/o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZljBuJ7jjpQIYs+fqiUFpnVIF66wCwpqTFaJS6YL0AkvxcENA2d1QekBs8iemTbpXOgUKJfZpSNr9Xk++p5h2uiWIeZCd96s3ZcI1E/oFBplPCxcaXYZiGRc9aHAmYj73g/VHa1suGDAmTvxeu/8H3GJxQN0w5zXmwXnYx4nOyA= 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=S9rhk12Y; arc=none smtp.client-ip=209.85.210.182 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-pf1-f182.google.com with SMTP id d2e1a72fcca58-6ecec796323so3365444b3a.3 for ; Sat, 20 Apr 2024 18:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713661495; x=1714266295; 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=Xb9tww82u8GPwb/D9ZGp2c9YRfA1MZ53TtnEydxWwQE=; b=S9rhk12YagI1DUk4AD44hLo/yH/Km8qxEnpd8ITuOrcbUjUN2BMPI5R3jLrNW5ebvL aKg+kPnU2wsBIf7UrXkHO+GXU3jh1Jw0YFZ1+vH+EGyWfrEMS25O9BAy/V6Rr7E2w9l4 jO4H0hSYeQwVKLJlnqej9QveIsQZ3UMc2CWSyOg1W5R6glJwqZQCEqAl+ULa6ffkR267 pZ8SUny7KVgmq7SLsiGzLxKDBqh8gIVjMciiKC4/z10vAHFe26HNWz7F/vPccGrkFMmq Gp6APLaCHYtaEFJfT2sAqjv8gfPZlrQHIRQGb2b+WMLFTnVV7DqVC9C5UaxXv/+z26lS BZVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713661495; x=1714266295; 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=Xb9tww82u8GPwb/D9ZGp2c9YRfA1MZ53TtnEydxWwQE=; b=F1FSsLuB4Kw0P1SZsfphv/YyoIgAwNIy94fSRFIdxBiXIgGhHRXilxJBpmsJb84TzJ rf4B7D8uJNAAi7cde1BIPpyvBKXOIPGHGWMPNwRwMhHufM0LO6Oy/W9RxxyUwyzKoyPG 8RG/3HzqrVE2FU6gX8Q5T6ZObCfCbmt2irdGfxcmBeAk0LEpbuz3cQT7PiEVJzTjbTAi Nj/iPF2/WttHuJ3c9rZl1PBrOnfzI2e0bylVhdVCWS7h5cS6KbEjLXPRPwIq6c9Yq2bp p9Gvrq13H3mhy3DAHIV1/thijjqhsYaoPRXgm79dO4BZntfN+gInbA7FHH2GzZGvjPaX Ib0g== X-Forwarded-Encrypted: i=1; AJvYcCUOZ/n25SnLpgXme/Igp74WF7LPz/XeNDY1qsZ+2HsgGI50f7+aDLL/ZZIFDJTHxrR+yh7D4dNcJhztQ4+qiANac8zlVHqufwYJ0I3/ X-Gm-Message-State: AOJu0Yy0gDtqXwHuvEAX8dUapVN1Orq8KOnJ59MtFK7WZUj9mdLiPAe+ TA5WJhIHc5pHcfRBw3gUVdmwDkvEWs82JH53N6REot5Qs+XMqG6c9yPKfB/6z8k= X-Received: by 2002:a05:6a00:10d4:b0:6ea:d114:5ea1 with SMTP id d20-20020a056a0010d400b006ead1145ea1mr8547967pfu.17.1713661495007; Sat, 20 Apr 2024 18:04:55 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d6-20020a63d646000000b005dc8702f0a9sm5249627pgj.1.2024.04.20.18.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 18:04:54 -0700 (PDT) From: Charlie Jenkins Date: Sat, 20 Apr 2024 18:04:37 -0700 Subject: [PATCH v3 05/17] 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: <20240420-dev-charlie-support_thead_vector_6_9-v3-5-67cff4271d1d@rivosinc.com> References: <20240420-dev-charlie-support_thead_vector_6_9-v3-0-67cff4271d1d@rivosinc.com> In-Reply-To: <20240420-dev-charlie-support_thead_vector_6_9-v3-0-67cff4271d1d@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=1713661481; l=904; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=eg5f+2eUdPorsjTg1AXnvbZp1Gz8QKwXU/sn4bArQ/o=; b=kZB/gcvpdY88mM3BCpDWs4dP4AKzfkcUQrEei7evf3AAbBAZdLZh9RDC+cGSOoMpXUpY+epQ/ BrXAER33w+vB259xFs7+rySg+Y/OSVCHSvRLoNArK0nYqNYuINYlX8t 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..50c9f4ec8a7f 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"; + riscv,vlenb = <128>; #cooling-cells = <2>; cpu0_intc: interrupt-controller { -- 2.44.0