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 X-Spam-Level: X-Spam-Status: No, score=-7.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76059C47096 for ; Thu, 3 Jun 2021 11:15:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 57857613EE for ; Thu, 3 Jun 2021 11:15:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbhFCLRZ (ORCPT ); Thu, 3 Jun 2021 07:17:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:35082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbhFCLRZ (ORCPT ); Thu, 3 Jun 2021 07:17:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A5AE5613E6; Thu, 3 Jun 2021 11:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622718941; bh=RwbkK9oF6LST8g6LQt2OeAbkTHnZ2UJmsx7Gny6sH+I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nRxQVPB8aRCGlO1BPnW4n8qX3/w7qxVvCdgDcUx4KdmevFX9NiOKOi16VS7PvHmsQ KT31a3l/uLZ3u+vSNjaxCvOgM3pf4LC1vrnTQJzk2vhkLZif8RD5QskjYa0umBFin/ 1p7b2QE061b2wNMDQ2zmMa6wv2vsKqJdGyblKtr39ILemR9DqVm/YcT05CtfHMiuF/ MOfjKvXJdO9I6Lw26YPE3EuM2nClZUiG2ljH3bNCD4phNccq9jhiw4yx4cnEPU7WkF hVpj6iFbguNaPZbHH/UFansBAoEP6vjPu4U5747NrPFPMHbalxaEkGmb7GFhkP0x1y DRgTRRFiEsVQA== Date: Thu, 3 Jun 2021 12:15:29 +0100 From: Mark Brown To: Ulf Hansson Cc: "Rafael J . Wysocki" , Viresh Kumar , Dmitry Baryshkov , Linux PM , Dmitry Osipenko , Jonathan Hunter , Thierry Reding , Roja Rani Yarubandi , Bjorn Andersson , Vincent Guittot , Stephen Boyd , Stephan Gerhold , Linux Kernel Mailing List , Rajendra Nayak Subject: Re: [PATCH v2 4/4] PM: domains: Drop/restore performance state votes for devices at system PM Message-ID: <20210603111529.GB4257@sirena.org.uk> References: <20210603093438.138705-1-ulf.hansson@linaro.org> <20210603093438.138705-5-ulf.hansson@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV" Content-Disposition: inline In-Reply-To: X-Cookie: Where am I? Who am I? Am I? I User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org --Y7xTucakfITjPcLV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 03, 2021 at 12:20:57PM +0200, Ulf Hansson wrote: > On Thu, 3 Jun 2021 at 11:34, Ulf Hansson wrote: > > Recent changes in genpd drops and restore performance state votes for > > devices during runtime PM. > After a second thought, it looks like we maybe should defer to apply > this final patch of the series. At least until we figured out how to > address the below issue: > So, I noticed that we have things like "regulator-fixed-domain", that > uses "required-opps" to enable/disable a regulator through the > dev_pm_set_performance_state() interface. We likely don't want to drop > the performance state internally in genpd when genpd_suspend_noirq() > gets called, for the corresponding struct device for the regulator. > I guess if genpd should drop performance states like $subject patch > suggest, we need some kind of additional coordination, that allows a > subsystem/driver to inform genpd when it should avoid it. Or something > along those lines. I'm not sure what you're looking for from me here - was there a concrete question or somehing? --Y7xTucakfITjPcLV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmC4udAACgkQJNaLcl1U h9D8kgf/dBC8AxOjnHauevy6x2baUEtxIkdLpGc2VA+tTItoQOpKj5VjLNVN4jR9 WSxXFtxgOKiJxnMPauE92BJzPN4zsYN/9++bb5Z7f6qnTDCkudumz17ofsYX6kNR 94SE6H8EQhtZvvYqeRt60EdcMRKvFpvI4DLd5Nt6FB+PaBhhQkMy0yQL9adke/ha VzkHdTtfMxyqw7iHgq/hfagCg/zYH1Ie+p61Iax8tavibpOHU6hkDUgSjKQQxLPO 31kwox5f/q+BhE5+Ruf+VBqSbAp84UDO3eNelr8yjgPZi5AuOca6Jt3E/tcXPfF/ UOmOkD544VJFywxF2282v8In8pGzCw== =/jXo -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV--