Linux Power Management development
 help / color / mirror / Atom feed
From: Brian Norris <briannorris@chromium.org>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Linux PM <linux-pm@vger.kernel.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Ulf Hansson <ulf.hansson@oss.qualcomm.com>,
	Linux Driver Core Development <driver-core@lists.linux.dev>
Subject: Re: [PATCH v2 0/2] PM: runtime: Consolidation of last_busy updates and calling rpm_idle() in rpm_resume()
Date: Tue, 1 Dec 2026 15:46:20 -0800	[thread overview]
Message-ID: <aw9cTGQ-e3UBytWL@google.com> (raw)
In-Reply-To: <5129504.GXAFRqVoOG@rafael.j.wysocki>

On Mon, Nov 30, 2026 at 04:01:45PM +0100, Rafael J. Wysocki wrote:
> Hi All,
> 
> This is a follow-up series for
> 
> https://web.git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=26236a3e8803f7e1ace104020d7f006edb220116
> 
> which is in linux-next and it replaces
> 
> https://lore.kernel.org/linux-pm/10954171.nUPlyArG6x@rafael.j.wysocki/
> 
> and
> 
> https://lore.kernel.org/linux-pm/2062233.PYKUYFuaPT@rafael.j.wysocki/
> 
> (hence v2).
> 
> It makes essentially the same changes as the two patches above, but in
> a different order and with somewhat (hopefully) more convincing explanation.
> It requires this series to be applied:
> 
> https://lore.kernel.org/linux-pm/4779892.LvFx2qVVIh@rafael.j.wysocki/
> 
> The first patch simply drops a direct pm_runtime_mark_last_busy() call from
> rpm_resume() that becomes redundant after apply the above series.
> 
> The second patch causes rpm_resume() to call rpm_idle() in the case when the
> given device is active to start with which is already done in the case when
> the device needs to be resumed.  The goal is to make the behavior of
> rpm_resume() more consistent and more predictable.
> 
> Thanks!

I think my concerns about trace_event pollution are indeed relatively
minor tweaks to existing noisy tracing. And the concerns about
potentially excess idle->suspend are really only going to expose
preexisting bugs, if they expose anything. So:

Reviewed-by: Brian Norris <briannorris@chromium.org>

      parent reply	other threads:[~2026-12-01 23:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 15:01 [PATCH v2 0/2] PM: runtime: Consolidation of last_busy updates and calling rpm_idle() in rpm_resume() Rafael J. Wysocki
2026-11-30 15:04 ` [PATCH v2 1/2] PM: runtime: Drop redundant last_busy update from rpm_resume() Rafael J. Wysocki
2026-11-30 17:09   ` Ulf Hansson
2026-11-30 15:07 ` [PATCH v2 2/2] PM: runtime: Call rpm_idle() in rpm_resume() for active devices Rafael J. Wysocki
2026-11-30 17:08   ` Ulf Hansson
2026-11-30 17:24     ` Rafael J. Wysocki (Intel)
2026-11-30 19:25       ` Rafael J. Wysocki (Intel)
2026-12-01  0:37         ` Brian Norris
2026-12-01 14:08           ` Rafael J. Wysocki (Intel)
2026-12-01 20:13             ` Brian Norris
2026-12-01  9:16       ` Ulf Hansson
2026-12-01 13:36         ` Rafael J. Wysocki (Intel)
2026-12-01 15:15   ` Ulf Hansson
2026-12-01 23:46 ` Brian Norris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw9cTGQ-e3UBytWL@google.com \
    --to=briannorris@chromium.org \
    --cc=driver-core@lists.linux.dev \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=stern@rowland.harvard.edu \
    --cc=ulf.hansson@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox