Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2585335rwr; Fri, 21 Apr 2023 10:51:05 -0700 (PDT) X-Google-Smtp-Source: AKy350Yidv0VFS+TRt1sD41na0q3rg8hbZ2p8g2EF6kDrrJuxXbvodQy6D2LppQmQwxZwWRwi1+x X-Received: by 2002:a05:6a21:9982:b0:e8:dcca:d9cb with SMTP id ve2-20020a056a21998200b000e8dccad9cbmr8030923pzb.5.1682099464750; Fri, 21 Apr 2023 10:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682099464; cv=none; d=google.com; s=arc-20160816; b=SHwaan3vN9Vq/Geu4qtEdweFSWFjda3VzCRSXG4whYpwmlerEdjcXH7j4ELdg6Bvjq c+mawOzfnu3mMqfmJPnA8S4zpFxtk8BndHnzfuj1NzTYJA76kQ3bHeyZhEhAuckQEeoD u2LTgbfRz4XSmUNl4wzyoMYN9KuWF1Fq0rbTMZdpmIeufp19Qrbaf+Q1btWZeyy1jdot h/kdoW0E6etMRcfc9cMDB0OY+H2pHXUbclIQ64UAXald5kMabM0EYYGBnxPudHwTBL90 OP3c2C0TqsxNXlo2Puu7f8FDgHMZsdHWbRJUJjfl6+HjYe/S25/Qs5oMWyYZU7ZJSY7I x8tA== 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=Ii+umwiPLgHoqPjWpVsscc+8uzYEd6xFhrolQQm/Ak8=; b=Yz5EEolD0FtHrgtq7D6mYe/JzY8GwYgGhqmG/DRZddRcS9X9K3Y+cpq0/gW9JZPlpw XldZH/OBlxDC7hTbshnLpL38X9VYgkzHzZzOp5Cg0AG3rLFiGS+biw99SAfV0lLo3OJS Urk77EaJVFy4yoGcGpmW/CpEv35sXe9MGgIG5iubnIUkjYw/APa/4Bao0Fjt8fZOWGaZ +hLtheYxU8bSS2Wv+mB9YrpBxo5COG1PYrSeDoRZBByrO+o7edgL/F/mtHhBlHDEJU8I JZQrnqPRUeprWUJfCA5MbpI+n/mkUvCSBH3opSGatKzuq+D5lU/iB6S6RDpd8ooW1FDE vP6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WXAcwdQ0; 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 185-20020a6301c2000000b00523eac95883si4908472pgb.320.2023.04.21.10.50.52; Fri, 21 Apr 2023 10:51:04 -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=WXAcwdQ0; 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 S233461AbjDURtQ (ORCPT + 99 others); Fri, 21 Apr 2023 13:49:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233508AbjDURsz (ORCPT ); Fri, 21 Apr 2023 13:48:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C6A526A for ; Fri, 21 Apr 2023 10:48:40 -0700 (PDT) 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 5B40F629FA for ; Fri, 21 Apr 2023 17:48:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CA67C4339B; Fri, 21 Apr 2023 17:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682099319; bh=Ii+umwiPLgHoqPjWpVsscc+8uzYEd6xFhrolQQm/Ak8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WXAcwdQ02eP9WM94jFJIStkVwvRoVn12l3/Io2y38uhwsw+tNWbH4bNgCYFKEh25l qZ8FWbQt7DAwviohxha0vPtzUfrl7RIfUJ/LqBIMwEvZW8WwMiLPAGCLAPo6P8beN5 +wR15BdwtJtgCaO7tp9lGGeA1O3OWGcKRPRSDmHERG+H5otPnykPSYxqXGiSlJv++g 5+DHYuK3epfiIGN3eWjSBfKLzPz/L4aTy6CeIOZmV+fvGPibtvyBYPTnpacP9ODO5P eDrTjm9oxC1q3+7td1u/XZimFrB0cJs+hbzzhRHWOyygItlvwxnvzyQMQL0ibIxqza /4yfpIY/6Vqow== Date: Fri, 21 Apr 2023 18:48:34 +0100 From: Conor Dooley To: Evan Green Cc: Palmer Dabbelt , Albert Ou , Andrew Jones , Conor Dooley , Guo Ren , Heiko Stuebner , Jisheng Zhang , Palmer Dabbelt , Paul Walmsley , Philipp Tomsich , Samuel Holland , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH] RISC-V: hwprobe: Remove __init on probe_vendor_features() Message-ID: <20230421-humpback-thesis-052993278582@spud> References: <20230420194934.1871356-1-evan@rivosinc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aRxAucu+VMU5sivz" Content-Disposition: inline In-Reply-To: <20230420194934.1871356-1-evan@rivosinc.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,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 --aRxAucu+VMU5sivz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yo Evan, On Thu, Apr 20, 2023 at 12:49:34PM -0700, Evan Green wrote: > probe_vendor_features() is now called from smp_callin(), which is not > __init code and runs during cpu hotplug events. Remove the > __init_or_module decoration from it and the functions it calls to avoid > walking into outer space. >=20 > Fixes: 62a31d6e38bd ("RISC-V: hwprobe: Support probing of misaligned acce= ss performance") > BTW, in the future, no empty line between trailers. > Signed-off-by: Evan Green Otherwise, Reviewed-by: Conor Dooley Thanks, Conor. --aRxAucu+VMU5sivz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZELMcgAKCRB4tDGHoIJi 0r4oAP9MpkA95QmPfsVGArIe3XYGzsfJ9qessAghtLLA7WxNPQEA7mgwhKGzi3dJ ox2EWtciEAdDRS5RDGNln4ou3RSMWwo= =JmiQ -----END PGP SIGNATURE----- --aRxAucu+VMU5sivz--