Skip to content

[BUG] IPC times out when changing volume repeatedly  #1263

@keqiaozhang

Description

@keqiaozhang

Describe the bug
This issue occurs during the volume change stress test, we can send IPC interrupts continuously by changing the PGA* volume.

To Reproduce
The test script is attached.
sof-test-volume.txt

Expected behavior
No ipc errors when sending ipc interrupts continuously.

Impact
IPC timed out

Environment

  1. Kernel: origin/topic/sof-dev-2de29f
    Firmware: origin/sof-master-00bbb1
  2. tplg name:sof-glk-da7219.tplg
  3. GLK Chromebook.
  4. Reproducibility Rate:100%

Screenshots or console output

[  483.621778] sof-audio-pci 0000:00:0e.0: ipc rx: 0x90020000: GLB_TRACE_MSG
[  483.621784] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x90020000: GLB_TRACE_MSG
[  483.626384] sof-audio-pci 0000:00:0e.0: ipc tx: 0x50020000: GLB_COMP_MSG: SET_VALUE: GET_VALUE
[  483.933022] sof-audio-pci 0000:00:0e.0: error: ipc timed out for 0x50020000 size 108
[  483.933027] sof-audio-pci 0000:00:0e.0: status: fw entered - code 00000005
[  483.933065] sof-audio-pci 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
[  483.933067] sof-audio-pci 0000:00:0e.0: error: waking up any trace sleepers
[  483.933069] sof-audio-pci 0000:00:0e.0: error: set/get ctrl ipc comp 35
[  483.933083] sof-audio-pci 0000:00:0e.0: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE: SET_VALUE
[  484.237031] sof-audio-pci 0000:00:0e.0: error: ipc timed out for 0x50010000 size 108
[  484.237035] sof-audio-pci 0000:00:0e.0: status: fw entered - code 00000005
[  484.237072] sof-audio-pci 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
[  484.237073] sof-audio-pci 0000:00:0e.0: error: waking up any trace sleepers
[  484.237075] sof-audio-pci 0000:00:0e.0: error: set/get ctrl ipc comp 35

Kmsg and trace
dmesg.log
logger.log

Metadata

Metadata

Labels

CMLApplies to Comet Lake platformGLKApplies to Gemini Lake platformHDAApplies to HD-Audio bus for codec connectionI2SApplies to I2S bus for codec connectionP1Blocker bugs or important featuresWHLApplies to WhiskeyLake platformbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions