Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26439496rwd; Mon, 3 Jul 2023 09:40:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlFQVI+QwQqAG3m5hn13Buz959wN93QPqUwElkK3NKJalqRm099yDcn1R0b8YNIp2p0/Jbgf X-Received: by 2002:aa7:88cf:0:b0:67c:2b7b:23d7 with SMTP id k15-20020aa788cf000000b0067c2b7b23d7mr11044112pff.21.1688402410177; Mon, 03 Jul 2023 09:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688402410; cv=none; d=google.com; s=arc-20160816; b=P2rRYm45SK1P1SJ4Z3Ycp6EErwI58RX1/lrwo+YdioLW3UngCTr9wn8nrE3AHo9SUJ g2+sYSS4s/yivCh5HLMQYktzw1PQWZIVSeT+EpZccLbshl/+TRcq6yxngdTCC1+8bvV1 YLHqIHP88cWxgGLU9qJApDQ2bJ/GV7UmgjZsBayQIIJhYTbcPW7Lq9NbCUEWPl2Bi85P uzOaaStArSeTkXZ7yk7rGVpCIkVnt2BQWO1AY8TMofo9ZGGjSFABRuwS69j8FGa6Kd22 UGTFt4OtJuvzFalY5xI6goeg2JCg/s68QjROb+w2W9rEVmVJ+ItsycMc612bDfUt+D6f t7Og== 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=+Bq3JLFaUMp7p3qi8SQ1dlGHIw95+wCB4rs20s4VRW8=; fh=Wo9sA3QD1j7B5geVbJboB62QsBZzq1wvHXvfqYirsQ8=; b=Psz5L+nWivYnEOucTxZbqlYB14oXIfhGjgAF6+JoOsMF3cqLpFCAv29M8lXbn/Z2Tn 1J23ZyVmuSzfM0kOOcCXTOA7jgBwaTra/ean2fap1QuJgn9T2OXwSRpqBIbjNrUnH8jD b5ZUFDNALJC4T0o5Y1rcZxICKtW1kUwJk0KlnK8Yb0mddt0wrA7u4JNmH/ANaNX5sagR Bh/vogPt9ahhY/mjUWfB8iQwDLGHa4nvBSkSOUNbewbd3huAOKP/gvLFT+DjkuGRl8Ni ulkP2txEP1S1xvmhwnV4mTsPCAOA8agcn2JnlWtPR+cEVTVJ8QZbGj8UILlOauazGl+e ZABg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hE8PSV7v; 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 c1-20020a621c01000000b00662186eb4eesi17440529pfc.273.2023.07.03.09.39.53; Mon, 03 Jul 2023 09:40:10 -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=hE8PSV7v; 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 S231261AbjGCQRt (ORCPT + 99 others); Mon, 3 Jul 2023 12:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231260AbjGCQRs (ORCPT ); Mon, 3 Jul 2023 12:17:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6842E42; Mon, 3 Jul 2023 09:17:47 -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 44DF560FB3; Mon, 3 Jul 2023 16:17:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8564C433C7; Mon, 3 Jul 2023 16:17:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688401066; bh=+Bq3JLFaUMp7p3qi8SQ1dlGHIw95+wCB4rs20s4VRW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hE8PSV7vCPY1sRrahmYRcyhHUDComDD9WUhrexjV8B+2CEmoIVgHKUtxgjOT0t+cB X2D5ZJ/N6dcVdlFQc1fHvftckHKLU6+NgQFSIXwXXlM0EnTbxKOyLwAZu5eC4EDEVC fjkk88htp6kmNvEFUJAT+fdMBSiZr2y2uZBsi+S5eknytQJMPx6MoyVznJtqJCeO3h z6i+3x7civpHfTe52ogtRMod0BGAWsnw0cwuhTcPZ1MKbvC7aO9dc9dozGBWpuaKOe 2bXp/InTEwdnNqYk9YFgfdGgkD2hJc6M1SS9RIGgNsAKdzq7p5COjmriXueN1cztLA jYUHI3mt0YlKw== Date: Mon, 3 Jul 2023 17:17:41 +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 04/11] RISC-V: shunt isa_ext_arr to cpufeature.c Message-ID: <20230703-bronzing-declared-5d568cb47339@spud> References: <20230703-repayment-vocalist-e4f3eeac2b2a@wendy> <20230703-steadying-skintight-d5b7c108551c@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Lh8iUyMcp5focI2k" Content-Disposition: inline In-Reply-To: <20230703-steadying-skintight-d5b7c108551c@wendy> 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,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 --Lh8iUyMcp5focI2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 03, 2023 at 11:27:56AM +0100, Conor Dooley wrote: > To facilitate using one struct to define extensions, rather than having > several, shunt isa_ext_arr to cpufeature.c, where it will be used for > probing extension presence also. > As that scope of the array as widened, prefix it with riscv & drop the > type from the variable name. >=20 > Since the new array is const, print_isa() needs a wee bit of cleanup to > avoid complaints about losing the const qualifier. >=20 > Reviewed-by: Andrew Jones > Signed-off-by: Conor Dooley =46rom v(n-1) that I forgot: Reviewed-by: Evan Green https://lore.kernel.org/all/CALs-Hsu5yA7eBPOFQkmd94GR+15wuFkbYbYSg4RubmkdQD= yi8g@mail.gmail.com/ --Lh8iUyMcp5focI2k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZKL0pQAKCRB4tDGHoIJi 0qgWAQCn/gTJHGIdLaZp94S5M6Qofeq/lQTJIbQxgUdoPPehwwEA7w1NKhjBffQw RcGneVD3M9Hz23g411ZhT0AEAUM9ewY= =h4pX -----END PGP SIGNATURE----- --Lh8iUyMcp5focI2k--