alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] soundwire: improve pm_runtime handling
@ 2023-08-03  6:52 Bard Liao
  2023-08-03  6:52 ` [PATCH 1/2] soundwire: intel_auxdevice: enable pm_runtime earlier on startup Bard Liao
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bard Liao @ 2023-08-03  6:52 UTC (permalink / raw)
  To: alsa-devel, vkoul
  Cc: vinod.koul, linux-kernel, pierre-louis.bossart, bard.liao

This patchset improves the pm_runtime behavior in rare corner cases
identified by the Intel CI in the last 6 months.

a) in stress-tests, it's not uncommon to see the following type of
warnings when the codec reports as ATTACHED

    "rt711 sdw:0:025d:0711:00: runtime PM trying to activate child device
    sdw:0:025d:0711:00 but parent (sdw-master-0) is not active"

This warning was not correlated with any functional issue, but it
exposed a design issue on when to enable pm_runtime. The recommended
practice in the pm_runtime documentation is to keep the devices in
'suspended' mode and mark them as 'active' when they are really
functional.

Pierre-Louis Bossart (2):
  soundwire: intel_auxdevice: enable pm_runtime earlier on startup
  soundWire: intel_auxdevice: resume 'sdw-master' on startup and system
    resume

 drivers/soundwire/intel_auxdevice.c | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-08-11  7:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03  6:52 [PATCH 0/2] soundwire: improve pm_runtime handling Bard Liao
2023-08-03  6:52 ` [PATCH 1/2] soundwire: intel_auxdevice: enable pm_runtime earlier on startup Bard Liao
2023-08-04  9:44   ` Charles Keepax
2023-08-03  6:52 ` [PATCH 2/2] soundWire: intel_auxdevice: resume 'sdw-master' on startup and system resume Bard Liao
2023-08-04  9:44   ` Charles Keepax
2023-08-11  7:06 ` [PATCH 0/2] soundwire: improve pm_runtime handling Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).