Skip to content

[BUG][SDW]"rt1308 sdw:1:25d:1308:0: Initialization not complete, timed out" occurred during multi-pipline stress test. #1600

@YvonneYang2

Description

@YvonneYang2

Describe the bug
Firstly disable master and sof runtime PM status via add sof-pci-debug=1 and sdw_md_flags=0x01000001. Tested it with integration/soundwire-latest + #1589
"rt1308 sdw:1:25d:1308:0: Initialization not complete, timed out" occurred during multi-pipline stress test. Then aplay0,2(RT1308) cannot work anymore.

To Reproduce

  1. Disable master and sof runtime PM status via add sof-pci-debug=1 and sdw_md_flags=0x01000001, then reboot to make it work.
  2. Run with command "./multiplex_pipeline-test_update.sh pcm0p pcm2p pcm5p pcm1c pcm4c"

Reproduced rate
Run 300 times, failed at 289th time
Only reboot can make RT1308 work again.

Expected result
Should not occur any error during multi-pipline test

Actual result
"rt1308 sdw:1:25d:1308:0: Initialization not complete, timed out" occurred during multi-pipline stress test. Then aplay0,2(RT1308) cannot work anymore.

Dmesg

[ 3758.642549] intel-sdw sdw-master-1: Updating Slave 1 status
[ 3758.642552] intel-sdw sdw-master-1: sdw_handle_slave_status: Updating Slave 1 status done
[ 3758.642554] intel-sdw sdw-master-1: sdw_handle_slave_status: end
[ 3759.313092] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[ 3759.314552] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[ 3760.679886] rt1308 sdw:1:25d:1308:0: Initialization not complete, timed out
[ 3760.679908] intel-sdw sdw-master-1: intel_startup: SDW1 Pin2: start
[ 3760.679921] intel-sdw sdw-master-1: intel_startup: SDW1 Pin2: done
[ 3760.679932]  SDW1-speakers: ASoC: open FE SDW1-speakers
[ 3760.679944] sof-audio-pci 0000:00:1f.3: pcm: open stream 2 dir 0
[ 3760.679950] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[ 3760.679954] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[ 3760.679957] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[ 3760.680018]  HDMI1: ASoC: found 0 audio playback paths
[ 3760.680024]  HDMI1: ASoC: HDMI1 no valid playback route

Test recipe:
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: add887e + PR1589
FW: https://github.com/thesofproject/sof/commits/master commit: 65de27d
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML-U Laptop with codec ALC711, RT1308, RT715 in SDW mode

failed_multipipeline_test_289_all_logger.log
failed_multipipeline_test_289_dmesg.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMLApplies to Comet Lake platformSDWApplies to SoundWire bus for codec connectionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions