Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp48123lqb; Tue, 16 Apr 2024 08:28:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcKHmqgCMEgrmnB4t5XxuzCAFxJd5h2eKtAzKc/e8XucFOv9QM57wFdUIDt44VBuYTQUhjqgLQJSwxxl0rYNSIUoZIgnZsSvSLMXY1mQ== X-Google-Smtp-Source: AGHT+IGvmyOkYLrS1MGdS4f9/FgpbmSOB3UNp3Inew9qmQ/CwA8OdQLtXD01Re8ugiZDLCmiKma5 X-Received: by 2002:a0c:fe09:0:b0:6a0:4255:b727 with SMTP id x9-20020a0cfe09000000b006a04255b727mr73558qvr.9.1713281313674; Tue, 16 Apr 2024 08:28:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713281313; cv=pass; d=google.com; s=arc-20160816; b=waWCNngzU4V8rEU/uI2XYMLGE6GW+C9zVWt28NHkJuwwmpCoj0kTSH4mVRvlTOF71j wCAecww1/qiDKssAdSAPn8uImMu0WnOQosfIwdkRzrt/p485y+Kctk+n/DdkpbUIIgeH g7NLl8jsVKkRoEES4Qkjmg1xEPuMgP0ZbCnugER8LhfGxLVacRAoOTtaqWdR+u/Fn3cS C5EokKlUpmhbtIEoZJT2Sp70aRmhwq/bOGY8GVg/YlHOO3bX6D0jcH8q7nASt9lFMCtc 8TbBYCNVPTIFmuktFKWWmW/6Yg424KdGL7Gl1Va5ypDRX0rIDX/5go/bCvXpeQcxZ5BQ /v1w== 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=ap1nH41JFfxyuWrDl5U8Ue8vi90jnouUWwwUSqM9+Mk=; fh=mBwwpQbay9vhzTgPULjjDn+LkmwbaBeNVRczdYQ/Av4=; b=ESAvy8qJD432jDPcVSwHBK+fCcNivoI+nczOGcmKB0w+MFiS/EZsCenkbi3dqbwxxZ NkKOPt6vv2ujSY4n/Bl8F3x8idBruqhANESYKg2AQBqzjKFeuM2L9IVPo0wBdB2hES2p lRBim2L3Vgk+Q+ZsDT8UxXYRAIQx3Pv+xbUXn2zhFs3OqdLvHv+Lw6sj4FbL0WbYgzTY 04LNFZON/6xCPjdzsHBCQ6BwvbSK9Fh8nXUpSCtlrOQPcwVWOHBVE9Qs+Ef1YjghH0Tt XRqYehLYZ8NSGxDcBhUJ/CTNqOex+Ob53u0tdpHKH5unfZI+D3S1IN0JljDkaVJ9nHpr 8Cug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o8bfNMUL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-147126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 pm20-20020ad446d4000000b0069b1f1c3f5asi12560915qvb.497.2024.04.16.08.28.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 08:28:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147126-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=@kernel.org header.s=k20201202 header.b=o8bfNMUL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-147126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 2FE811C21540 for ; Tue, 16 Apr 2024 15:28:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AFBE130ADA; Tue, 16 Apr 2024 15:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o8bfNMUL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69480125B2; Tue, 16 Apr 2024 15:28:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713281307; cv=none; b=Z+KGLj/BwTbhmReR95Cv/aDjISNr/vlXJax9dl9DbsHOUwDtv1mRoWscc/PHP2Dy4yB4BxY5xzodudO1uRWnS+vilMJtIEwngVxilzOdk7L0D1wAZhnNQGXvq0ktBizPhjMGx4CmwFFjDAs0b9EugRMU+OvYEkNPZF4ZbS2/YA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713281307; c=relaxed/simple; bh=e7THuib2jYpaypD6WlnQShylaP5wyEwmwYV9EkglRW0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i/qKj/My7l44jZ4QLPmQCLX64uiaDEcpM67YRu8a/SRVCXbXg3yYqqefjdejGIRDurhJK5/ByciaDsSpm1R2K2U/ndauY4QXyQl2j9k4i2yXLxT3abrbPyVybga+lrPYBWtVQ+h99mElurtLVRwVK9ozMcR6WAkt0Vs0vqJCSrg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o8bfNMUL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83258C113CE; Tue, 16 Apr 2024 15:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713281307; bh=e7THuib2jYpaypD6WlnQShylaP5wyEwmwYV9EkglRW0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o8bfNMUL+taETD8GpRDIgp7waHn4KT2C0/Kfgtm9sGK/Gqw7B6CcjydgFup6Fj5v2 eR0pZDwrzFCddOdkfli8TQaaKFa70tVQDghGZ4vXXNYa4yAAip2/LA2mqsO4AV68lH wQr0DxWi+8/LSo+0D0iJIgWsjf19bJy6CZoj7q3txJCiUM3pABkx+2DhJaGTINzzns +zuAC8sgnx00CD2p1HwDD1f/Unxyk9WgkMGDt2J1ay45kyw+CAQO+FOIQTuB0EdwhF wB4FFtR0UFva4a5nZGa2NsSpQPBJBRwjgCYlT4GLG3LO36C1lvwaYZBiHOFq1qC01M w+cDoQYVy7gLw== Date: Tue, 16 Apr 2024 16:28:19 +0100 From: Conor Dooley To: Charlie Jenkins Cc: 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 , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Jonathan Corbet , Shuah Khan , 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 Subject: Re: [PATCH v2 04/17] riscv: dts: allwinner: Add xtheadvector to the D1/D1s devicetree Message-ID: <20240416-scorer-easeful-4dae3c18465d@spud> References: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> <20240415-dev-charlie-support_thead_vector_6_9-v2-4-c7d68c603268@rivosinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6+SPECBpGFwY+8mB" Content-Disposition: inline In-Reply-To: <20240415-dev-charlie-support_thead_vector_6_9-v2-4-c7d68c603268@rivosinc.com> --6+SPECBpGFwY+8mB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 15, 2024 at 09:12:01PM -0700, Charlie Jenkins wrote: > The D1/D1s SoCs support xtheadvector which should be included in the > devicetree. Also include vendorid for the cpu. >=20 > Signed-off-by: Charlie Jenkins > --- > arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi b/arch/riscv/b= oot/dts/allwinner/sun20i-d1s.dtsi > index 64c3c2e6cbe0..4788bb50afa2 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 =3D "rv64imafdc"; > riscv,isa-base =3D "rv64i"; > riscv,isa-extensions =3D "i", "m", "a", "f", "d", "c", "zicntr", "zic= sr", > - "zifencei", "zihpm"; > + "zifencei", "zihpm", "xtheadvector"; > + riscv,vendorid =3D <0x00000000 0x0000005b7>; Isn't this effectively useless given there's only one CPU here? We also already know the vendor of the hart, because the compatible says it is a "thead,c906" so this doesn't provide any new information. > #cooling-cells =3D <2>; > =20 > cpu0_intc: interrupt-controller { >=20 > --=20 > 2.44.0 >=20 --6+SPECBpGFwY+8mB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZh6ZEwAKCRB4tDGHoIJi 0v4RAQDrqlZrOVNmVT2qJWHlaUy5oV83I9CLCGUxlH9aAGur6QEAoFXtsX7XrWNf i2shqmRRdXJ1R1aeL6/dha7DMntUqAg= =6P7j -----END PGP SIGNATURE----- --6+SPECBpGFwY+8mB--