From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C516CD6102 for ; Mon, 9 Oct 2023 16:16:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377115AbjJIQQJ (ORCPT ); Mon, 9 Oct 2023 12:16:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377177AbjJIQQI (ORCPT ); Mon, 9 Oct 2023 12:16:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B33A9C for ; Mon, 9 Oct 2023 09:16:07 -0700 (PDT) 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qLX05ACkobQ/OGT+" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org --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+--