-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformP1Blocker bugs or important featuresBlocker bugs or important featuresTGLApplies to Tiger LakeApplies to Tiger LakebugSomething isn't working as expectedSomething isn't working as expected
Milestone
Description
Describe the bug
ipc error happened when setting status for pipeline 3 when aplay or arecord with PCM: Port1 [hw:0,1]
on TGLU_RVP_NOCODEC_IPC4
To Reproduce
TPLG=/lib/firmware/intel/avs-tplg/cavs-mixin-mixout-hda.tplg MODEL=TGLU_UP_HDA_IPC4 ~/sof-test/test-case/check-playback.sh -d 3 -l 1 -r 1 -F
Reproduction Rate
almost 100%
Environment
* Kernel: inner source linux topic/sof-cavs-dev f81ca4668a
* SOF: main branch
* Platform: TGLU_RVP_NOCODEC_IPC4
* TOPOLOGY: cavs-tgl-nocodec.tplg

Logs
[dmesg]
[ 404.995577] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 bind module 4 -0 to module 4 -1
[ 404.995714] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: route copier.SSP.2.1 -> copier.host.2.1 setup complete
[ 404.995719] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: stream dir 1, posn mailbox offset is 0
[ 404.996004] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: trigger stream 0 dir 1 cmd 1
[ 404.996029] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80]=0x14001e successful
[ 404.996033] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 set pipeline 2 status 3
[ 404.996648] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 set pipeline 2 status 4
[ 405.499325] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: trigger stream 0 dir 1 cmd 0
[ 405.499337] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 set pipeline 2 status 3
[ 405.502458] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: Unknown error while processing the request
[ 405.502536] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x13020003 : 0x0
[ 405.502551] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to set pipeline 2 status 3
[ 405.502558] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to set pipeline 2 to state 3
[ 405.502578] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80]=0x20140000 successful
[ 405.502600] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -5
[ 405.502608] kernel: Port0: ASoC: trigger FE cmd: 0 failed: -5
[ 405.502656] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: free stream 0 dir 1
[ 405.502708] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 unbind module 4 -0 to module 4 -1
[ 405.502892] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: route copier.SSP.2.1 -> copier.host.2.1 unbind complete
[ 405.502903] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: widget copier.host.2.1 instance 1 freed
[ 405.502910] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: widget copier.SSP.2.1 instance 0 freed
[ 405.502913] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc4 delete pipeline 2
[ 405.503161] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: widget pipeline.2 instance 0 freed
[ 405.503256] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: pcm: close stream 0 dir 1reenshots or console output**
[sof-logger]
TIMESTAMP (us) DELTA C# COMPONENT LOCATION CONTENT ktime=3213.741s @ 2022-01-28 06:10:40 +0000 UTC
[ 192924.940251] ( 0.000000) c0 dma-trace /drivers/intel/ssp/ssp.c:807 ERROR ssp_set_config(), ssioc = 0x00000020, ssrsa = 0x00000003, sstsa = 0x00000003
[ 2058558.459867] ( 2058558.500000) c0 dma-trace src/audio/component.c:102 ERROR comp_set_state(): wrong state = 4, COMP_TRIGGER_RESET
[ 2058671.220279] ( 112.760414) c0 dma-trace src/audio/component.c:102 ERROR comp_set_state(): wrong state = 4, COMP_TRIGGER_RESET
[ 2058692.001528] ( 20.781250) c0 dma-trace src/audio/component.c:102 ERROR comp_set_state(): wrong state = 4, COMP_TRIGGER_RESET
[ 2059432.157749] ( 740.156250) c0 dma-trace src/ipc/ipc4/handler.c:873 ERROR ipc4: 1 failed err 7
[ 4150379.835079] ( 2090947.625000) c0 dma-trace src/audio/component.c:102 ERROR comp_set_state(): wrong state = 4, COMP_TRIGGER_RESET
[ 4150491.970491] ( 112.135414) c0 dma-trace src/audio/component.c:102 ERROR comp_set_state(): wrong state = 4, COMP_TRIGGER_RESET
[ 4150512.178823] ( 20.208332) c0 dma-trace src/audio/component.c:102 ERROR comp_set_state(): wrong state = 4, COMP_TRIGGER_RESET
[ 4151236.814211] ( 724.635376) c0 dma-trace src/ipc/ipc4/handler.c:873 ERROR ipc4: 1 failed err 7
[ 4175812.334068] ( 24575.519531) c0 dma-trace src/drivers/dw/dma.c:285 ERROR dw_dma_start(): dma 0 channel 0 not ready ena 0x1 status 0x3
[ 4175834.104901] ( 21.770832) c0 dma-trace ....../pipeline-stream.c:433 ERROR pipeline_trigger_run(): ret = -16, host->comp.id = 262145, cmd = 7
[ 4175851.396567] ( 17.291666) c0 dma-trace ..../pipeline-schedule.c:64 ERROR pipeline_task_cmd(): failed to trigger components: -16
[ 5184515.262736] ( 1008663.875000) c0 dma-trace src/ipc/ipc4/handler.c:357 ERROR failed to wait schedule thread
[ 5185441.460616] ( 926.197876) c0 dma-trace src/ipc/ipc4/handler.c:873 ERROR ipc4: 1 failed err 7
[ 5185759.064770] ( 317.604156) c0 dma-trace src/ipc/ipc4/helper.c:189 ERROR ipc_pipeline_free(): module free () failed
Metadata
Metadata
Assignees
Labels
ADLApplies to Alder Lake platformApplies to Alder Lake platformP1Blocker bugs or important featuresBlocker bugs or important featuresTGLApplies to Tiger LakeApplies to Tiger LakebugSomething isn't working as expectedSomething isn't working as expected