Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1988594rwb; Fri, 2 Dec 2022 04:07:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Wbm86x2mR41I6BbXVpWT8nrQAMbpmDQ0Jz0HZxb67It+6WC3pgUVzKIDztp1geHsXMsND X-Received: by 2002:a17:902:ce04:b0:187:3a54:9b93 with SMTP id k4-20020a170902ce0400b001873a549b93mr61490769plg.2.1669982856617; Fri, 02 Dec 2022 04:07:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669982856; cv=none; d=google.com; s=arc-20160816; b=YofKjbO7q+M/RsnyDy0lemvqyJKTc/SIL9k6tmbps43Rc90MmlZqvcJM+JJHBASvvJ YfwnYY6O4bzpQL2hOWQJif/4ELgK3bm4NwYQI1rlyg8xPN+zlutnstMrpH5KaDB3XJLp aCC3lE6XyFZBeLDbwkdp8isZ/LZDNcYvWV3cgfjHztbenUbbBA5Ih+Z0D/u+1/icms6k 8bl/9YYrANRC3f1Ht69p12nFFZ1Tif1xTA7Zjam6cNorhVP54aB/+h+QSoXa2FsGd7vl qrG6M2kXJGxbkS6eYbt/wJzShtfa+Yu7KGQgxpgZVxYgnIQ1fL6Q1ar1atq3UTxUMttX +YfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KXZlt2QTtdVPHkpNXh4aYzrIQuT778Ji2bIyqPljUSQ=; b=zlVTNaV+nu8uLaC/mN6pVQqRC/zH7uYOAd54XXNKS3zjvdpppe2H0k+bJYGpU0J3st YJMG9YnTIgUiGWfqEodf6JutbBb/2G2HRpX8o5H219lhRSLTXmNyU7sH5TKuxCdm9N/x hE49eF2rpfNRYKMNwWeVUfgN9K5q2LweSh7lqEA4qlJRbRBGWJZ8elTUqWgiE+oz0MyN d5J1Y+o7v/MPNpudH29BisxXLEctMTLQcf/gnX1sOv9RN/f7SAutUHPnw9YzED3mNv3m n2bQmIogWRKELWB0bTWUbXSqIJ4PErJZjfRUZE6o8RjhoTlQBW2jap8MvchO6hTNR2s0 6kvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cm++C5xa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q3-20020a17090a430300b002194e3376c0si9285431pjg.175.2022.12.02.04.07.22; Fri, 02 Dec 2022 04:07:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cm++C5xa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233301AbiLBLiL (ORCPT + 84 others); Fri, 2 Dec 2022 06:38:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233337AbiLBLhx (ORCPT ); Fri, 2 Dec 2022 06:37:53 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAEECC44; Fri, 2 Dec 2022 03:37:48 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E86962277; Fri, 2 Dec 2022 11:37:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7995EC433D6; Fri, 2 Dec 2022 11:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669981067; bh=YewXzhIS8GyLTLE7PPwddgjQzKBIgxmttnLpVTqiblg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cm++C5xa4tPbx5jWoaJN6Z8Gn8yBsULaVlvS9EenvDLj3tBu1qotBlqgpFc1GbYle 8p1RuOv+rUsLEpqOeE3OWHEA+9HqG4WI1jl7i8K5FTv0ljpjFH1un8Y2ZxIVxawpsy oQaESvOXmVR3Vasytk9X1A0sZuejOt2fwx1nW6E/4yng19flUEsE5TCJQMkhvYxcAZ TPVy7LvI/8NIHoZ7OrlSuFZXx5UCQpEgTAMj+xow5Kf42PHu6w0eC5rKA7WFI70dYR ArknVmEAjSyjamVj8pp1S04Sn7EvIOrbrBircUFpB18pmVtSadfEfGGsYGtTZG3TRO pxhBKT4qH59CQ== Date: Fri, 2 Dec 2022 11:37:42 +0000 From: Conor Dooley To: Bagas Sanjaya Cc: Conor Dooley , Palmer Dabbelt , linux-riscv@lists.infradead.org, ajones@ventanamicro.com, aou@eecs.berkeley.edu, corbet@lwn.net, guoren@kernel.org, heiko@sntech.de, paul.walmsley@sifive.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v1 3/3] Documentation: riscv: add a section about ISA string ordering in /proc/cpuinfo Message-ID: References: <20221130234125.2722364-1-conor@kernel.org> <20221130234125.2722364-4-conor@kernel.org> <66b3fd78-31bc-c435-ccc8-c8682b3cacee@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Q5Y2pBB/5VxqMAhM" Content-Disposition: inline In-Reply-To: <66b3fd78-31bc-c435-ccc8-c8682b3cacee@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Q5Y2pBB/5VxqMAhM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 02, 2022 at 09:14:08AM +0700, Bagas Sanjaya wrote: > On 12/1/22 15:17, Conor Dooley wrote: > > On Thu, Dec 01, 2022 at 10:05:32AM +0700, Bagas Sanjaya wrote: > >> On Wed, Nov 30, 2022 at 11:41:26PM +0000, Conor Dooley wrote: > >>> +#. Single-letter extensions come first, in "canonical order", so > >>> + "IMAFDQLCBKJTPVH". > >> > >> "..., that is ... ." > >=20 > > Hmm, that reads strangely to me. s/that/which/. > >=20 >=20 > OK. >=20 > >> > >>> +#. The first letter following the 'Z' conventionally indicates the m= ost > >>> + closely related alphabetical extension category, IMAFDQLCBKJTPVH. > >>> + If multiple 'Z' extensions are named, they should be ordered firs= t by > >>> + category, then alphabetically within a category. > >>> + > >> > >> Did you mean "most closely related alphabetical extension category in > >> canonical order"? > >=20 > > I am not 100% sure what you are suggesting a replacement of here. I > > think I may reword this as: > > For additional standard extensions, the first letter following the 'Z' > > conventionally indicates the most closely related alphabetical > > extension category. If multiple 'Z' extensions are named, they will > > be ordered first by category, in canonical order as listed above, then > > alphabetically within a category. > >=20 >=20 > That LGTM. >=20 > >>> +An example string following the order is: > >>> + rv64imadc_zifoo_zigoo_zafoo_sbar_scar_zxmbaz_xqux_xrux > >>> + > >> =20 > >> IMO literal code block should be better fit for the example above, > >> rather than definition list: > >=20 > > Uh, sure? I'm not sure what impact that has on the output, but I can > > switch to a pre-formatted block. > >=20 >=20 > Something like ``foo``? Not posting a v2 for another few days, but this is what I currently have: https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/tree/Docume= ntation/riscv/uabi.rst?h=3Driscv-uabi_docs --Q5Y2pBB/5VxqMAhM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCY4njhgAKCRB4tDGHoIJi 0nG3AQDN11twX+XbGwoN9/XYbdJzgY33yW3WXUGANYI/mtCVIwEA91AUTZo73nDi o+yCNCSVVUcFUSw6gPxGDo39EVTHCwQ= =8KH2 -----END PGP SIGNATURE----- --Q5Y2pBB/5VxqMAhM--