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] [ADLP] KMOD test failed on ADLP_GMB_I2S_ZEPHYR #5733

Closed
keqiaozhang opened this issue Mar 10, 2022 · 14 comments
Closed

[BUG] [ADLP] KMOD test failed on ADLP_GMB_I2S_ZEPHYR #5733

keqiaozhang opened this issue Mar 10, 2022 · 14 comments
Assignees
Labels
ADL Applies to Alder Lake platform bug Something isn't working as expected Intel Linux Daily tests This issue can be found in internal Linux daily tests P1 Blocker bugs or important features Zephyr Issues only observed with Zephyr integrated
Milestone

Comments

@keqiaozhang
Copy link
Collaborator

keqiaozhang commented Mar 10, 2022

Describe the bug
IPC tx timed out for DMA_PARAMS_EXT when inserting audio modules. This issue only observed on this platform.
This issue only happens with Zephyr firmware, no such issue with SOF-XTOS.

snd_sof_enable_trace: stream_tag: 1
[  229.059410] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x90030000: GLB_TRACE_MSG: DMA_PARAMS_EXT
[  229.564488] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx timed out for 0x90030000 (msg/reply size: 80/12)
[  229.564526] sof-audio-pci-intel-tgl 0000:00:1f.3: preventing DSP entering D3 state to preserve context
[  229.564536] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump start ]------------
[  229.564573] sof-audio-pci-intel-tgl 0000:00:1f.3: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[  229.564588] sof-audio-pci-intel-tgl 0000:00:1f.3: dsp irq ppsts 0x00000000 adspis 0x00000000
[  229.564616] sof-audio-pci-intel-tgl 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[  229.564628] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump end ]------------
[  229.564637] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[  229.564646] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware exception
[  229.564656] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (6)
[  229.564681] sof-audio-pci-intel-tgl 0000:00:1f.3: status: fw entered - code 00000005
[  229.565072] sof-audio-pci-intel-tgl 0000:00:1f.3: unexpected fault 0x00000000 trace 0x00004000
[  229.565086] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[  229.565097] sof-audio-pci-intel-tgl 0000:00:1f.3: error: can't set params for DMA for trace -110

To Reproduce
$ sof-test/tools/kmod/sof_remove.sh
$ sof-test/tools/kmod/sof_insert.sh

Reproduction Rate
100%

Expected behavior
No IPC errors during the kmod test

Impact
Failed to setup widget PIPELINE.14.SSP2.IN

Environment

    • Kernel: sof-dev/92d71723d47c
    • SOF: main/b9d971920e30
      2)* Topology: sof-adl-max98390-rt5682.tplg
    • Platform: ADLP_GMB_I2S_ZEPHYR

Screenshots or console output

2022-03-10 00:21:05 UTC [REMOTE_INFO] checking for general errors after kmod insert with sof-kernel-log-check tool
declare -- cmd="journalctl_cmd --since=@1646871664"
2022-03-10 00:21:05 UTC [REMOTE_INFO] checking if firmware is loaded successfully
Polling 'sof_firmware_boot_complete --since=@1646871664' every 1s for 10s
[ 6517.080414] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: firmware boot complete
Completed 'sof_firmware_boot_complete --since=@1646871664' after 0s and 1 attempts
[ 6516.966905] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b9d97
[ 6516.966906] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:21:0 Kernel ABI 3:19:1
--
[ 6516.966910] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: used compiler XCC 12:0:8 xcc used optimization flags -O2
[ 6516.966919] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 3 size 0x30
--
[ 6517.079911] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b9d97
[ 6517.079919] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:21:0 Kernel ABI 3:19:1
2022-03-10 00:21:05 UTC [REMOTE_INFO] ==== firmware boot complete: 1 of 25 ====
2022-03-10 00:21:24 UTC [REMOTE_ERROR] After 15s DSP status is: active

dmesg:

 dmesg 
[  228.794649] max98390 i2c-MX98390:00: no optional property 'temperature_calib' found, default:
[  228.794681] max98390 i2c-MX98390:00: no optional property 'r0_calib' found, default:
[  228.794682] max98390 i2c-MX98390:00: max98390_i2c_probe: r0_calib: 0x0,temperature_calib: 0x0
[  228.795371] max98390 i2c-MX98390:00: MAX98390 revisionID: 0x42
[  228.795506] max98390 i2c-MX98390:01: no optional property 'temperature_calib' found, default:
[  228.795508] max98390 i2c-MX98390:01: no optional property 'r0_calib' found, default:
[  228.795508] max98390 i2c-MX98390:01: max98390_i2c_probe: r0_calib: 0x0,temperature_calib: 0x0
[  228.795847] max98390 i2c-MX98390:01: MAX98390 revisionID: 0x42
[  228.925181] sof-audio-pci-intel-tgl 0000:00:1f.3: PCI DSP detected
[  228.925663] sof-audio-pci-intel-tgl 0000:00:1f.3: Platform uses community key, changed fw path to intel/sof/community
[  228.925772] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[  228.926054] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[  228.931342] sof-audio-pci-intel-tgl 0000:00:1f.3: checking for capabilities at offset 0xc00
[  228.931357] sof-audio-pci-intel-tgl 0000:00:1f.3: found ML capability at 0xc00
[  228.931359] sof-audio-pci-intel-tgl 0000:00:1f.3: checking for capabilities at offset 0x800
[  228.931362] sof-audio-pci-intel-tgl 0000:00:1f.3: found DSP capability at 0x800
[  228.931363] sof-audio-pci-intel-tgl 0000:00:1f.3: checking for capabilities at offset 0x500
[  228.931368] sof-audio-pci-intel-tgl 0000:00:1f.3: found GTS capability at 0x500
[  228.931368] sof-audio-pci-intel-tgl 0000:00:1f.3: checking for capabilities at offset 0x1f00
[  228.931373] sof-audio-pci-intel-tgl 0000:00:1f.3: found DRSM capability at 0x1f00
[  228.931373] sof-audio-pci-intel-tgl 0000:00:1f.3: checking for capabilities at offset 0x700
[  228.931378] sof-audio-pci-intel-tgl 0000:00:1f.3: found SPIB capability at 0x700
[  228.931415] sof-audio-pci-intel-tgl 0000:00:1f.3: hda global caps = 0x1009701
[  228.931417] sof-audio-pci-intel-tgl 0000:00:1f.3: detected 9 playback and 7 capture streams
[  228.931527] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[  228.931528] sof-audio-pci-intel-tgl 0000:00:1f.3: using IPC IRQ 141
[  228.931694] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[  228.931696] sof-audio-pci-intel-tgl 0000:00:1f.3: PP capability, will probe DSP later.
[  228.934463] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000040 at  00000048
[  228.934468] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
[  228.938638] sof-audio-pci-intel-tgl 0000:00:1f.3: codec_mask = 0x4
[  228.938727] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[  228.938730] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIW: 00000040 at  00000048
[  228.940389] sof-audio-pci-intel-tgl 0000:00:1f.3: skipping SoundWire, not detected with ACPI scan
[  228.940644] sof-audio-pci-intel-tgl 0000:00:1f.3: HDA codec thesofproject/linux#2 probed OK: response: 8086281c
[  228.941966] hdaudio ehdaudio0D2: loading codec module: hdaudio:v8086281Cr00100000a01

[ 228.944115] usbcore: registered new interface driver snd-usb-audio
[ 228.945280] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state change: 0 -> 1
[ 228.945527] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT table not found
[ 228.945529] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT table not found
[ 228.945530] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
[ 228.945561] sof-audio-pci-intel-tgl 0000:00:1f.3: loading firmware
[ 228.945838] sof-audio-pci-intel-tgl 0000:00:1f.3: request_firmware intel/sof/community/sof-adl.ri successful
[ 228.945842] sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 1 size 0x1a0
[ 228.945846] sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 0 size 0x50
[ 228.945848] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b9d97
[ 228.945850] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:21:0 Kernel ABI 3:19:1
[ 228.945852] sof-audio-pci-intel-tgl 0000:00:1f.3: FW ABI is more recent than kernel
[ 228.945853] sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 2 size 0x70
[ 228.945854] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: used compiler XCC 12:0:8 xcc used optimization flags -O2
[ 228.945867] sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 3 size 0x30
[ 228.945869] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 228.945870] sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 4 size 0x20
[ 228.945871] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: DBG_ABI 5:3:0
[ 228.945873] sof-audio-pci-intel-tgl 0000:00:1f.3: found sof_ext_man header type 5 size 0x20
[ 228.945874] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc3_fw_ext_man_get_config_data can hold up to 3 config elements
[ 228.945876] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc3_fw_ext_man_get_config_data get index 0 token 1 val 384
[ 228.945877] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc3_fw_ext_man_get_config_data get index 1 token 2 val 0
[ 228.945879] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc3_fw_ext_man_get_config_data get index 2 token 0 val 0
[ 228.945881] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state change: 1 -> 2
[ 228.945895] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000002 at 00000048
[ 228.945900] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIW: 00000000 at 00000048
[ 228.945908] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000000 at 00000044
[ 228.945911] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIW: 00000004 at 00000044
[ 228.945912] sof-audio-pci-intel-tgl 0000:00:1f.3: booting DSP firmware
[ 228.945996] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_stream_setup_bdl: period_bytes:0x0
[ 228.945999] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_stream_setup_bdl: periods:1
[ 228.946093] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x160]=0x40000 successful
[ 228.946109] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x160]=0x40000 successful
[ 228.946112] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_stream_setup_bdl: period_bytes:0x0
[ 228.946114] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_stream_setup_bdl: periods:1
[ 228.946180] sof-audio-pci-intel-tgl 0000:00:1f.3: Attempting iteration 0 of Core En/ROM load...
[ 228.946185] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 228.946189] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xf010f0f successful
[ 228.946193] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xf010f0e successful
[ 228.946195] sof-audio-pci-intel-tgl 0000:00:1f.3: unstall/run core: core_mask = 1
[ 228.946198] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[ 228.946209] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xf010e0e successful
[ 228.946211] sof-audio-pci-intel-tgl 0000:00:1f.3: unstall/run core: core_mask = 1
[ 228.946214] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[ 228.946755] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0xd4]=0x80000000 successful
[ 229.022936] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80000]=0x5000001 successful
[ 229.043335] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80000]=0x5 successful
[ 229.043359] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x160]=0x140000 successful
[ 229.043379] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware download successful, booting...
[ 229.058134] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc rx: 0x70000000: FW_READY
[ 229.058150] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP is ready 0x70000000 offset 0x81000
[ 229.058274] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b9d97
[ 229.058281] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:21:0 Kernel ABI 3:19:1
[ 229.058287] sof-audio-pci-intel-tgl 0000:00:1f.3: FW ABI is more recent than kernel
[ 229.058551] sof-audio-pci-intel-tgl 0000:00:1f.3: mailbox upstream 0x81000 - size 0x1000
[ 229.058559] sof-audio-pci-intel-tgl 0000:00:1f.3: mailbox downstream 0xa0000 - size 0x2000
[ 229.058564] sof-audio-pci-intel-tgl 0000:00:1f.3: stream region 0xc1000 - size 0x1000
[ 229.058568] sof-audio-pci-intel-tgl 0000:00:1f.3: debug region 0xc0000 - size 0x800
[ 229.058576] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state change: 2 -> 5
[ 229.058680] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000000 at 00000048
[ 229.058698] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIW: 00000002 at 00000048
[ 229.058723] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIR: 00000004 at 00000044
[ 229.058745] sof-audio-pci-intel-tgl 0000:00:1f.3: Debug PCIW: 00000000 at 00000044
[ 229.058748] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware boot complete
[ 229.058753] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state change: 5 -> 6
[ 229.058795] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc rx done: 0x70000000: FW_READY
[ 229.058825] sof-audio-pci-intel-tgl 0000:00:1f.3: snd_sof_init_trace: dma_trace_pages: 16
[ 229.058904] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80]=0x40000 successful
[ 229.058957] sof-audio-pci-intel-tgl 0000:00:1f.3: FW Poll Status: reg[0x80]=0x40000 successful
[ 229.058979] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_stream_setup_bdl: period_bytes:0x0
[ 229.058984] sof-audio-pci-intel-tgl 0000:00:1f.3: hda_dsp_stream_setup_bdl: periods:1
[ 229.059015] sof-audio-pci-intel-tgl 0000:00:1f.3: snd_sof_enable_trace: stream_tag: 1
[ 229.059410] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x90030000: GLB_TRACE_MSG: DMA_PARAMS_EXT
[ 229.564488] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx timed out for 0x90030000 (msg/reply size: 80/12)
[ 229.564526] sof-audio-pci-intel-tgl 0000:00:1f.3: preventing DSP entering D3 state to preserve context
[ 229.564536] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump start ]------------
[ 229.564573] sof-audio-pci-intel-tgl 0000:00:1f.3: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[ 229.564588] sof-audio-pci-intel-tgl 0000:00:1f.3: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 229.564616] sof-audio-pci-intel-tgl 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 229.564628] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump end ]------------
[ 229.564637] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 229.564646] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware exception
[ 229.564656] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (6)
[ 229.564681] sof-audio-pci-intel-tgl 0000:00:1f.3: status: fw entered - code 00000005
[ 229.565072] sof-audio-pci-intel-tgl 0000:00:1f.3: unexpected fault 0x00000000 trace 0x00004000
[ 229.565086] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 229.565097] sof-audio-pci-intel-tgl 0000:00:1f.3: error: can't set params for DMA for trace -110
[ 229.565147] sof-audio-pci-intel-tgl 0000:00:1f.3: warning: failed to initialize trace -110
[ 229.565753] sof-audio-pci-intel-tgl 0000:00:1f.3: created machine adl_max98390_rt5682
[ 229.567054] sof-audio-pci-intel-tgl 0000:00:1f.3: Completing SOF PCI probe
[ 229.574574] rt5682s i2c-RTL5682:00: Using default DAI clk names: rt5682-dai-wclk, rt5682-dai-bclk
[ 229.777160] sof_rt5682 adl_max98390_rt5682: sof_rt5682_quirk = 1d01068
[ 229.777588] sof-audio-pci-intel-tgl 0000:00:1f.3: loading topology:intel/sof-tplg/sof-adl-max98390-rt5682.tplg
[ 229.777674] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:21:0 Kernel ABI 3:19:1
[ 229.777676] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[ 229.777686] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 0 pipe 1 type 23 name : PCM0P stream Low Latency Playback 0
[ 229.777697] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 1 Master Playback Volume
[ 229.777703] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 1 chans 2
[ 229.777707] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 1 pipe 1 type 6 name : PGA1.1 stream none
[ 229.777712] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 2 name : DEMUX1
[ 229.777714] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 2
[ 229.777716] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 2 pipe 1 type 33 name : MUXDEMUX1.0 stream none
[ 229.777720] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 3 pipe 1 type 31 name : BUF1.0 stream none
[ 229.777724] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 4 pipe 1 type 31 name : BUF1.1 stream none
[ 229.777727] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 5 pipe 1 type 31 name : BUF1.2 stream none
[ 229.777730] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 6 pipe 1 type 27 name : SSP1.OUT stream SSP1-Codec
[ 229.777733] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget SSP1.OUT -> DAI link SSP1-Codec
[ 229.777737] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 7 pipe 1 type 32 name : PIPELINE.1.SSP1.OUT stream SSP1.OUT
[ 229.777741] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 8 pipe 2 type 23 name : PCM1P stream Passthrough Playback 1
[ 229.777745] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 2 Master Playback Volume
[ 229.777750] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 9 chans 2
[ 229.777754] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 9 pipe 2 type 6 name : PGA2.0 stream none
[ 229.777758] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 10 pipe 2 type 31 name : BUF2.0 stream none
[ 229.777761] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 11 pipe 2 type 31 name : BUF2.1 stream none
[ 229.777765] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 12 pipe 2 type 27 name : SSP0.OUT stream SSP0-Codec
[ 229.777768] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget SSP0.OUT -> DAI link SSP0-Codec
[ 229.777771] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 13 pipe 2 type 32 name : PIPELINE.2.SSP0.OUT stream SSP0.OUT
[ 229.777778] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 14 pipe 3 type 24 name : PCM1C stream Passthrough Capture 1
[ 229.777784] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 3 Master Capture Volume
[ 229.777790] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 15 chans 2
[ 229.777793] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 15 pipe 3 type 6 name : PGA3.0 stream none
[ 229.777796] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 16 pipe 3 type 31 name : BUF3.0 stream none
[ 229.777800] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 17 pipe 3 type 31 name : BUF3.1 stream none
[ 229.777804] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 18 pipe 3 type 28 name : SSP0.IN stream SSP0-Codec
[ 229.777807] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget SSP0.IN -> DAI link SSP0-Codec
[ 229.777810] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 19 pipe 3 type 32 name : PIPELINE.3.SSP0.IN stream SSP0.IN
[ 229.777814] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 20 pipe 5 type 23 name : PCM2P stream Passthrough Playback 2
[ 229.777818] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 5 Master Playback Volume
[ 229.777822] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 21 chans 2
[ 229.777824] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 21 pipe 5 type 6 name : PGA5.0 stream none
[ 229.777827] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 22 pipe 5 type 31 name : BUF5.0 stream none
[ 229.777830] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 23 pipe 5 type 31 name : BUF5.1 stream none
[ 229.777832] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 24 pipe 5 type 27 name : HDA0.OUT stream iDisp1
[ 229.777834] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget HDA0.OUT -> DAI link iDisp1
[ 229.777836] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 25 pipe 5 type 32 name : PIPELINE.5.HDA0.OUT stream HDA0.OUT
[ 229.777838] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 26 pipe 6 type 23 name : PCM3P stream Passthrough Playback 3
[ 229.777841] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 6 Master Playback Volume
[ 229.777844] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 27 chans 2
[ 229.777845] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 27 pipe 6 type 6 name : PGA6.0 stream none
[ 229.777849] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 28 pipe 6 type 31 name : BUF6.0 stream none
[ 229.777851] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 29 pipe 6 type 31 name : BUF6.1 stream none
[ 229.777853] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 30 pipe 6 type 27 name : HDA1.OUT stream iDisp2
[ 229.777855] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget HDA1.OUT -> DAI link iDisp2
[ 229.777857] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 31 pipe 6 type 32 name : PIPELINE.6.HDA1.OUT stream HDA1.OUT
[ 229.777861] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 32 pipe 7 type 23 name : PCM4P stream Passthrough Playback 4
[ 229.777865] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 7 Master Playback Volume
[ 229.777868] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 33 chans 2
[ 229.777870] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 33 pipe 7 type 6 name : PGA7.0 stream none
[ 229.777872] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 34 pipe 7 type 31 name : BUF7.0 stream none
[ 229.777874] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 35 pipe 7 type 31 name : BUF7.1 stream none
[ 229.777877] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 36 pipe 7 type 27 name : HDA2.OUT stream iDisp3
[ 229.777878] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget HDA2.OUT -> DAI link iDisp3
[ 229.777881] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 37 pipe 7 type 32 name : PIPELINE.7.HDA2.OUT stream HDA2.OUT
[ 229.777883] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 38 pipe 8 type 23 name : PCM5P stream Passthrough Playback 5
[ 229.777886] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 8 Master Playback Volume
[ 229.777888] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 39 chans 2
[ 229.777890] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 39 pipe 8 type 6 name : PGA8.0 stream none
[ 229.777892] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 40 pipe 8 type 31 name : BUF8.0 stream none
[ 229.777895] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 41 pipe 8 type 31 name : BUF8.1 stream none
[ 229.777897] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 42 pipe 8 type 27 name : HDA3.OUT stream iDisp4
[ 229.777899] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget HDA3.OUT -> DAI link iDisp4
[ 229.777901] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 43 pipe 8 type 32 name : PIPELINE.8.HDA3.OUT stream HDA3.OUT
[ 229.777907] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 44 pipe 9 type 24 name : PCM6C stream Passthrough Capture 6
[ 229.777910] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 45 pipe 9 type 31 name : BUF9.0 stream none
[ 229.777913] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 46 pipe 9 type 28 name : SSP1.IN stream SSP1-Codec
[ 229.777916] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget SSP1.IN -> DAI link SSP1-Codec
[ 229.777919] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 47 pipe 9 type 32 name : PIPELINE.9.SSP1.IN stream SSP1.IN
[ 229.777922] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 48 pipe 10 type 24 name : PCM99C stream Passthrough Capture 99
[ 229.777926] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 49 pipe 10 type 31 name : BUF10.0 stream none
[ 229.777929] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 50 pipe 10 type 28 name : DMIC0.IN stream dmic01
[ 229.777930] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget DMIC0.IN -> DAI link dmic01
[ 229.777933] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 51 pipe 10 type 32 name : PIPELINE.10.DMIC0.IN stream DMIC0.IN
[ 229.777936] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 52 pipe 11 type 24 name : PCM100C stream Sound Trigger Capture 100
[ 229.777940] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 1 name : 11 KWD Capture Volume
[ 229.777946] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 53 chans 2
[ 229.777948] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 53 pipe 11 type 6 name : PGA11.0 stream none
[ 229.777952] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 2 name : KPB
[ 229.777953] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 54
[ 229.777956] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 54 pipe 11 type 33 name : KPBM11.0 stream none
[ 229.777960] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 55 pipe 11 type 31 name : BUF11.0 stream none
[ 229.777963] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 56 pipe 11 type 31 name : BUF11.1 stream none
[ 229.777966] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 57 pipe 11 type 31 name : BUF11.2 stream none
[ 229.777969] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 58 pipe 11 type 28 name : DMIC1.IN stream dmic16k
[ 229.777971] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget DMIC1.IN -> DAI link dmic16k
[ 229.777974] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 59 pipe 11 type 32 name : PIPELINE.11.DMIC1.IN stream DMIC1.IN
[ 229.777979] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 2 name : Detector Config
[ 229.777981] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 60
[ 229.777984] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 2 name : Hotword Model
[ 229.777986] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 60
[ 229.777988] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 60 pipe 12 type 33 name : DETECT12.0 stream Sound Trigger Capture 100
[ 229.777992] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load control type 2 name : SELECTOR
[ 229.777994] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load kcontrol index 61
[ 229.777996] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 61 pipe 12 type 33 name : SELECTOR12.0 stream none
[ 229.777999] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 62 pipe 12 type 31 name : BUF12.1 stream none
[ 229.778003] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 63 pipe 12 type 31 name : BUF12.2 stream none
[ 229.778006] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 64 pipe 12 type 7 name : DETECT SINK 12 stream none
[ 229.778008] sof-audio-pci-intel-tgl 0000:00:1f.3: widget type 7 name DETECT SINK 12 not handled
[ 229.778011] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 65 pipe 12 type 32 name : PIPELINE.12.DMIC1.IN stream DMIC1.IN
[ 229.778015] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 66 pipe 13 type 23 name : PCM7P stream Passthrough Playback 7
[ 229.778019] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 67 pipe 13 type 31 name : BUF13.0 stream none
[ 229.778022] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 68 pipe 13 type 27 name : SSP2.OUT stream SSP2-BT
[ 229.778024] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget SSP2.OUT -> DAI link SSP2-BT
[ 229.778026] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 69 pipe 13 type 32 name : PIPELINE.13.SSP2.OUT stream SSP2.OUT
[ 229.778029] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 70 pipe 14 type 24 name : PCM7C stream Passthrough Capture 7
[ 229.778031] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 71 pipe 14 type 31 name : BUF14.0 stream none
[ 229.778033] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 72 pipe 14 type 28 name : SSP2.IN stream SSP2-BT
[ 229.778035] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: connected widget SSP2.IN -> DAI link SSP2-BT
[ 229.778037] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: ready widget id 73 pipe 14 type 32 name : PIPELINE.14.SSP2.IN stream SSP2.IN
[ 229.778045] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm DMIC16kHz 100
[ 229.778092] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm DMIC 99
[ 229.778129] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm Bluetooth 7
[ 229.778150] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm Speakers 0
[ 229.778170] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm Headset 1
[ 229.778191] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm HDMI1 2
[ 229.778211] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm HDMI2 3
[ 229.778230] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm HDMI3 4
[ 229.778251] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm HDMI4 5
[ 229.778272] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: load pcm EchoRef 6
[ 229.778290] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF12.1 control none source KPBM11.0
[ 229.778401] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PCM100C control none source DETECT SINK 12
[ 229.778408] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF1.0 control none source PCM0P
[ 229.778413] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA1.1 control none source BUF1.0
[ 229.778417] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF1.1 control none source PGA1.1
[ 229.778421] sof-audio-pci-intel-tgl 0000:00:1f.3: sink MUXDEMUX1.0 control none source BUF1.1
[ 229.778424] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF1.2 control none source MUXDEMUX1.0
[ 229.778427] sof-audio-pci-intel-tgl 0000:00:1f.3: sink SSP1.OUT control none source BUF1.2
[ 229.778431] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF2.0 control none source PCM1P
[ 229.778434] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA2.0 control none source BUF2.0
[ 229.778437] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF2.1 control none source PGA2.0
[ 229.778441] sof-audio-pci-intel-tgl 0000:00:1f.3: sink SSP0.OUT control none source BUF2.1
[ 229.778444] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PCM1C control none source BUF3.0
[ 229.778448] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF3.0 control none source PGA3.0
[ 229.778452] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA3.0 control none source BUF3.1
[ 229.778455] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF3.1 control none source SSP0.IN
[ 229.778459] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF5.0 control none source PCM2P
[ 229.778463] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA5.0 control none source BUF5.0
[ 229.778466] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF5.1 control none source PGA5.0
[ 229.778469] sof-audio-pci-intel-tgl 0000:00:1f.3: sink HDA0.OUT control none source BUF5.1
[ 229.778474] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF6.0 control none source PCM3P
[ 229.778478] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA6.0 control none source BUF6.0
[ 229.778482] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF6.1 control none source PGA6.0
[ 229.778485] sof-audio-pci-intel-tgl 0000:00:1f.3: sink HDA1.OUT control none source BUF6.1
[ 229.778488] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF7.0 control none source PCM4P
[ 229.778492] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA7.0 control none source BUF7.0
[ 229.778495] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF7.1 control none source PGA7.0
[ 229.778498] sof-audio-pci-intel-tgl 0000:00:1f.3: sink HDA2.OUT control none source BUF7.1
[ 229.778501] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF8.0 control none source PCM5P
[ 229.778504] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA8.0 control none source BUF8.0
[ 229.778507] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF8.1 control none source PGA8.0
[ 229.778511] sof-audio-pci-intel-tgl 0000:00:1f.3: sink HDA3.OUT control none source BUF8.1
[ 229.778514] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PCM6C control none source BUF9.0
[ 229.778518] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF9.0 control none source SSP1.IN
[ 229.778521] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PCM99C control none source BUF10.0
[ 229.778526] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF10.0 control none source DMIC0.IN
[ 229.778529] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PCM100C control none source BUF11.2
[ 229.778533] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF11.2 control none source KPBM11.0
[ 229.778536] sof-audio-pci-intel-tgl 0000:00:1f.3: sink KPBM11.0 control none source BUF11.1
[ 229.778541] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF11.1 control none source PGA11.0
[ 229.778545] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PGA11.0 control none source BUF11.0
[ 229.778550] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF11.0 control none source DMIC1.IN
[ 229.778554] sof-audio-pci-intel-tgl 0000:00:1f.3: sink DETECT SINK 12 control none source DETECT12.0
[ 229.778557] sof-audio-pci-intel-tgl 0000:00:1f.3: sink DETECT12.0 control none source BUF12.2
[ 229.778561] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF12.2 control none source SELECTOR12.0
[ 229.778565] sof-audio-pci-intel-tgl 0000:00:1f.3: sink SELECTOR12.0 control none source BUF12.1
[ 229.778569] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF13.0 control none source PCM7P
[ 229.778572] sof-audio-pci-intel-tgl 0000:00:1f.3: sink SSP2.OUT control none source BUF13.0
[ 229.778575] sof-audio-pci-intel-tgl 0000:00:1f.3: sink PCM7C control none source BUF14.0
[ 229.778579] sof-audio-pci-intel-tgl 0000:00:1f.3: sink BUF14.0 control none source SSP2.IN
[ 229.778583] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 1 for dai link dmic01!
[ 229.778589] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 2 for dai link dmic16k!
[ 229.778593] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 3 hw_configs found, default id: 8 for dai link SSP2-BT!
[ 229.778597] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 7 for dai link SSP1-Codec!
[ 229.778599] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 0 for dai link SSP0-Codec!
[ 229.778602] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 3 for dai link iDisp1!
[ 229.778605] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 4 for dai link iDisp2!
[ 229.778608] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 5 for dai link iDisp3!
[ 229.778611] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: 1 hw_configs found, default id: 6 for dai link iDisp4!
[ 229.778613] sof_rt5682 adl_max98390_rt5682: ASoC: Parent card not yet available, widget card binding deferred
[ 229.778672] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.14.SSP2.IN: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778677] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai SSP2.IN: type 1 index 2
[ 229.778679] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 1 src 0 fmt 0
[ 229.778681] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP2 fmt 0x304 mclk 38400000 bclk 256000 fclk 16000 width (16)16 slots 1 mclk id 0 quirks 0 clks_control 0x0
[ 229.778684] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP2 fmt 0x304 mclk 38400000 bclk 128000 fclk 8000 width (16)16 slots 1 mclk id 0 quirks 0 clks_control 0x0
[ 229.778685] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP2 fmt 0x4004 mclk 38400000 bclk 1536000 fclk 48000 width (16)16 slots 2 mclk id 0 quirks 0 clks_control 0x0
[ 229.778687] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF14.0: size 64 caps 0x71
[ 229.778689] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM7C
[ 229.778690] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778692] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.13.SSP2.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778694] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai SSP2.OUT: type 1 index 2
[ 229.778695] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778697] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP2 fmt 0x304 mclk 38400000 bclk 256000 fclk 16000 width (16)16 slots 1 mclk id 0 quirks 0 clks_control 0x0
[ 229.778698] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP2 fmt 0x304 mclk 38400000 bclk 128000 fclk 8000 width (16)16 slots 1 mclk id 0 quirks 0 clks_control 0x0
[ 229.778700] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP2 fmt 0x4004 mclk 38400000 bclk 1536000 fclk 48000 width (16)16 slots 2 mclk id 0 quirks 0 clks_control 0x0
[ 229.778702] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF13.0: size 384 caps 0x71
[ 229.778703] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM7P
[ 229.778704] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778705] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.12.DMIC1.IN: period 5000 pri 1 mips 100000 core 0 frames 0 dynamic 0
[ 229.778707] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF12.2: size 1280 caps 0x41
[ 229.778708] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF12.1: size 1280 caps 0x41
[ 229.778710] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded process SELECTOR12.0
[ 229.778711] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 0
[ 229.778713] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded process DETECT12.0
[ 229.778714] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778715] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.11.DMIC1.IN: period 5000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778717] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai DMIC1.IN: type 2 index 1
[ 229.778718] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 3 src 0 fmt 2
[ 229.778720] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config DMIC1 driver version 1
[ 229.778721] sof-audio-pci-intel-tgl 0000:00:1f.3: pdmclk_min 2400000 pdm_clkmax 4800000 duty_min 40
[ 229.778722] sof-audio-pci-intel-tgl 0000:00:1f.3: duty_max 60 fifo_fs 16000 num_pdms active 1
[ 229.778723] sof-audio-pci-intel-tgl 0000:00:1f.3: fifo word length 32
[ 229.778724] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 0 mic a 1 mic b 1
[ 229.778725] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 0 polarity a 0 polarity b 0
[ 229.778726] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 0 clk_edge 0 skew 0
[ 229.778727] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF11.2: size 1280 caps 0x71
[ 229.778728] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF11.1: size 1280 caps 0x71
[ 229.778729] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF11.0: size 1920 caps 0x71
[ 229.778731] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded process KPBM11.0
[ 229.778732] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 0
[ 229.778733] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA11.0
[ 229.778734] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 3 fmt 2
[ 229.778736] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM100C
[ 229.778736] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778737] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.10.DMIC0.IN: period 1000 pri 0 mips 5000 core 1 frames 0 dynamic 0
[ 229.778739] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai DMIC0.IN: type 2 index 0
[ 229.778740] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 2
[ 229.778742] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config DMIC0 driver version 1
[ 229.778742] sof-audio-pci-intel-tgl 0000:00:1f.3: pdmclk_min 2400000 pdm_clkmax 4800000 duty_min 40
[ 229.778743] sof-audio-pci-intel-tgl 0000:00:1f.3: duty_max 60 fifo_fs 48000 num_pdms active 2
[ 229.778744] sof-audio-pci-intel-tgl 0000:00:1f.3: fifo word length 32
[ 229.778745] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 0 mic a 1 mic b 1
[ 229.778746] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 0 polarity a 0 polarity b 0
[ 229.778747] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 0 clk_edge 0 skew 0
[ 229.778747] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 1 mic a 1 mic b 1
[ 229.778748] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 1 polarity a 0 polarity b 0
[ 229.778749] sof-audio-pci-intel-tgl 0000:00:1f.3: pdm 1 clk_edge 0 skew 0
[ 229.778750] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF10.0: size 1536 caps 0x71
[ 229.778751] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM99C
[ 229.778752] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778753] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.9.SSP1.IN: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778755] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai SSP1.IN: type 1 index 1
[ 229.778756] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 2
[ 229.778757] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP1 fmt 0x4005 mclk 19200000 bclk 6144000 fclk 48000 width (32)32 slots 4 mclk id 0 quirks 0 clks_control 0x0
[ 229.778759] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF9.0: size 1536 caps 0x71
[ 229.778760] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM6C
[ 229.778761] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778762] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.8.HDA3.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778764] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai HDA3.OUT: type 3 index 3
[ 229.778765] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 2
[ 229.778766] sof-audio-pci-intel-tgl 0000:00:1f.3: HDA config rate 48000 channels 2
[ 229.778767] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF8.1: size 768 caps 0x71
[ 229.778769] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF8.0: size 768 caps 0x71
[ 229.778770] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA8.0
[ 229.778770] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778772] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM5P
[ 229.778772] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778774] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.7.HDA2.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778775] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai HDA2.OUT: type 3 index 2
[ 229.778776] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 2
[ 229.778777] sof-audio-pci-intel-tgl 0000:00:1f.3: HDA config rate 48000 channels 2
[ 229.778778] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF7.1: size 768 caps 0x71
[ 229.778779] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF7.0: size 768 caps 0x71
[ 229.778780] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA7.0
[ 229.778781] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778782] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM4P
[ 229.778783] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778784] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.6.HDA1.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778786] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai HDA1.OUT: type 3 index 1
[ 229.778786] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 2
[ 229.778787] sof-audio-pci-intel-tgl 0000:00:1f.3: HDA config rate 48000 channels 2
[ 229.778789] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF6.1: size 768 caps 0x71
[ 229.778790] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF6.0: size 768 caps 0x71
[ 229.778791] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA6.0
[ 229.778792] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778793] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM3P
[ 229.778793] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778795] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.5.HDA0.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778796] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai HDA0.OUT: type 3 index 0
[ 229.778797] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 2
[ 229.778798] sof-audio-pci-intel-tgl 0000:00:1f.3: HDA config rate 48000 channels 2
[ 229.778799] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF5.1: size 768 caps 0x71
[ 229.778800] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF5.0: size 768 caps 0x71
[ 229.778802] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA5.0
[ 229.778802] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778803] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM2P
[ 229.778804] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778805] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.3.SSP0.IN: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778807] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai SSP0.IN: type 1 index 0
[ 229.778807] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 1
[ 229.778809] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP0 fmt 0x4001 mclk 19200000 bclk 2400000 fclk 48000 width (24)25 slots 2 mclk id 0 quirks 0 clks_control 0x80
[ 229.778810] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF3.1: size 768 caps 0x71
[ 229.778811] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF3.0: size 768 caps 0x71
[ 229.778821] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA3.0
[ 229.778822] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778823] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM1C
[ 229.778824] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 0
[ 229.778825] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.2.SSP0.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778827] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai SSP0.OUT: type 1 index 0
[ 229.778828] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 1
[ 229.778829] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP0 fmt 0x4001 mclk 19200000 bclk 2400000 fclk 48000 width (24)25 slots 2 mclk id 0 quirks 0 clks_control 0x80
[ 229.778830] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF2.1: size 768 caps 0x71
[ 229.778831] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF2.0: size 768 caps 0x71
[ 229.778833] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA2.0
[ 229.778833] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778835] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM1P
[ 229.778835] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778837] sof-audio-pci-intel-tgl 0000:00:1f.3: pipeline PIPELINE.1.SSP1.OUT: period 1000 pri 0 mips 5000 core 0 frames 0 dynamic 0
[ 229.778839] sof-audio-pci-intel-tgl 0000:00:1f.3: sof_ipc3_widget_setup_comp_dai dai SSP1.OUT: type 1 index 1
[ 229.778840] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 2
[ 229.778841] sof-audio-pci-intel-tgl 0000:00:1f.3: tplg: config SSP1 fmt 0x4005 mclk 19200000 bclk 6144000 fclk 48000 width (32)32 slots 4 mclk id 0 quirks 0 clks_control 0x0
[ 229.778843] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF1.2: size 768 caps 0x41
[ 229.778844] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF1.1: size 768 caps 0x41
[ 229.778845] sof-audio-pci-intel-tgl 0000:00:1f.3: buffer BUF1.0: size 768 caps 0x71
[ 229.778846] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded process MUXDEMUX1.0
[ 229.778847] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 0
[ 229.778848] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded PGA PGA1.1
[ 229.778849] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 2 fmt 2
[ 229.778850] sof-audio-pci-intel-tgl 0000:00:1f.3: loaded host PCM0P
[ 229.778851] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 2 src 0 fmt 0
[ 229.778867] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[ 230.284498] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx timed out for 0x30100000 (msg/reply size: 48/20)
[ 230.284536] sof-audio-pci-intel-tgl 0000:00:1f.3: preventing DSP entering D3 state to preserve context
[ 230.284544] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump start ]------------
[ 230.284579] sof-audio-pci-intel-tgl 0000:00:1f.3: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[ 230.284593] sof-audio-pci-intel-tgl 0000:00:1f.3: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 230.284621] sof-audio-pci-intel-tgl 0000:00:1f.3: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 230.284633] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ IPC dump end ]------------
[ 230.284643] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 230.284652] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware exception
[ 230.284662] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (6)
[ 230.284687] sof-audio-pci-intel-tgl 0000:00:1f.3: status: fw entered - code 00000005
[ 230.285093] sof-audio-pci-intel-tgl 0000:00:1f.3: unexpected fault 0x00000000 trace 0x00004000
[ 230.285107] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 230.285119] sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to setup widget PIPELINE.14.SSP2.IN
[ 230.287267] sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -110
[ 230.287355] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22
[ 230.287367] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
[ 230.287595] sof_rt5682 adl_max98390_rt5682: ASoC: failed to instantiate card -22
[ 230.289117] sof_rt5682: probe of adl_max98390_rt5682 failed with error -22

@keqiaozhang keqiaozhang added bug Something isn't working as expected P1 Blocker bugs or important features ADL Applies to Alder Lake platform P2 Critical bugs or normal features and removed P1 Blocker bugs or important features labels Mar 10, 2022
@plbossart
Copy link
Member

@keqiaozhang is this bug still seen?

@keqiaozhang
Copy link
Collaborator Author

@keqiaozhang is this bug still seen?

Yes, with 100% reproduction rate.

@plbossart plbossart added the P1 Blocker bugs or important features label Apr 20, 2022
@plbossart
Copy link
Member

Moving priority to P1 to make sure such critical boot issues are handled. This is not optional, one of these days we are doing to see a boot failure in the field that could have been prevented by internal testing.

@mengdonglin @lgirdwood this has to be assigned to someone and solved.

@plbossart plbossart removed the P2 Critical bugs or normal features label Apr 21, 2022
@keqiaozhang
Copy link
Collaborator Author

This issue only happens with Zephyr firmware, no such issue with SOF-XTOS.

@plbossart
Copy link
Member

@lgirdwood this bug should be transferred to SOF then?

@kv2019i
Copy link
Collaborator

kv2019i commented Apr 26, 2022

Moving to FW.

@kv2019i kv2019i transferred this issue from thesofproject/linux Apr 26, 2022
@kv2019i kv2019i added the Zephyr Issues only observed with Zephyr integrated label Apr 26, 2022
@marc-hb
Copy link
Collaborator

marc-hb commented Apr 28, 2022

More severe kmod crashes just spotted in

@keqiaozhang
Copy link
Collaborator Author

@lyakh any updates? It always fails in CI.

@lyakh
Copy link
Collaborator

lyakh commented May 16, 2022

@lyakh any updates? It always fails in CI.

@keqiaozhang I'm still debugging this. I think I have to discuss with Zephyr developers more actively

@mengdonglin mengdonglin modified the milestone: v2.2 May 19, 2022
@lgirdwood
Copy link
Member

@lyakh ping any updates ?

@lyakh
Copy link
Collaborator

lyakh commented May 27, 2022

@lyakh ping any updates ?

@lgirdwood a few updates, yes. Mostly I now have two lines of working with this:

  1. DMIC: eliminate the gain ramping task #5852 eliminates a "scheduling in atomic context" bug, that has been identified in the DMIC driver as a part of this work, but which isn't really the cause of these failues
  2. DSP core power down with Zephyr on TGL. This isn't supported so far, and when this problem occurs I see core 1 booting after kernel module reloading and getting confused because a suitable context hasn't been prepared for it. From that I assumed that the reason for core 1 booting automagically is that it was used before module unloading and wasn't powered down correctly. I'm working on patches to verify and fix this, but they aren't quite working yet.

@lyakh
Copy link
Collaborator

lyakh commented Jun 9, 2022

I was able to reproduce the sporadic core boot problem with a modified native Zephyr test, that bug is now tracked in zephyrproject-rtos/zephyr#46372

@lyakh
Copy link
Collaborator

lyakh commented Jun 21, 2022

An update: a brute-force fix is available: zephyrproject-rtos/zephyr#46372 (comment) but a clean fix still has to be developed

@lgirdwood lgirdwood added this to the v2.3 milestone Jun 29, 2022
nashif pushed a commit to zephyrproject-rtos/zephyr that referenced this issue Jul 1, 2022
To power down secondary cores on cAVS 2.5 platforms the primary core
enables the power-saving mode for the respective secondary core and
waits until that core enters idle() and executes the waiti
instruction at which point the core should enter a lower-power mode.
However, that core can then also automatically wake up and execute
its reset path if, e.g. an interrupt is delivered to it. However, it
isn't entirely clear which events are able to wake up cores from that
state. Disabling interrupts on the interrupt controller didn't seem
to prevent that from happening completely. In particular a specific
ADL notebook seems to be susceptible to this problem. Checking for
such sporadic boots and returning to idle fixes the problem.

BugLink: #46372
BugLink: thesofproject/sof#5733
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
coreboot-bot pushed a commit to coreboot/zephyr-cros that referenced this issue Jul 3, 2022
To power down secondary cores on cAVS 2.5 platforms the primary core
enables the power-saving mode for the respective secondary core and
waits until that core enters idle() and executes the waiti
instruction at which point the core should enter a lower-power mode.
However, that core can then also automatically wake up and execute
its reset path if, e.g. an interrupt is delivered to it. However, it
isn't entirely clear which events are able to wake up cores from that
state. Disabling interrupts on the interrupt controller didn't seem
to prevent that from happening completely. In particular a specific
ADL notebook seems to be susceptible to this problem. Checking for
such sporadic boots and returning to idle fixes the problem.

(cherry picked from commit 3748bdc)

Original-BugLink: zephyrproject-rtos/zephyr#46372
Original-BugLink: thesofproject/sof#5733
Original-Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
GitOrigin-RevId: 3748bdc
Change-Id: I44254684b71f0a73a1899e81c646cd125b2d87c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/3742498
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: CopyBot Service Account <copybot.service@gmail.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
@keqiaozhang
Copy link
Collaborator Author

keqiaozhang commented Jul 4, 2022

Conformed that this issue is fixed by zephyrproject-rtos/zephyr#46587 and it's not reproducible on GMB, closing this bug.

dztang pushed a commit to dztang/zephyr that referenced this issue Apr 23, 2024
To power down secondary cores on cAVS 2.5 platforms the primary core
enables the power-saving mode for the respective secondary core and
waits until that core enters idle() and executes the waiti
instruction at which point the core should enter a lower-power mode.
However, that core can then also automatically wake up and execute
its reset path if, e.g. an interrupt is delivered to it. However, it
isn't entirely clear which events are able to wake up cores from that
state. Disabling interrupts on the interrupt controller didn't seem
to prevent that from happening completely. In particular a specific
ADL notebook seems to be susceptible to this problem. Checking for
such sporadic boots and returning to idle fixes the problem.

BugLink: zephyrproject-rtos/zephyr#46372
BugLink: thesofproject/sof#5733
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADL Applies to Alder Lake platform bug Something isn't working as expected Intel Linux Daily tests This issue can be found in internal Linux daily tests P1 Blocker bugs or important features Zephyr Issues only observed with Zephyr integrated
Projects
None yet
Development

No branches or pull requests

7 participants