Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1564454lqm; Thu, 2 May 2024 21:48:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8eM2AL8EHfHtC9HwUSd3md8aBpkGzCgXYf0qw//acC0IQPBBclKcCzfzdoGtJQoRhrwHwNbWm0vHWGyuxIlMXwYPgmFts6/w2D7tvMg== X-Google-Smtp-Source: AGHT+IFmmKqtzGSJSLc790tOKIY+iO+cmBTecGARfRcvtYeVTNizrxWXW4ZLBjfQrC/Pq42LgCzo X-Received: by 2002:a25:d60b:0:b0:de6:b4e:c143 with SMTP id n11-20020a25d60b000000b00de60b4ec143mr1932929ybg.13.1714711680589; Thu, 02 May 2024 21:48:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714711680; cv=pass; d=google.com; s=arc-20160816; b=P2w/1MBQt2hj+haAIo/vGfC4Du21NkLdbd1T4IB1AwXnG5WOJEoKBvxfpVLtJm5P8R RIVHGUsr4BHaiMwYSlCE0+a7hSJ7TG0n7uWXcUX9U+j/xNjnQUh9jUSF7Sl5HMnCE2SS 7Bmzec0W35mMXP9usLzt88HFPjOySTWEWEL2yvK32brAULwDAgMKPvVM5IbUg0MmvPOL Q+PCDO2MFINZcMnVW9J7LU41I6DLOH++xXIgwvcSntNM+vgoG45DdeIekfmTEF7u7RqQ uo1lCE1hpb4SvdINAaGpjbKW05eXgR9o4e/mO2DurLCwgFpKP992KT72EIOnB7HbKCUc BBCg== 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=yt8TQssk2jk1g3Ly4AN93w9ZCaTD9MDgj1YzAZ8M82E=; b=WOxY1AZjfZlWPHwRAQ2cZBKaw0EF+EOTiN1He1CDq/qvpkNhn8O0updsJ/pgDSwy5u 334yMlls+vu2hufolbtA8wEXXxg6y7TwBFrhYBb1p/w8sM5pSpl7CdFD4l5f/4Zfck9X +FyQqes4Z1FjUaONASIMG3S8SHJ6SRvuKjTpIWfEddqvUSqNrbGvyufZGvrCsWm/UOWV TwnYa7ccK5Re9PaOhm8Wk+HmQxamLYf3n6ktCpIFm7esyDqCkTUYo+8cHkv7jGjRZz/E 8dzFL2R4CRP+75keEjFhQXvEHguOt3jjcOnhMcp+CXNxGYgSN++Pn88TbfqVZ35kJMCJ jKrQ==; 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=bOB6lElm; 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-167235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167235-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c20-20020a05622a025400b0043ae2ed3315si2546858qtx.489.2024.05.02.21.48.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 21:48:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=bOB6lElm; 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-167235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167235-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 335A61C21465 for ; Fri, 3 May 2024 04:48:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DE7513A884; Fri, 3 May 2024 04:46:55 +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="bOB6lElm" Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (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 2849D139D0B for ; Fri, 3 May 2024 04:46:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714711614; cv=none; b=tbEEFEo9FJkeI9s1+98eDb99NM1cRADZ2aYbt/LBp5tDKeHV29wvxrkwZSYa0mCiXYEWiat2cPfm1lDkhI+QZBInG/sjJetNf2dU5QemaeqFZpETYi4q09L+xL7JJ2p72cHOQgvcGkMfBQJRaHyOj+ymW51+HKhjZLJVyVI6Vdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714711614; 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=tGU8GQay0u7Z6lOirfhhlQ+ATYUiPS7OsSPE3dLUFmqNHTinJdG3YY/WhOO5/c3DiNKuiH3le84NiEg8O7xiyZc//LC0KSvi/NETQhbWqU40a+GuYxXbmSu9+WN5sHmiIyt1Dlq5U5TaawQVxVFn80fl03ClW495tpsrd/yk9Q8= 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=bOB6lElm; arc=none smtp.client-ip=209.85.215.179 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-pg1-f179.google.com with SMTP id 41be03b00d2f7-5d81b08d6f2so6448400a12.0 for ; Thu, 02 May 2024 21:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1714711612; x=1715316412; 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=bOB6lElmS6SNA4Kp6jRre3LuMAkD9gpCnA+N1P0J9wmP2PjnremYegZaHkqEW1nOLj ZEtff5ixFJaV0f/iRf/swA9AJ34XQCrFZUtrQUC8mioGYlXo+AdeevA1Vfd7Mlbw2+jm YSgtPA+Eyq3i9ejXiG8JeeF6cfnDQNeI1ppzrWdwWj99iJ2ZQLOCUsb0ClRa6sy736Z8 HHAmwG7Hht2MZV1kca+F9cczIj/2pqJLcVyw9SVAovHeUZEP+PaTKcI9vKwzlYbPX54i oFBgum1hYOr3SnaSCemo/Aldc1tFmbHbNLbOowtwpWqOIWRgNK9OfuLdiiPuqo8Hyakp crOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714711612; x=1715316412; 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=ONo3+Agil7YGRlurjRfRA/go9gxSfXi+nPfqTW7gkeG8ekMmHwtN302HrvzYMlINxO Nw1VKpDPGkE/9K5OBdG2OuifTD6Y2DIAdnWCXVlqfVeszgsgCuL7uXkimTvJGy7KMTNu 6z2bvoGKKiNjRZuzGihmvY38wM1iWa+fvsdSUAHStM4acB4xwExtu5iTiVoCjNr+IRYA UjmMB6C5hHD+1yXH/F6zASBU5vzsmoMqKDvyit0zjsCkf/Q87UKxRzFLC7UvppWp3bny 4+E+47IrMu2C4j/aFnayfrBj4TkjQjUpPWqWoE/LDegMUtwssJhG/NYp70fyMWtZKJUc wk3A== X-Forwarded-Encrypted: i=1; AJvYcCUPZpSM/14IhMTqo+VhY9S/9IXTWfZXBDIup1UJEOyeBGUJAPjNI9dNi0zbBZmw8WlvYNp2AGyt9HMa32bomwmYWJA3jWLHraGSlbX+ X-Gm-Message-State: AOJu0YyZqtdZdDBe3cHbyzrf2kNXIPcC+jmZYKJo8XTtJrAmfJhG/sYe M/866EbKzu4V63gsKLJ5dAEYOayneBw0lpBpiDvV+gIEylXl6bFy6Cmt+pPnHkM= X-Received: by 2002:a05:6a20:6f8b:b0:1af:59b9:74e9 with SMTP id gv11-20020a056a206f8b00b001af59b974e9mr2154976pzb.2.1714711612474; Thu, 02 May 2024 21:46:52 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 21:46:51 -0700 (PDT) From: Charlie Jenkins Date: Thu, 02 May 2024 21:46:39 -0700 Subject: [PATCH v5 04/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: <20240502-dev-charlie-support_thead_vector_6_9-v5-4-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 , 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=1714711602; l=904; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=eg5f+2eUdPorsjTg1AXnvbZp1Gz8QKwXU/sn4bArQ/o=; b=8IiFogJx9JBBPQ5oODZ/+sRV7hNPdv1Ar9s5kqJOcntxexJjJ6jCBV/6P4yvKFz+I1naMnzjp ueolnUb0+eoAAIxaJQM00OvIraOUtrlv7jCWmPGAhRsCznbLEKcwh5j 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