Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26478880rwd; Mon, 3 Jul 2023 10:11:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlGE8sQR3qQVGm8uUsj6/Mp3HMhptl0GtfNdbhVC4gIkPIUKujNpgTMhck6UnyG5SFKHiHrb X-Received: by 2002:a05:6a20:841c:b0:112:5404:88cd with SMTP id c28-20020a056a20841c00b00112540488cdmr9749774pzd.60.1688404277567; Mon, 03 Jul 2023 10:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688404277; cv=none; d=google.com; s=arc-20160816; b=Un26X+28xMImMQEUQ3WJYwxi3gUjP+QCsDZH6nGOch/6L43sU/V06nKMM9y9Dq8Kn4 ngLpmh9VtreyO0KPSBrRqnHQngiC1VRZ+m/TnsvAyvlGNZavaCF0nuLlk4VMWN213Pqk jS/RJ0kYFTEFoD1nDcWDeFkcUPZYVnrOqJYEZhCHdQ2Wf3dyXGcrO/eLp0XtsMxrZ4+o gvMQ5ZwVclzoBvG4ED7bZcVBrLB19vjO7pksYK6WhqqfXA8uAc7NA6Ku1xrPTM61dHtc joxSKz7nm02nLa9KLMoz6tkTKE03jkCkvFafxO2CAxAjN0bsckXkpAtKzqteuVgApCBU O8fA== 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=JTevVLvj3EYl1fWMMxi04EGyH5Dsiv3lYD+IRooLid4=; fh=Wo9sA3QD1j7B5geVbJboB62QsBZzq1wvHXvfqYirsQ8=; b=vZiu0vAwplX6TcO7dd/FLlGmYq70tJCTc8pm9qroW5eyPmCTAL5lPcu+85zNgBprZM LMlE216yQYbv7dZ7zB8ELA4d9XsUu8dMCtA3MYqBXGtdsdUzBJg/qli0BGBqhcF6h3QU yqsb/8ZKQi/0HKdgPSoo63IZWXHjPoBrRJNM3lpiv5AElRoSPnQ4bhpa/EiojboaIpr7 WuVLlOOhpb/VCIIFteKmVhGoCPPGkf5NLI2ISHjh7H+WaGyr+i62/6Kagps/bruO/0y3 Z/OwgCJlYvxtpwW18ozhrlr31eFnMGCY4/ZENOXnw+LM0YpOugUCYNF9lwIQW1jL2eMJ a3uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CiCpscVm; 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 bq9-20020a056a000e0900b006813b381be3si10602878pfb.41.2023.07.03.10.11.02; Mon, 03 Jul 2023 10:11:17 -0700 (PDT) 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=CiCpscVm; 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 S231244AbjGCQRJ (ORCPT + 99 others); Mon, 3 Jul 2023 12:17:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbjGCQRI (ORCPT ); Mon, 3 Jul 2023 12:17:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4CE5138; Mon, 3 Jul 2023 09:17:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6169C60FB7; Mon, 3 Jul 2023 16:17:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF160C433C8; Mon, 3 Jul 2023 16:17:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688401026; bh=JTevVLvj3EYl1fWMMxi04EGyH5Dsiv3lYD+IRooLid4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CiCpscVmtLwtlr03C+J+S7pOm5HBjzckjCfZojZuaIiGVt8r77DyLUSGk8NY/Rsbh NWzznjLAAzD0GOk0U/pWNhIRGbzeW65vHHQ3e2eooHEbX///fV4ui76SNSIVaK0noN ZPQt92CgOTxtsxrmcS2bB62OdVIXhbLh6efBXBbKjuXh6CnA+IF8b+d3aw3pjQjmWt 4HG1UOlxh000Pjiz9eYovhb1CDPEiVxlF7nshYTi5iPCPAKI7rNBFb518iM18c5N0r c6Jkv60zDjasmQAAj8mO8UuBntpS4VHm7DpAa/0VyIytTbr5neZN8ZsGo/ujywc9hj gs+Pq4VAeMi7Q== Date: Mon, 3 Jul 2023 17:17:01 +0100 From: Conor Dooley To: Conor Dooley Cc: palmer@dabbelt.com, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Jonathan Corbet , Andrew Jones , Heiko Stuebner , Evan Green , Sunil V L , linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 02/11] RISC-V: don't parse dt/acpi isa string to get rv32/rv64 Message-ID: <20230703-baboon-panning-b8a7268899c7@spud> References: <20230703-repayment-vocalist-e4f3eeac2b2a@wendy> <20230703-foothill-enforced-86baba776d5e@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="S8rcp5QksxDE+03r" Content-Disposition: inline In-Reply-To: <20230703-foothill-enforced-86baba776d5e@wendy> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --S8rcp5QksxDE+03r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 03, 2023 at 11:27:54AM +0100, Conor Dooley wrote: > From: Heiko Stuebner >=20 > When filling hwcap the kernel already expects the isa string to start with > rv32 if CONFIG_32BIT and rv64 if CONFIG_64BIT. >=20 > So when recreating the runtime isa-string we can also just go the other w= ay > to get the correct starting point for it. >=20 > Signed-off-by: Heiko Stuebner > Reviewed-by: Andrew Jones > Co-developed-by: Conor Dooley > Signed-off-by: Conor Dooley =46rom v(n-1) that I forgot: Reviewed-by: Evan Green https://lore.kernel.org/all/CALs-HstMTxJFHEoSCaAUtYzT+a-2RSYAhWMQmkVw2+WE= =3Dy0agQ@mail.gmail.com/ --S8rcp5QksxDE+03r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZKL0fQAKCRB4tDGHoIJi 0p+RAP0SaOTCcjlKb7lby+pG6VFLS58+FyrQcXkCBeY7K51RPAEAux82L+HUS/zt evbKbKhrJ9v/b2UtdBwW0tyrIdyLCQA= =9aI/ -----END PGP SIGNATURE----- --S8rcp5QksxDE+03r--