Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PM: runtime: Consolidation of last_busy updates and calling rpm_idle() in rpm_resume()
@ 2026-11-30 15:01 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 15:07 ` [PATCH v2 2/2] PM: runtime: Call rpm_idle() in rpm_resume() for active devices Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2026-11-30 15:01 UTC (permalink / raw)
  To: Linux PM
  Cc: Brian Norris, Alan Stern, Sakari Ailus, Ulf Hansson,
	Linux Driver Core Development

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!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-30 15:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 15:07 ` [PATCH v2 2/2] PM: runtime: Call rpm_idle() in rpm_resume() for active devices Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox