Skip to content

[BUG] [TGL] PM Gate IPC Failure and not able to enter into D0i3 #3823

@RDharageswari

Description

@RDharageswari

Describe the bug
Start WOV, while there are no active streams.
there will be transition D0i3->D0i0->D3, while this happens the PM_GATE IPC timesout

To Reproduce
The following script can repro the issue:
#!/bin/bash
for i in {1..4}
do
cras_test_client --set_hotword_model 15:0:en_all
cras_test_client --listen_for_hotword /home/root/wov.wav --duration_seconds 10 & pid=pidof cras_test_client
sleep 7
kill -9 $pid
sleep 5
done
Steps to reproduce the behavior: (e.g. list commands or actions used to reproduce the bug)

Reproduction Rate
Several iterations of “D0I3->D0->D3” will reproduce the issue, once in 5 times

Expected behavior
No IPC error

Impact
There is an IPC error after which no streams can be played

Environment
tgl-011-drop-stable

Screenshots or console output
[ 589.957238] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 100 dir 1 cmd 1
[ 589.957583] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x2024001e successful
[ 589.957586] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000
[ 589.957750] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60040000
[ 594.981933] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40080000
[ 594.982140] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40080000
[ 594.982143] sof-audio-pci 0000:00:1f.3: Current DSP power state: D0I3

[ 598.198506] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 100 dir 1 cmd 0
[ 598.198521] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40080000
[ 598.700217] sof-audio-pci 0000:00:1f.3: error: ipc timed out for 0x40080000 size 32
[ 598.700241] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 598.700491] sof-audio-pci 0000:00:1f.3: error: unexpected fault 0x00000000 trace 0x00004000
[ 598.700505] sof-audio-pci 0000:00:1f.3: error: hda irq intsts 0x00000000 intlctl 0xc0000003 rirb 00
[ 598.700509] sof-audio-pci 0000:00:1f.3: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 598.700529] sof-audio-pci 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 598.700532] sof-audio-pci 0000:00:1f.3: error: waking up any trace sleepers
[ 598.700541] sof-audio-pci 0000:00:1f.3: error: PM_GATE ipc error -110
[ 598.700553] sof-audio-pci 0000:00:1f.3: failed to set requested target DSP state 0 substate 0
[ 598.700557] sof-audio-pci 0000:00:1f.3: error: resuming DSP -110
[ 598.700621] sof-audio-pci 0000:00:1f.3: error: trace IO error

Metadata

Metadata

Labels

Fix confirmedFix for the issue has been found and verifiedP1Blocker bugs or important featuresTGLApplies to Tiger LakebugSomething isn't working as expected

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions