Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ipc timed out for 0x13000006|GLB_CREATE_PIPELINE with multiple-pipeline-capture on TGLU_NOCODEC_IPC4 #7431

Closed
fredoh9 opened this issue Apr 11, 2023 · 2 comments
Assignees
Labels
bug Something isn't working as expected I2S Applies to I2S bus for codec connection IPC timeout IPC timeout observed IPC4 Issues observed with IPC4 (same IPC as Windows) TGL Applies to Tiger Lake

Comments

@fredoh9
Copy link
Contributor

fredoh9 commented Apr 11, 2023

Found different IPC timeout, probably same root cause of #7361. With same test plan,
TGLU_RVP_NOCODEC_IPC4ZPH failed with ipc timeout for 0x13000006|GLB_CREATE_PIPELINE
ADLP_RVP_NOCODEC_IPC4ZPH failed with ipc timeout for 0x13000004|GLB_SET_PIPELINE_STATE

Intel Internal daily test, planresultdetail/23369

planresultdetail/23369?model=TGLU_RVP_NOCODEC_IPC4ZPH&testcase=multiple-pipeline-playback-50

[ 5288.422378] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx      : 0x11000006|0x0: GLB_CREATE_PIPELINE
[ 5288.927882] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc timed out for 0x11000006|0x0
[ 5288.927899] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Attempting to prevent DSP from entering D3 state to preserve context
[ 5288.927905] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump start ]------------
[ 5288.927938] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[ 5288.927945] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 5288.927988] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Host IPC initiator: 0x93060004|0x0|0x0, target: 0x0|0x0|0x0, ctl: 0x3
[ 5288.927995] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump end ]------------
[ 5288.928001] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 5288.928005] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: IPC timeout
[ 5288.928010] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (7)
[ 5288.928031] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: 0x00000005: module: ROM, state: FW_ENTERED, running
[ 5288.928059] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: extended rom status:  0x5 0x0 0x0 0x0 0x0 0x0 0x0 0x1
[ 5288.928064] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 5288.928106] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to create module pipeline.8
[ 5288.928115] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to set up connected widgets
[ 5288.928130] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed widget list set up for pcm 0 dir 1
[ 5288.928137] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -110
[ 5288.928173] kernel:  Port0: ASoC: error at __soc_pcm_hw_params on Port0: -110
[ 5288.928193] kernel:  Port0: ASoC: error at dpcm_fe_dai_hw_params on Port0: -110

dmesg_tgl_nocodec.txt

From mtrace,

[   27.980690] <inf> dai_intel_ssp: dai_ssp_pre_start
[   27.980715] <inf> dai_intel_ssp: dai_ssp_start
[   27.980725] <inf> dai_intel_ssp: dai_ssp_update_bits base 77400, reg 30, mask 100, value 100
[   27.980953] <inf> host_comp: comp:3 0x40002 no bytes to copy, available bytes: 0, free_bytes: 768
[   27.981755] <inf> ipc: rx	: 0x13060003|0x0
[   27.981813] <wrn> ipc: ipc_pipeline_complete(): no scheduling component specified, use comp 131076
[   27.982296] <inf> ipc: rx	: 0x13060004|0x0
ASSERTION FAIL [aligned_addr == addr] @ /srv/home/jenkins/workspace/sof_generic_build/zephyr/soc/xtensa/intel_adsp/common/include/intel_adsp_hda.h:163
	Buffer must be 128 byte aligned
[   27.982755] <err> os:  ** FATAL EXCEPTION
[   27.982765] <err> os:  ** CPU 0 EXCCAUSE 63 (zephyr exception)
[   27.982773] <err> os:  **  PC 0xbe051c1a VADDR (nil)
[   27.982781] <err> os:  **  PS 0x60320
[   27.982795] <err> os:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:3 CALLINC:2)
[   27.982808] <err> os:  **  A0 0xbe014fa8  SP 0xbe0a3180  A2 0x4  A3 0xbe0a3190
[   27.982818] <err> os:  **  A4 0xbe0a3170  A5 0x4  A6 0x30  A7 (nil)
[   27.982828] <err> os:  **  A8 0xbe0134b1  A9 0xbe0a30f0 A10 0xbe074288 A11 0xbe0a3190
[   27.982838] <err> os:  ** A12 0xbe0a3170 A13 0x4 A14 0x1 A15 0x1
[   27.982846] <err> os:  ** LBEG 0xbe016519 LEND 0xbe016528 LCOUNT 0xbe016da5
[   27.982855] <err> os:  ** SAR 0x1d


Backtrace:0xbe051c17:0xbe0a3180 0xbe014fa5:0xbe0a3190 0xbe01e344:0xbe0a31b0 0xbe01e510:0xbe0a31d0 0xbe02a86a:0xbe0a31f0 0xbe043ded:0xbe0a3270 0xbe02afc8:0xbe0a3300 0xbe02b07d:0xbe0a3340 0xbe02b097:0xbe0a3410 0xbe02b30d:0xbe0a3440 0xbe02b541:0xbe0a3480 0xbe02b7c2:0xbe0a34d0 0xbe02c027:0xbe0a3500 0xbe020166:0xbe0a3530 0xbe0217b4:0xbe0a3550 0xbe0282e1:0xbe0a3570 0xbe04bd94:0xbe0a35a0 0xbe013ad2:0xbe0a35f0 

[ Terminated

FATAL exception but different from #7191

@fredoh9 fredoh9 added bug Something isn't working as expected I2S Applies to I2S bus for codec connection IPC timeout IPC timeout observed IPC4 Issues observed with IPC4 (same IPC as Windows) TGL Applies to Tiger Lake labels Apr 11, 2023
@kv2019i
Copy link
Collaborator

kv2019i commented Apr 18, 2023

I think this is duplicate of #7191

@kv2019i kv2019i self-assigned this Apr 18, 2023
@fredoh9
Copy link
Contributor Author

fredoh9 commented Apr 21, 2023

same root cause of #7191
#7450 merged, no issue have found for 3 days

@fredoh9 fredoh9 closed this as completed Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected I2S Applies to I2S bus for codec connection IPC timeout IPC timeout observed IPC4 Issues observed with IPC4 (same IPC as Windows) TGL Applies to Tiger Lake
Projects
None yet
Development

No branches or pull requests

2 participants