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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F23D8C6FD1F for ; Wed, 15 Mar 2023 02:01:16 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Pbtsl0g3Cz3cJq for ; Wed, 15 Mar 2023 13:01:15 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=D0rK86Nm; dkim-atps=neutral Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4Pbtrl3Wtjz30NN for ; Wed, 15 Mar 2023 13:00:23 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=D0rK86Nm; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Pbtrk2zHtz4xDp; Wed, 15 Mar 2023 13:00:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1678845623; bh=zUCpIP8eMjrN8etQOwCOEXDVZhq5NHF0PZNHwLjUDmU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=D0rK86NmKbcJ+X9Ku6Qdk07mr2ceuEl3hAvcGnMcECSO6GxPRP3ecOPMCzlsq0mQY WdN0CgkfEyVb58TsHWzE/UPY6HlmpCBIDlInImAEKREsP9QpnSQUdjipzGlZ8SA7b0 MWuGx1T/dgc3UUr2XgZWDByJ13OJm0n6afDOyyfv9dddJfGxwKB3iyubb3xMCU0GdD giZ9ccXRwEzJptULR60dRmDVlFV7jrldUlRcLX1rhA9aHJDmNqGzuItVGHVXjL6gvN fEHONjOfqwMaHRqoT8eOJ17MgOCAb4e90HqU/qvLxku9/GU27DAv4jtoDwIL26NMQy LP3HRf+O19XZw== From: Michael Ellerman To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH 14/36] powerpc/pseries: move to use bus_get_dev_root() In-Reply-To: <20230313182918.1312597-14-gregkh@linuxfoundation.org> References: <20230313182918.1312597-1-gregkh@linuxfoundation.org> <20230313182918.1312597-14-gregkh@linuxfoundation.org> Date: Wed, 15 Mar 2023 13:00:21 +1100 Message-ID: <87bkkuojt6.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , rafael@kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Greg Kroah-Hartman writes: > Direct access to the struct bus_type dev_root pointer is going away soon > so replace that with a call to bus_get_dev_root() instead, which is what > it is there for. > > Cc: Michael Ellerman > Cc: Nicholas Piggin > Cc: Christophe Leroy > Cc: Greg Kroah-Hartman > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Greg Kroah-Hartman > --- > Note, this is a patch that is a prepatory cleanup as part of a larger > series of patches that is working on resolving some old driver core > design mistakes. It will build and apply cleanly on top of 6.3-rc2 on > its own, but I'd prefer if I could take it through my driver-core tree > so that the driver core changes can be taken through there for 6.4-rc1. > > .../platforms/pseries/pseries_energy.c | 28 +++++++++++-------- > arch/powerpc/platforms/pseries/suspend.c | 10 +++++-- > 2 files changed, 25 insertions(+), 13 deletions(-) Acked-by: Michael Ellerman (powerpc) The other powerpc changes look OK too. cheers