Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp6070lqm; Mon, 10 Jun 2024 10:51:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUnePNF6CNvB5B2clbNJgHYe20fp/6CkAK2/6keXuysWvya5XZOAR8gToAD06de/vKWwmE/v+vrBzwl+dFRh3sRrTozGaFJqNwVRs+qmg== X-Google-Smtp-Source: AGHT+IG+nDA/yh6sTXUTT05tA+yWxJDa87noZ18mjEH3UTlhuAOuKKWTTotz2SFwmv0Nqs90wfCY X-Received: by 2002:a50:8e15:0:b0:57c:6127:d33f with SMTP id 4fb4d7f45d1cf-57c6127d3cbmr4507343a12.27.1718041896531; Mon, 10 Jun 2024 10:51:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718041896; cv=pass; d=google.com; s=arc-20160816; b=ABLbeDkpUtBZTd69fbXWKO/W/2gWofzy7PK5oMNNHjcMBJqHzS67jw1/7Ni/e0Yaxu 18gh03/MGurlm7+eoy18eWDzA7De/ZUEZUYU+enyRc66cHiUkcNwnToXiwFqGpaZGygZ 7oLzSU814l+S/WVIr/YTr4z9/ZdwX44Slh0r1wfFfesxY8Obye+ou9l5blfd/uy+7TtF y/R0uDFhKihbUM/ong3KWWOpSnlJ68QwgA0wuOUYrw/h0HGPHjuGMrzaV8AQPBpMIeSn KaHieq1hzfsypk/oBeLDyjt16oc/oxfz7NGtsxx10fFGbwG1RHW1Nhxz1rtwmLyo6jAF 4M0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XqAidOJkzifwbi0aDp05YiJHEtIMzMs4UmIa/z6sCUY=; fh=e1YojUDsHr5+l28ZLovcieYurnHYwOBD9ncANsuJIYc=; b=Mz0ip1li+eeNNEtGkmJ08kAGB+KoxvQnfEoH/y03JWkn0WiXeUHeRnIMIV21edZAfS jZp7BOLctR0LBQhKDNgxvwZGS7wzX7wnYkX7vz3AKarL3U/OemDN6VZAJKLJnicgt7DG gTiZgF2nhc6uyXuU6Jfmgj7R7HjnXA9fcNbiER1ckMkZ/7bWCzKU5VM6WqRa9ca/rT/+ vNz30wL6yZc2fci6IcgckDiw8R5wBDgc+B0BI9H/JDS7cLEbFKTCbGaFiPB65ZFCbniY moPfyQ/mMVhNlobMtDcfbQr1xeCggffP5hjJDGpnyEYywRE6/n6fRWdFkt7fQ8W5SooZ j4Rw==; 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=yE0KIRH9; 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-208678-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208678-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c6e989539si2651609a12.493.2024.06.10.10.51.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 10:51:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208678-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=yE0KIRH9; 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-208678-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208678-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 455DD1F23564 for ; Mon, 10 Jun 2024 17:51:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAB46149C76; Mon, 10 Jun 2024 17:51:28 +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="yE0KIRH9" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.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 B2DA51EA85 for ; Mon, 10 Jun 2024 17:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718041888; cv=none; b=mHf2nAx+hy9kzMbcOS0fz2q2IO3WKLNOxQZd1z7dN3H6+n3QkK/7tHFZb0yybw8kdAc2T1ieRHaNkrzsF+h7NG4RuOFJIH4zUFdYxqhcbG5Go6H2RNgowQsTYWaDaIHeTlS4DhLA9ZZ4jjjxFgd9ahDlU9cMdXZ0VYDViY6DORM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718041888; c=relaxed/simple; bh=FneSkAV3jCsGNrND9Mj7IMRiPZCTqIkhyvxDpV4xx9U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qD+OaxW5XrDAeE+yG+P8GfiY6v3tNODCMbVjIpzFghyY4TdgWhwrkbt6RaVzrJSF5CblqRNsxdO7xx0zyxD+r4ID4DS76CfTO6Z0TPYc2W74/AR/mk9XMX68GjN5moa3E8zwhf0nJS/tH22M9HS6oJ/0WrLIjG/SmmfSB1DmPhs= 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=yE0KIRH9; arc=none smtp.client-ip=209.85.214.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-pl1-f182.google.com with SMTP id d9443c01a7336-1f68834bfdfso34923185ad.3 for ; Mon, 10 Jun 2024 10:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1718041886; x=1718646686; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=XqAidOJkzifwbi0aDp05YiJHEtIMzMs4UmIa/z6sCUY=; b=yE0KIRH9+P2WH31mEKxGqMl6YrJ2kM3lDc2H7CjK/4nFbG5zIHxnzLypiGDiDe/EAb l3Z/OxaYHvAH2OT6OlwkH78xLTO70SVgHxRXOafcvewJa/zCXSig0+QQc2oxsHw1S0dw 6ZjN5wl3WbVAzNk9ng8ceDT5j7zAz/5es2/MNLWZea2MhWYhg0M/XrzmjtYKIyjaE8Ws M8l26/4sWYlgJbrY0binfq0UVC3bseNp1YnissWeCwLV8uskDnPxd325dW5/Hj2qOtsv pA2YbEZgSQbumZZiNtXJ4x/m/1kJY8QXwjII1o+rBNnxLD2mMHanz73u1tCDsVqYSdkC NZhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718041886; x=1718646686; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XqAidOJkzifwbi0aDp05YiJHEtIMzMs4UmIa/z6sCUY=; b=fuJvOQxYurzi29q8ooFVaxqTLuaX4RqXD0Nnwm2v9LUWLonnjNyqQNVq397j9Y5g+B Ht5Oyrpmcp2J0dni0ASLnDT6mkArapRIs9cncHfehGwEuUOL1LL2KuP3CvyZXJxUIGi2 BC8Yk/6fdx7It2XPqILV/g2b8WRjSFL48hoxN/kRmi+JAiobYwECsWyvvuQFYV7MrHaw 4xFV2b3XQxx6im7xbIwy0MOpLgxiakVpnmKOvFvZPH4yqhRmYJEjeXw/r5iBwbvFOQtb NejzawVRPOH802unCl+xBu9WmldjktICRR8h7iWOhDZrrd+NinVR8sigELSbNR9WXSqS z7Pg== X-Forwarded-Encrypted: i=1; AJvYcCUqzIDuyAHpNE+H8tqFBsWUSSK7DHxS/XCngajGixy45Oy1sar2bi2bgcn8HGNaAv3cZjE9nVC+PDqkxH6LkvUaUAVNJHm0IxEnRvO4 X-Gm-Message-State: AOJu0YxlDFU1Ift8wMCVn6e489iEJsDuSVBzbarMlcOOUMr7wnOsdylU QqePdcD3HPqlopWFfSzzWPELft6gKJyBPnYmESqONXL9LMX3pxt1S6++mEn9974= X-Received: by 2002:a17:902:cf04:b0:1f6:f5bc:51c5 with SMTP id d9443c01a7336-1f6f5bc5391mr72332595ad.47.1718041886043; Mon, 10 Jun 2024 10:51:26 -0700 (PDT) Received: from ghost ([2601:647:5700:6860:129d:83bc:830b:8292]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f70eeaedf7sm27441255ad.84.2024.06.10.10.51.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 10:51:25 -0700 (PDT) Date: Mon, 10 Jun 2024 10:51:23 -0700 From: Charlie Jenkins To: Jessica Clarke Cc: 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 , linux-riscv , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 03/13] riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree Message-ID: References: <20240609-xtheadvector-v1-0-3fe591d7f109@rivosinc.com> <20240609-xtheadvector-v1-3-3fe591d7f109@rivosinc.com> 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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jun 10, 2024 at 06:49:30PM +0100, Jessica Clarke wrote: > On 10 Jun 2024, at 05:45, Charlie Jenkins wrote: > > > > 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>; > > thread,vlenb Oh right, thank you! - Charlie > > Jess > > > #cooling-cells = <2>; > > > > cpu0_intc: interrupt-controller { > > > > -- > > 2.44.0 > > > > > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv >