From mboxrd@z Thu Jan 1 00:00:00 1970 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 A0FA8374C6; Mon, 9 Oct 2023 16:16:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eU2EVyLZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEAB7C433C8; Mon, 9 Oct 2023 16:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696868167; bh=TUuYHkOnACwqBBmD9bJNqds06LCxmeRiTfbnAwarBgE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eU2EVyLZvP0ynT/R9wgeiq9r9+GUMtVerH0hdEET3jzhYlaDfeI/DmNIjffFhYsRs c29FAKVXTo9TBjOwydx+byNRi0CpoqNqEQBstZC0fL+OdsHQ0VTJ5+MPxrU6yvvTVy DoND44aejrDEG2pU1yl/Z8ziE5sQ5aEiecoNKpfebw63j/PKR8Q33OqJvLqSCn4z4I MVZTLvStj7UDzGDV1NwogxSnxHTBdZdxjx3QRb8z6zO/qAPz5CpvamzCPE4jCwqI5O 0T0H0pFkF0YY7YDPpzIkOnLI+5ng5KYYqjwsziP55JOvz2EWx2Z8cZ0IbcWdtHuk+T TDEGHZ/bTsriQ== Date: Mon, 9 Oct 2023 17:16:00 +0100 From: Conor Dooley To: Geert Uytterhoeven Cc: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Daire McNamara , Geert Uytterhoeven , Magnus Damm , Emil Renner Berthing , Jisheng Zhang , Guo Ren , Fu Wei , Chen Wang , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v3 4/6] riscv: dts: renesas: convert isa detection to new properties Message-ID: <20231009-underpass-decorator-12e153d8f8e7@spud> References: <20231009-approve-verbalize-ce9324858e76@wendy> <20231009-smog-gag-3ba67e68126b@wendy> Precedence: bulk X-Mailing-List: devicetree@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="qLX05ACkobQ/OGT+" Content-Disposition: inline In-Reply-To: --qLX05ACkobQ/OGT+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 09, 2023 at 02:15:47PM +0200, Geert Uytterhoeven wrote: > Hi Conor, >=20 > On Mon, Oct 9, 2023 at 11:44=E2=80=AFAM Conor Dooley wrote: > > Convert the RZ/Five devicetrees to use the new properties > > "riscv,isa-base" & "riscv,isa-extensions". > > For compatibility with other projects, "riscv,isa" remains. > > > > Signed-off-by: Conor Dooley >=20 > Thanks for your patch! >=20 > > --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi > > +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi > > @@ -24,6 +24,9 @@ cpu0: cpu@0 { > > reg =3D <0x0>; > > status =3D "okay"; > > riscv,isa =3D "rv64imafdc"; > > + riscv,isa-base =3D "rv64i"; > > + riscv,isa-extensions =3D "i", "m", "a", "f", "d= ", "c", "zicntr", "zicsr", > > + "zifencei", "zihpm"; >=20 > LGMT, so > Reviewed-by: Geert Uytterhoeven >=20 > I could not review the "zi*" parts, as the documentation that I have > does not mention these. These are effectively the assumptions that the kernel already makes, for things that used to be part of the base isa (or were assumed to be) that are now extensions in their own right. The Zihpm it'd be good if someone from the Renesas or Andes sides could confirm though. Cheers, Conor. >=20 > > mmu-type =3D "riscv,sv39"; > > i-cache-size =3D <0x8000>; > > i-cache-line-size =3D <0x40>; >=20 > Gr{oetje,eeting}s, >=20 > Geert >=20 > --=20 > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org >=20 > In personal conversations with technical people, I call myself a hacker. = But > when I'm talking to journalists I just say "programmer" or something like= that. > -- Linus Torvalds --qLX05ACkobQ/OGT+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZSQnQAAKCRB4tDGHoIJi 0pk+AQCDTGDR196WU+S3VHp6GoZyYrKV0pxVwcmVbOTky5SKxAD/bz6cONYAr9SE 2ryKqLVowNyGAA93Sr/qimPdZABBYgc= =nGga -----END PGP SIGNATURE----- --qLX05ACkobQ/OGT+--