Skip to content

[BUG][SDW] intel_suspend() is not triggered in system sleep suspend #1614

Closed

Description

@bardliao

Describe the bug
intel_suspend() is not triggered in system sleep suspend.

To Reproduce

  1. Remove rt700 which does not exist on the testing laptop from kconfig
  2. Disable master and sof runtime PM status via add sof-pci-debug=1 and sdw_md_flags=0x01010101, then reboot to make it work.
  3. Enter s3 via "sudo rtcwake -m mem -s 3"
  4. Check dmesg

Reproduce rate
100%

Expected result
intel_suspend() will be triggered since runtime PM is disabled.

Actual result
intel_suspend() is not triggered

dmesg error log
[   81.679872] PM: suspend entry (s2idle)
[   81.680642] Filesystems sync: 0.000 seconds
[   81.681004] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   81.682516] OOM killer disabled.
[   81.682517] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   81.683665] printk: Suspending console(s) (use no_console_suspend to debug)
[   81.689765] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[   81.696525] sof-audio-pci 0000:00:1f.3: snd_sof_suspend
[   81.696528] sof-audio-pci 0000:00:1f.3: sof_suspend
[   81.696531] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[   81.696535] sof-audio-pci 0000:00:1f.3: sof_send_pm_ctx_ipc
[   81.696539] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[   81.696684] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[   82.018383] ACPI: EC: interrupt blocked
[   85.623553] ACPI: EC: interrupt unblocked
[   85.670864] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[   85.816773] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
[   85.904103] sof-audio-pci 0000:00:1f.3: snd_sof_resume
[   85.904109] sof-audio-pci 0000:00:1f.3: sof_resume
[   85.904115] sof-audio-pci 0000:00:1f.3: loading firmware
[   85.904125] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000002 at  00000048
[   85.904139] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
[   85.904148] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[   85.904152] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000004 at  00000044
[   85.904154] sof-audio-pci 0000:00:1f.3: booting DSP firmware
[   85.904233] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[   85.904269] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   85.904273] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[   85.904276] sof-audio-pci 0000:00:1f.3: periods:1
[   85.904340] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0e0e successful
[   85.904349] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0e0e successful
[   85.904353] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[   85.904358] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.404561] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x0 timedout
[   86.404566] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout for HIPCIE done
[   86.404574] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[   86.404580] sof-audio-pci 0000:00:1f.3: error: status = 0xffffffff panic = 0xffffffff
[   86.404584] sof-audio-pci 0000:00:1f.3: unknown ROM status value ffffffff
[   86.404593] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[   86.404599] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   86.404603] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
[   86.404609] sof-audio-pci 0000:00:1f.3: error: Error code=0xffffffff: FW status=0xffffffff
[   86.404612] sof-audio-pci 0000:00:1f.3: error: iteration 0 of Core En/ROM load failed: -110
[   86.404618] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[   86.404629] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
[   86.404633] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[   86.404639] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.405281] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
[   86.405292] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010e0e successful
[   86.405423] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   86.490183] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5000001 successful
[   86.499180] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5 successful
[   86.499193] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[   86.499198] sof-audio-pci 0000:00:1f.3: Firmware download successful, booting...
[   86.506616] sof-audio-pci 0000:00:1f.3: ipc rx: 0x70000000: FW_READY
[   86.506624] sof-audio-pci 0000:00:1f.3: ipc: DSP is ready 0x70000000 offset 0x81000
[   86.506639] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x70000000: FW_READY
[   86.506721] sof-audio-pci 0000:00:1f.3: firmware boot complete
[   86.506737] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[   86.506744] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000002 at  00000048
[   86.506753] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000004 at  00000044
[   86.506759] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000044
[   86.506773] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[   86.506793] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   86.506798] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[   86.506801] sof-audio-pci 0000:00:1f.3: periods:1
[   86.506818] sof-audio-pci 0000:00:1f.3: stream_tag: 1
[   86.506833] sof-audio-pci 0000:00:1f.3: ipc tx: 0x90030000: GLB_TRACE_MSG
[   86.507334] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x90030000: GLB_TRACE_MSG
[   86.507557] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x14001e successful
[   86.507574] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.507772] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.507789] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.508039] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.508051] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.508226] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.508235] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.508410] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.508424] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.508709] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.508723] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.508954] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.508966] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.508972] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.509037] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.509051] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.509142] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.509155] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.509249] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.509290] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.509398] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.509406] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.509496] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.509505] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.509669] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.509682] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.509931] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.509948] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.510165] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.510175] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.510360] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.510366] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.510372] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.510452] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.510465] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.510723] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.510740] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.510993] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.511005] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.511182] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.511190] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.511365] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.511379] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.511659] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.511673] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.511901] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.511909] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.511915] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.512063] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.512076] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.512257] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.512271] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.512372] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.512413] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.512540] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.512549] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.512697] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.512709] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.512873] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.512885] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.512980] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.512993] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513099] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513109] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.513204] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.513210] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.513216] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.513277] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.513291] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513390] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513403] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513502] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513510] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.513694] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.513707] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.513805] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.513819] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513951] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.513962] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.514139] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.514144] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.514150] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.514233] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.514246] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.514428] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.514441] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.514695] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.514707] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.514906] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.514914] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.515089] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.515100] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.515277] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.515286] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.515388] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.515393] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.515398] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.515457] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.515468] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.515645] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.515659] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.515762] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.515769] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.515875] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.515882] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.515981] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   86.515992] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.516097] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   86.516105] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.516209] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   86.516214] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   86.516219] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.516278] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   86.516284] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516347] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516352] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516419] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516424] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516485] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516490] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516557] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516562] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516627] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516632] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516695] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516700] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516764] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516770] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516826] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516831] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516899] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516904] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516972] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.516977] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517046] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517051] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517128] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517133] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517202] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517207] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517278] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517283] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517357] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517362] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517431] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517436] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517509] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517514] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517588] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517593] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517669] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517674] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517752] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517757] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517825] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517830] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517945] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.517950] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518028] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518034] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518112] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518117] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518196] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518201] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518261] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518266] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518334] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518339] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518408] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518413] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518486] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518491] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518566] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518571] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518650] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518655] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518736] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   86.518750] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.518837] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.518851] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.518948] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.518961] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519057] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519071] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519169] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519183] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519273] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519287] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519377] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519391] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519482] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   86.519486] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.8.HDA2.OUT id 45
[   86.519491] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519629] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519632] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.7.HDA1.OUT id 39
[   86.519637] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519722] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519726] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.6.HDA0.OUT id 33
[   86.519730] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519814] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519818] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.5.ALH0x302.IN id 27
[   86.519822] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519902] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519905] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.3.ALH0x102.OUT id 19
[   86.519909] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519983] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.519986] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.2.ALH3.IN id 13
[   86.519990] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.520058] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.520061] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.1.ALH2.OUT id 5
[   86.520065] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.520130] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   86.520143] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.520320] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.520333] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.520506] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.520528] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.520693] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.520715] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50030000: GLB_COMP_MSG: SET_DATA
[   86.520965] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50030000: GLB_COMP_MSG: SET_DATA
[   86.520969] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521135] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521139] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521302] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521308] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50030000: GLB_COMP_MSG: SET_DATA
[   86.521570] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50030000: GLB_COMP_MSG: SET_DATA
[   86.521574] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521737] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521740] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521909] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   86.521910] sof-audio-pci 0000:00:1f.3: sof_send_pm_ctx_ipc
[   86.521913] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40020000: GLB_PM_MSG: CTX_RESTORE
[   86.521969] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40020000: GLB_PM_MSG: CTX_RESTORE
[   86.532247] sdw_rt711_rt1308_rt715 sdw_rt711_rt1308_rt715: ASoC: Scheduling resume work
[   86.532249] sdw_rt711_rt1308_rt715 sdw_rt711_rt1308_rt715: ASoC: starting resume work
[   86.532323] sdw_rt711_rt1308_rt715 sdw_rt711_rt1308_rt715: ASoC: resume work completed
[   86.553302] OOM killer enabled.
[   86.553302] Restarting tasks ... done.
[   86.614007] PM: suspend exit

Test recipe

Kernel:https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: e375909

FW: https://github.com/thesofproject/sof/commits/master
Tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
Platform:CML Laptop with codec ALC711, RT1308, RT715 in SDW mode

dmesg.txt

Activity

  1. added
    SDW_DEVSDW bug reproduced by developers, fix WIP
    on Dec 11, 2019
  2. self-assigned this
    on Dec 11, 2019
  3. changed the title [-][BUG][SDW] intel_suspend() does not be triggered in system sleep suspend[/-] [+][BUG][SDW] intel_suspend() is not triggered in system sleep suspend[/+] on Dec 11, 2019
  4. bardliao commented on Dec 11, 2019

    @bardliao
    CollaboratorAuthor

    The issue can be fixed by #1607. See dmesg log below.

    dmesg with #1607
    [   20.411047] PM: suspend entry (s2idle)
    [   20.412219] Filesystems sync: 0.001 seconds
    [   20.413230] Freezing user space processes ... (elapsed 0.002 seconds) done.
    [   20.415589] OOM killer disabled.
    [   20.415591] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
    [   20.416551] printk: Suspending console(s) (use no_console_suspend to debug)
    [   20.425471] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [   20.430213] intel-sdw sdw-master-3: intel_suspend start
    [   20.430221] intel-sdw sdw-master-3: intel_suspend done
    [   20.430224] intel-sdw sdw-master-2: intel_suspend start
    [   20.430230] intel-sdw sdw-master-2: intel_suspend done
    [   20.430232] intel-sdw sdw-master-1: intel_suspend start
    [   20.430239] intel-sdw sdw-master-1: intel_suspend done
    [   20.430241] intel-sdw sdw-master-0: intel_suspend start
    [   20.430247] intel-sdw sdw-master-0: intel_suspend done
    [   20.430356] sof-audio-pci 0000:00:1f.3: snd_sof_suspend
    [   20.430358] sof-audio-pci 0000:00:1f.3: sof_suspend
    [   20.430368] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
    [   20.430373] sof-audio-pci 0000:00:1f.3: sof_send_pm_ctx_ipc
    [   20.430377] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
    [   20.430601] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
    

    dmesg_with_pr_1607.txt

  5. added
    CMLApplies to Comet Lake platform
    SDWApplies to SoundWire bus for codec connection
    bugSomething isn't working
    on Dec 11, 2019
  6. bardliao commented on Dec 12, 2019

    @bardliao
    CollaboratorAuthor

    Close it as #1607 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformSDWApplies to SoundWire bus for codec connectionSDW_DEVSDW bug reproduced by developers, fix WIPbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions