Skip to content

[BUG] [MTL] soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out #4233

@keqiaozhang

Description

@keqiaozhang

Describe the bug
Found this issue in CI daily test on MTL-SDW platform. This issue happened when testing suspend/resume without audio. But it's very hard to reproduce.

dmesg

[  112.372990] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc tx reply: 0x67000000|0x0: MOD_SET_DX
[  112.373301] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc tx done : 0x47000000|0x0: MOD_SET_DX [data size: 8]
[  112.373521] kernel: snd_sof_intel_hda_common:mtl_enable_sdw_irq: sof-audio-pci-intel-mtl 0000:00:1f.3: FW Poll Status: reg[0x114c]=0x0 successful
[  112.874434] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  112.874490] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 read addr a000 count 0
[  112.874545] kernel: rt711-sdca sdw:0:025d:0711:01: Failed to get private value: 5800000 => 2580 ret=-5
[  113.378380] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  113.378429] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 read addr 8000 count 0
[  113.378478] kernel: rt711-sdca sdw:0:025d:0711:01: Failed to get private value: 5800000 => 2580 ret=-5
[  113.882314] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  113.882329] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 read addr 8000 count 0
[  113.882340] kernel: rt711-sdca sdw:0:025d:0711:01: Failed to get private value: 5800000 => 2580 ret=-5
[  114.386255] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  114.386303] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 read addr 8000 count 0
[  114.386352] kernel: rt711-sdca sdw:0:025d:0711:01: Failed to get private value: 5800000 => 0040 ret=-5
[  114.890210] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  114.890259] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 write addr a06f count 0
[  114.890310] kernel: rt711-sdca sdw:0:025d:0711:01: Failed to set private value: 200006f <= 25c0 ret=-5
[  115.394151] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  115.394198] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 write addr a04a count 0
[  115.394247] kernel: rt711-sdca sdw:0:025d:0711:01: Failed to set private value: 200004a <= 201b ret=-5
[  115.394300] kernel: snd_soc_rt711_sdca:rt711_sdca_calibration: rt711-sdca sdw:0:025d:0711:01: rt711_sdca_calibration calibration complete, ret=0
[  115.898098] kernel: soundwire_intel soundwire_intel.link.0: SCP Msg trf timed out
[  115.898147] kernel: soundwire sdw-master-0: trf on Slave 4 failed:-5 write addr 8300 count 0

To Reproduce
~/sof-test/test-case/check-suspend-resume.sh -l 20 -u

Reproduction Rate
No reproductions after 200+ iterations manual check. Very hard to reproduce it.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: {sof-mtl-rt711-4ch.tplg}
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {MTL_RVP_SDW}

Uploading dmesg.txt…

Metadata

Metadata

Assignees

Labels

Intel Daily testsThis issue can be found in Intel internal daily testsMTLApplies to Meteor Lake platform.P3Low-impact bugs or featuresSDWApplies to SoundWire bus for codec connection

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions