Skip to content

[BUG][CML]Ipc timed out for 0x60040000 size 12 after reboot #2279

@dengyangchao

Description

@dengyangchao

Describe the bug
Pulse aduio enabled, and Ipc timed out for 0x60040000 size 12 after reboot
When issue occur, system get stalled and hard to use
To Reproduce
1.Reboot system via"sudo reboot"
2.check dmesg via "dmesg -w"

Reproduction Rate
5/5

Expected behavior
system reboot normal

Impact
Ipc timed out for 0x60040000 size 12

Environment
Platform: CML Chrome with onboard codec RT5682 and RT1011 in I2S mode
Firmware: 418c77e https://github.com/thesofproject/sof/commits/master
Kernel: 5e7259b https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-cml-rt1011-rt5682.tplg same as firmware

Dmesg

[   14.494832] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x2024001e successful
[   14.494840] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000: GLB_STREAM_MSG: TRIG_START
[   14.494848] sof-audio-pci 0000:00:1f.3: pcm: open stream 0 dir 1
[   14.494854] sof-audio-pci 0000:00:1f.3: period min 192 max 16384 bytes
[   14.494857] sof-audio-pci 0000:00:1f.3: period count 2 max 16
[   14.494859] sof-audio-pci 0000:00:1f.3: buffer max 65536 bytes
[   14.495140] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[   14.495144] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[   14.495157] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[   14.495159] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[   14.495166] sof-audio-pci 0000:00:1f.3: rate_min: 48000 rate_max: 48000
[   14.495169] sof-audio-pci 0000:00:1f.3: channels_min: 2 channels_max: 2
[   14.495176] sof-audio-pci 0000:00:1f.3: pcm: hw params stream 0 dir 1
[   14.495182] sof-audio-pci 0000:00:1f.3: generating page table for 00000000e1f05825 size 0xffc0 pages 16
[   14.495192] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x340000 successful
[   14.495211] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   14.495217] sof-audio-pci 0000:00:1f.3: period_bytes:0x3fc0
[   14.495220] sof-audio-pci 0000:00:1f.3: periods:4
[   14.495236] sof-audio-pci 0000:00:1f.3: stream_tag 3
[   15.000087] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60040000 size 12
[   15.000092] sof-audio-pci 0000:00:1f.3: info: preventing DSP entering D3 state to preserve context
[   15.000100] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   15.000177] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   15.000185] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000f83 rirb 00
[   15.000187] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   15.000193] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   15.000194] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   15.000201]  DMIC01: ASoC: trigger FE cmd: 1 failed: -110
[   15.000205] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 1 dir 1 cmd 0
[   15.000209] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[   15.504133] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60050000 size 12
[   15.504143] sof-audio-pci 0000:00:1f.3: info: preventing DSP entering D3 state to preserve context
[   15.504159] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[   15.504257] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[   15.504269] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000f83 rirb 00
[   15.504273] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[   15.504289] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[   15.504292] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[   15.504314] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20240000 successful
[   15.504323]  DMIC01: ASoC: trigger FE cmd: 0 failed: -110
[   15.504385] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[   16.008073] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x60010000 size 108
[   16.008076] sof-audio-pci 0000:00:1f.3: info: preventing DSP entering D3 state to preserve context
[   16.008080] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005

Sof-error-trace

CORE  LEVEL      COMP_ID                TIMESTAMP            DELTA                FILE_NAME	CONTENT
    0      1         DMIC          45498075.364583  45498076.000000 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498105.364583        30.000000 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498136.927083        31.562500 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498166.927083        30.000000 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498198.697917        31.770834 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498228.697917        30.000000 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498260.208333        31.510416 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498290.364583        30.156250 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498322.135417        31.770834 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498352.187500        30.052084 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498383.750000        31.562500 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498413.750000        30.000000 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun
    0      1         DMIC          45498445.468750        31.718750 rs/intel/cavs/dmic.c:1492	dmic_irq_handler() error: full fifo A or PDM overrrun

amixer.txt
dmesg.log
logger.log
logger-error-trace.log

Metadata

Metadata

Labels

CMLApplies to Comet Lake platformIPC timeoutIPC timeout observedP1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions