You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] LNL has FW reported error: 116 Invalid target code ID provided #8478
Describe the bug
LNLM_RVP_NOCODEC has new firmware error 116, Invalid target code ID provided.
[ 245.761516] kernel: snd_sof:sof_ipc4_widget_setup: sof-audio-pci-intel-lnl 0000:00:1f.3: pipeline: 5 memory pages: 5
[ 245.761520] kernel: snd_sof:sof_ipc4_widget_setup: sof-audio-pci-intel-lnl 0000:00:1f.3: Create widget pipeline.5 instance 0 - pipe 5 - core 2
[ 245.761524] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx : 0x11000005|0x200000: GLB_CREATE_PIPELINE
[ 245.761788] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx reply: 0x31000074|0x200000: GLB_CREATE_PIPELINE
[ 245.761792] kernel: sof-audio-pci-intel-lnl 0000:00:1f.3: FW reported error: 116 - Invalid target code ID provided
[ 245.764783] kernel: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc error for msg 0x11000005|0x200000
[ 245.768322] kernel: sof-audio-pci-intel-lnl 0000:00:1f.3: failed to create module pipeline.5
[ 245.772154] kernel: sof-audio-pci-intel-lnl 0000:00:1f.3: Failed to set up connected widgets
[ 245.776196] kernel: sof-audio-pci-intel-lnl 0000:00:1f.3: error: failed widget list set up for pcm 2 dir 0
[ 245.780925] kernel: sof-audio-pci-intel-lnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[ 245.786529] kernel: snd_sof:sof_pcm_hw_free: sof-audio-pci-intel-lnl 0000:00:1f.3: pcm: free stream 2 dir 0
[ 245.786806] kernel: snd_sof:sof_pcm_close: sof-audio-pci-intel-lnl 0000:00:1f.3: pcm: close stream 2 dir 0
To Reproduce
Can be reproducible with simple playback
TPLG=/lib/firmware/intel/development/sof-lnl-nocodec.tplg MODEL=LNLM_RVP_NOCODEC SOF_TEST_INTERVAL=5 ~/sof-test/test-case/check-playback.sh -d 3 -l 1 -r 1 -F
Please grab logs with ipc payloads. This error code suggests that you are trying to create a pipeline on a disabled core. In provided logs I can't see Set DX command to enable core 2, so it looks like bug in software. Firmware response is correct.
@keqiaozhang Once again. There is no MOD_SET_DX in the log, which would activate core 2 before trying to create a pipeline on core 2 via GLB_CREATE_PIPELINE.
Activity
jxstelter commentedon Nov 14, 2023
Are there any FW logs collected for this issue?
fredoh9 commentedon Nov 14, 2023
Yes, wasn't sure we can upload any log. Can you access the internal link?
Intel internal daily test link:
planresultdetail/34523?model=LNLM_RVP_NOCODEC&testcase=check-playback-all-formats
softwarecki commentedon Nov 15, 2023
Please grab logs with ipc payloads. This error code suggests that you are trying to create a pipeline on a disabled core. In provided logs I can't see Set DX command to enable core 2, so it looks like bug in software. Firmware response is correct.
fredoh9 commentedon Nov 15, 2023
@softwarecki I enabled IPC payload.
dmesg.txt
mtrace.txt
keqiaozhang commentedon Nov 20, 2023
This issue happens after switching to multicore tplg.
softwarecki commentedon Nov 20, 2023
@keqiaozhang @fredoh9 Please indicate in the log the IPC that activates core 2, because I don't see it.
keqiaozhang commentedon Nov 20, 2023
Here is the log when running audio test on core 2:
TPLG:

softwarecki commentedon Nov 20, 2023
@keqiaozhang Once again. There is no MOD_SET_DX in the log, which would activate core 2 before trying to create a pipeline on core 2 via GLB_CREATE_PIPELINE.
9 remaining items
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
UPSTREAM: ASoC: SOF: Intel: lnl: add core get and set support for dsp…
UPSTREAM: ASoC: SOF: Intel: lnl: add core get and set support for dsp…
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
UPSTREAM: ASoC: SOF: Intel: lnl: add core get and set support for dsp…
UPSTREAM: ASoC: SOF: Intel: lnl: add core get and set support for dsp…
UPSTREAM: ASoC: SOF: Intel: lnl: add core get and set support for dsp…
ASoC: SOF: Intel: lnl: add core get and set support for dsp core