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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B666BEB64DD for ; Tue, 27 Jun 2023 10:46:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230108AbjF0Kqd (ORCPT ); Tue, 27 Jun 2023 06:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbjF0Kqc (ORCPT ); Tue, 27 Jun 2023 06:46:32 -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 260FD10D7; Tue, 27 Jun 2023 03:46:32 -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 77F296111D; Tue, 27 Jun 2023 10:46:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E344C433C8; Tue, 27 Jun 2023 10:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1687862790; bh=+xuT7iGZhkP+A211xwLFUYbDH9xRuDSBsLPBdxlsJ6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GVSWGfc8VRRNlQu9xgNNnViP2jpXw+rgt2dbiaal61Et2lxx3TDxFxngfMBXcbbGO rOUz9Jcg/hiGUoTmb/196Pjb/fQhfV2Pik5Eb8EnBoaryraMVY0uQvRDnyLnyISuOg s6GPCvDLpftNpVILpFoCEJNX/t6y+kjq6nio4WuE= Date: Tue, 27 Jun 2023 12:46:28 +0200 From: Greg Kroah-Hartman To: Abel Vesa Cc: "Rafael J . Wysocki" , Kevin Hilman , Ulf Hansson , avel Machek , Len Brown , Bjorn Andersson , Andy Gross , Konrad Dybcio , Mike Turquette , Stephen Boyd , Taniya Das , linux-pm@vger.kernel.org, Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org Subject: Re: [RFC PATCH 1/2] PM: domains: Allow devices attached to genpd to be managed by HW Message-ID: <2023062741-passion-scarcity-2390@gregkh> References: <20230627104033.3345659-1-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230627104033.3345659-1-abel.vesa@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Tue, Jun 27, 2023 at 01:40:32PM +0300, Abel Vesa wrote: > From: Ulf Hansson > > Some power-domains may be capable of relying on the HW to control the power > for a device that's hooked up to it. Typically, for these kinds of > configurations the device doesn't really need to be attached to a PM domain > (genpd), from Linux point of view. However, in some cases the behaviour of > the power-domain and its device can be changed in runtime. > > To allow a consumer driver to change the behaviour of the PM domain for its > device, let's provide a new function, dev_pm_genpd_set_hwmode(). Moreover, > let's add a corresponding optional genpd callback, ->set_hwmode_dev(), > which the genpd provider should implement if it can support switching > between HW controlled mode and SW controlled mode. > > Signed-off-by: Ulf Hansson You can't forward on a patch from someone else without also adding your signed-off-by on it, right? Also, why is this a RFC series? What is left to do with it to get it into a state which you feel comfortable having us review it "for real"? thanks, greg k-h