Skip to content

[Bug][RKL] Runtime PM keeps active when in idle #2274

@ClarexZhou

Description

@ClarexZhou

Describe the bug
Runtime PM keeps active

To Reproduce
1.

  1. "sudo reboot" to reboot
  2. wait in idle for more than 5 seconds
  3. cat "/sys/bus/pci/devices/0000:00:1f.3/power/runtime_status"

Reproduction Rate
5/5

Expected behavior
Runtime PM suspend

Impact
Runtime PM keeps active

Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Kernel:Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev (commit: 9eb3d58)

dmesg_PMactive.txt

[   63.156990] sof-audio-pci 0000:00:1f.3: pcm: stream dir 1, posn mailbox offset is 790604
[   63.159921] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=1
[   63.160482] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x2024001e successful
[   66.446998] systemd-udevd (2233) used greatest stack depth: 12456 bytes left
[   68.161705] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x240000 successful
[   68.161918] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=0
[   68.163711] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[   68.163916] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=0
[   81.185646] sof-audio-pci 0000:00:1f.3: format_val=49, rate=48000, ch=2, format=10
[   81.185700] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[   81.185778] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   81.185785] sof-audio-pci 0000:00:1f.3: period_bytes:0x3fc0
[   81.185786] sof-audio-pci 0000:00:1f.3: periods:4
[   81.186134] sof-audio-pci 0000:00:1f.3: pcm: stream dir 0, posn mailbox offset is 790528
[   81.188917] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=1
[   81.189457] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x14001e successful
[   87.897313] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[   87.897521] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=0

Metadata

Metadata

Assignees

Labels

HDAApplies to HD-Audio bus for codec connectionP1Blocker bugs or important featuresRKLApplies to Rocket Lake platformbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions