Skip to content

[BUG] LNL has FW reported error: 116 Invalid target code ID provided #8478

Closed
thesofproject/linux
#4711

Description

@fredoh9

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

Reproduction Rate
100%

Environment

Similar issue is #8275

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    I2SApplies to I2S bus for codec connection
    LNLApplies to Lunar Lake platform
    on Nov 13, 2023
  2. jxstelter commented on Nov 14, 2023

    @jxstelter
    Contributor

    Are there any FW logs collected for this issue?

  3. fredoh9 commented on Nov 14, 2023

    @fredoh9
    ContributorAuthor

    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

  4. softwarecki commented on Nov 15, 2023

    @softwarecki
    Collaborator

    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.

  5. fredoh9 commented on Nov 15, 2023

    @fredoh9
    ContributorAuthor

    @softwarecki I enabled IPC payload.
    dmesg.txt
    mtrace.txt

  6. keqiaozhang commented on Nov 20, 2023

    @keqiaozhang
    Collaborator

    This issue happens after switching to multicore tplg.

  7. softwarecki commented on Nov 20, 2023

    @softwarecki
    Collaborator

    @keqiaozhang @fredoh9 Please indicate in the log the IPC that activates core 2, because I don't see it.

  8. keqiaozhang commented on Nov 20, 2023

    @keqiaozhang
    Collaborator

    @keqiaozhang @fredoh9 Please indicate in the log the IPC that activates core 2, because I don't see it.

    Here is the log when running audio test on core 2:

    [  131.753095] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-lnl 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
    [  131.753107] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-lnl 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
    [  131.756653] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-lnl 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
    [  131.756672] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-lnl 0000:00:1f.3: Debug PCIW: 00000040 at  00000048
    [  131.756684] snd_sof_intel_hda_common:hda_dsp_state_log: sof-audio-pci-intel-lnl 0000:00:1f.3: Current DSP power state: D0I0
    [  131.756701] snd_sof:sof_set_fw_state: sof-audio-pci-intel-lnl 0000:00:1f.3: fw_state change: 0 -> 2
    [  131.756705] snd_sof:snd_sof_load_firmware: sof-audio-pci-intel-lnl 0000:00:1f.3: loading firmware
    [  131.756708] snd_sof:sof_set_fw_state: sof-audio-pci-intel-lnl 0000:00:1f.3: fw_state change: 2 -> 3
    [  131.757761] snd_sof_intel_hda_common:mtl_dsp_pre_fw_run: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1000]=0x1010000 successful
    [  131.758821] snd_sof_intel_hda_common:mtl_dsp_pre_fw_run: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1d1c]=0x8161 successful
    [  131.758831] snd_sof:snd_sof_run_firmware: sof-audio-pci-intel-lnl 0000:00:1f.3: booting DSP firmware
    [  131.758836] snd_sof_intel_hda_common:hda_dsp_cl_boot_firmware: sof-audio-pci-intel-lnl 0000:00:1f.3: IMR restore supported, booting from IMR directly
    [  131.759887] snd_sof_intel_hda_common:mtl_dsp_core_power_up: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x178d04]=0x2000101 successful
    [  131.759894] snd_sof_intel_hda_common:mtl_dsp_cl_init: sof-audio-pci-intel-lnl 0000:00:1f.3: Primary core power up successful
    [  131.759908] snd_sof_intel_hda_common:mtl_dsp_cl_init: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x73214]=0x80000000 successful
    [  131.759919] snd_sof_intel_hda_common:mtl_enable_interrupts: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1800]=0x41 successful
    [  131.759928] snd_sof_intel_hda_common:mtl_enable_interrupts: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1140]=0x1 successful
    [  131.980659] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc rx      : 0x1b080000|0x0: GLB_NOTIFICATION|FW_READY
    [  131.980687] snd_sof:sof_set_fw_state: sof-audio-pci-intel-lnl 0000:00:1f.3: fw_state change: 3 -> 6
    [  131.980705] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc rx done : 0x1b080000|0x0: GLB_NOTIFICATION|FW_READY
    [  131.980786] snd_sof:snd_sof_run_firmware: sof-audio-pci-intel-lnl 0000:00:1f.3: firmware boot complete
    [  131.980797] snd_sof:sof_set_fw_state: sof-audio-pci-intel-lnl 0000:00:1f.3: fw_state change: 6 -> 7
    [  131.980864] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx      : 0x44000000|0x31400008: MOD_LARGE_CONFIG_SET [data size: 8]
    [  131.981199] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx reply: 0x64000000|0x31400008: MOD_LARGE_CONFIG_SET
    [  131.981313] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx done : 0x44000000|0x31400008: MOD_LARGE_CONFIG_SET [data size: 8]
    [  131.981324] Message payload: 00000000: 2c2a021e ffeddff1
    [  131.981331] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx      : 0x44000000|0x3060004c: MOD_LARGE_CONFIG_SET [data size: 76]
    [  131.981837] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx reply: 0x64000000|0x3060004c: MOD_LARGE_CONFIG_SET
    [  131.981995] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx done : 0x44000000|0x3060004c: MOD_LARGE_CONFIG_SET [data size: 76]
    [  131.982007] Message payload: 00000000: 00000100 00001000 00000001 000001ef
    [  131.982009] Message payload: 00000010: 00000000 00000000 00000000 00000000
    [  131.982011] Message payload: 00000020: 00000000 00000000 00000000 00000000
    [  131.982014] Message payload: 00000030: 00000000 00000000 00000000 00000000
    [  131.982016] Message payload: 00000040: 00000000 00000000 00000000
    [  131.982036] snd_sof:sof_pcm_open: sof-audio-pci-intel-lnl 0000:00:1f.3: pcm: open stream 2 dir 0
    [  131.982040] snd_sof:sof_pcm_open: sof-audio-pci-intel-lnl 0000:00:1f.3: period min 192 max 16384 bytes
    [  131.982043] snd_sof:sof_pcm_open: sof-audio-pci-intel-lnl 0000:00:1f.3: period count 2 max 16
    [  131.982046] snd_sof:sof_pcm_open: sof-audio-pci-intel-lnl 0000:00:1f.3: buffer max 65536 bytes
    [  131.982481] snd_sof:sof_ipc4_pcm_dai_link_fixup: sof-audio-pci-intel-lnl 0000:00:1f.3: Set NoCodec-2 to 32 bit format
    [  131.982518] snd_sof_intel_hda_common:generic_calc_stream_format: sof-audio-pci-intel-lnl 0000:00:1f.3: format_val=0x41, rate=48000, ch=2, format=10
    [  131.982529] snd_sof:sof_pcm_hw_params: sof-audio-pci-intel-lnl 0000:00:1f.3: pcm: hw params stream 2 dir 0
    [  131.982537] snd_sof_intel_hda_common:hda_dsp_stream_hw_params: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1e0]=0x40000 successful
    [  131.982563] snd_sof_intel_hda_common:hda_dsp_stream_hw_params: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1e0]=0x40000 successful
    [  131.982570] snd_sof_intel_hda_common:hda_dsp_stream_setup_bdl: sof-audio-pci-intel-lnl 0000:00:1f.3: period_bytes:0xfa0
    [  131.982572] snd_sof_intel_hda_common:hda_dsp_stream_setup_bdl: sof-audio-pci-intel-lnl 0000:00:1f.3: periods:4
    [  131.982593] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier host-copier.2.playback, type 23
    [  131.982598] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: matched audio format index for 8000Hz, 16bit, 2 channels: 0
    [  131.982602] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for host-copier.2.playback
    [  131.982605] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 8000Hz, 16bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x11002) buffer size 32
    [  131.982610] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier host-copier.2.playback: reference output rate 8000, channels 2 valid_bits 32
    [  131.982613] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: Output audio format for host-copier.2.playback
    [  131.982615] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 8000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 64
    [  131.982618] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier host-copier.2.playback, dma buffer: 2 ms (64 bytes)
    [  131.982620] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier host-copier.2.playback, IPC size is 84
    [  131.982624] sof-audio-pci-intel-lnl 0000:00:1f.3: COPIER (UUID: 9BA00C83-CA12-4A83-943C-1FA2E82F9DDA): No CPC value available in the firmware file's manifest (ibs/obs: 32/64)
    [  131.982628] sof-audio-pci-intel-lnl 0000:00:1f.3: Please try to update the firmware.
    [  131.982630] sof-audio-pci-intel-lnl 0000:00:1f.3: If the issue persists, file a bug at
    [  131.982631] sof-audio-pci-intel-lnl 0000:00:1f.3: https://github.com/thesofproject/sof/issues/
    [  131.982633] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: host-copier.2.playback: ibs / obs / cpc: 32 / 64 / 0
    [  131.982636] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: matched audio format index for 8000Hz, 32bit, 2 channels: 0
    [  131.982639] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for gain.5.1
    [  131.982641] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 8000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 64
    [  131.982643] sof-audio-pci-intel-lnl 0000:00:1f.3: GAIN (UUID: 61BCA9A8-18D0-4A18-8E7B-2639219804B7): No CPC value available in the firmware file's manifest (ibs/obs: 64/64)
    [  131.982646] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: gain.5.1: ibs / obs / cpc: 64 / 64 / 0
    [  131.982649] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: matched audio format index for 8000Hz, 32bit, 2 channels: 0
    [  131.982651] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for src.5.1
    [  131.982652] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 8000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 64
    [  131.982655] sof-audio-pci-intel-lnl 0000:00:1f.3: SRC (UUID: E61BB28D-149A-4C1F-B709-46823EF5F5AE): No CPC match in the firmware file's manifest (ibs/obs: 64/384)
    [  131.982657] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: src.5.1: ibs / obs / cpc: 64 / 384 / 0
    [  131.982660] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for mixin.5.1
    [  131.982663] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 48000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 384
    [  131.982666] sof-audio-pci-intel-lnl 0000:00:1f.3: MIXIN (UUID: 39656EB2-3B71-4049-8D3F-F92CD5C43C09): No CPC value available in the firmware file's manifest (ibs/obs: 384/384)
    [  131.982669] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: mixin.5.1: ibs / obs / cpc: 384 / 384 / 0
    [  131.982672] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for mixout.6.1
    [  131.982674] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 48000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 384
    [  131.982677] sof-audio-pci-intel-lnl 0000:00:1f.3: MIXOUT (UUID: 3C56505A-24D7-418F-BDDC-C1F5A3AC2AE0): No CPC value available in the firmware file's manifest (ibs/obs: 384/384)
    [  131.982679] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: mixout.6.1: ibs / obs / cpc: 384 / 384 / 0
    [  131.982681] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for gain.6.1
    [  131.982683] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 48000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 384
    [  131.982685] sof-audio-pci-intel-lnl 0000:00:1f.3: GAIN (UUID: 61BCA9A8-18D0-4A18-8E7B-2639219804B7): No CPC value available in the firmware file's manifest (ibs/obs: 384/384)
    [  131.982687] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: gain.6.1: ibs / obs / cpc: 384 / 384 / 0
    [  131.982689] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier dai-copier.SSP.NoCodec-2.playback, type 27
    [  131.982691] snd_sof:snd_sof_get_hw_config_params: sof-audio-pci-intel-lnl 0000:00:1f.3: sample rate: 48000 sample width: 32 channels: 2
    [  131.982693] snd_sof:snd_sof_get_nhlt_endpoint_data: sof-audio-pci-intel-lnl 0000:00:1f.3: dai index 2 nhlt type 3 direction 0
    [  131.982697] snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-lnl 0000:00:1f.3: Looking for configuration:
    [  131.982699] snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-lnl 0000:00:1f.3:   vbus_id=2 link_type=3 dir=0, dev_type=0
    [  131.982701] snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-lnl 0000:00:1f.3:   ch=2 fmt=32/32 rate=48000
    [  131.982703] snd_intel_dspcfg:intel_nhlt_get_endpoint_blob: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint count=8
    [  131.982705] snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint: vbus_id=0 link_type=2 dir=1 dev_type = 0
    [  131.982707] snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint: vbus_id=1 link_type=2 dir=1 dev_type = 0
    [  131.982709] snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint: vbus_id=0 link_type=3 dir=0 dev_type = 0
    [  131.982710] snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint: vbus_id=0 link_type=3 dir=1 dev_type = 0
    [  131.982712] snd_intel_dspcfg:nhlt_check_ep_match: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint: vbus_id=2 link_type=3 dir=0 dev_type = 0
    [  131.982714] snd_intel_dspcfg:nhlt_get_specific_cfg: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint format count=1
    [  131.982715] snd_intel_dspcfg:nhlt_get_specific_cfg: sof-audio-pci-intel-lnl 0000:00:1f.3: Endpoint format: ch=2 fmt=32/32 rate=48000
    [  131.982718] snd_sof:sof_ipc4_init_input_audio_fmt: sof-audio-pci-intel-lnl 0000:00:1f.3: Init input audio formats for dai-copier.SSP.NoCodec-2.playback
    [  131.982719] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 48000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 384
    [  131.982722] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier dai-copier.SSP.NoCodec-2.playback: reference output rate 8000, channels 2 valid_bits 32
    [  131.982724] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: Output audio format for dai-copier.SSP.NoCodec-2.playback
    [  131.982726] snd_sof:sof_ipc4_dbg_audio_format: sof-audio-pci-intel-lnl 0000:00:1f.3: Pin index #0: 48000Hz, 32bit (ch_map 0xffffff10 ch_cfg 1 interleaving_style 0 fmt_cfg 0x12002) buffer size 384
    [  131.982728] snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-lnl 0000:00:1f.3: copier dai-copier.SSP.NoCodec-2.playback, IPC size is 344
    [  131.982730] sof-audio-pci-intel-lnl 0000:00:1f.3: COPIER (UUID: 9BA00C83-CA12-4A83-943C-1FA2E82F9DDA): No CPC value available in the firmware file's manifest (ibs/obs: 384/384)
    [  131.982732] snd_sof:sof_ipc4_update_resource_usage: sof-audio-pci-intel-lnl 0000:00:1f.3: dai-copier.SSP.NoCodec-2.playback: ibs / obs / cpc: 384 / 384 / 0
    [  131.982736] snd_sof:sof_ipc4_widget_setup: sof-audio-pci-intel-lnl 0000:00:1f.3: pipeline: 5 memory pages: 5
    [  131.982763] 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
    [  131.982767] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx      : 0x11000005|0x200000: GLB_CREATE_PIPELINE
    [  131.983484] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx reply: 0x31000074|0x200000: GLB_CREATE_PIPELINE
    [  131.983501] sof-audio-pci-intel-lnl 0000:00:1f.3: FW reported error: 116 - Invalid target code ID provided
    [  131.988819] sof-audio-pci-intel-lnl 0000:00:1f.3: ipc error for msg 0x11000005|0x200000
    [  131.992375] sof-audio-pci-intel-lnl 0000:00:1f.3: failed to create module pipeline.5
    [  131.995843] sof-audio-pci-intel-lnl 0000:00:1f.3: Failed to set up connected widgets
    [  131.999845] sof-audio-pci-intel-lnl 0000:00:1f.3: error: failed widget list set up for pcm 2 dir 0
    [  132.004527] sof-audio-pci-intel-lnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
    [  132.010131] snd_sof:sof_pcm_hw_free: sof-audio-pci-intel-lnl 0000:00:1f.3: pcm: free stream 2 dir 0
    [  132.010677] snd_sof:sof_pcm_close: sof-audio-pci-intel-lnl 0000:00:1f.3: pcm: close stream 2 dir 0
    [  134.510811] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx      : 0x44000000|0x3060004c: MOD_LARGE_CONFIG_SET [data size: 76]
    [  134.511276] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx reply: 0x64000000|0x3060004c: MOD_LARGE_CONFIG_SET
    [  134.511430] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx done : 0x44000000|0x3060004c: MOD_LARGE_CONFIG_SET [data size: 76]
    [  134.511444] Message payload: 00000000: 00000100 00001000 00000000 000001ef
    [  134.511447] Message payload: 00000010: 00000000 00000000 00000000 00000000
    [  134.511449] Message payload: 00000020: 00000000 00000000 00000000 00000000
    [  134.511450] Message payload: 00000030: 00000000 00000000 00000000 00000000
    [  134.511452] Message payload: 00000040: 00000000 00000000 00000000
    [  134.511463] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx      : 0x47000000|0x0: MOD_SET_DX [data size: 8]
    [  134.685334] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx reply: 0x67000000|0x0: MOD_SET_DX
    [  134.685534] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-lnl 0000:00:1f.3: ipc tx done : 0x47000000|0x0: MOD_SET_DX [data size: 8]
    [  134.685548] Message payload: 00000000: 00000001 00000000
    [  134.685575] snd_sof_intel_hda_common:mtl_enable_interrupts: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1800]=0x0 successful
    [  134.685585] snd_sof_intel_hda_common:mtl_enable_interrupts: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1140]=0x0 successful
    [  134.686749] snd_sof_intel_hda_common:mtl_dsp_core_power_down: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x178d04]=0x2000000 successful
    [  134.687811] snd_sof_intel_hda_common:mtl_power_down_dsp: sof-audio-pci-intel-lnl 0000:00:1f.3: FW Poll Status: reg[0x1000]=0x0 successful
    [  134.687873] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-lnl 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
    [  134.687878] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-lnl 0000:00:1f.3: Debug PCIW: 00000010 at  00000044
    [  134.688758] snd_sof_intel_hda_common:hda_dsp_state_log: sof-audio-pci-intel-lnl 0000:00:1f.3: Current DSP power state: D3
    [  134.688766] snd_sof:sof_set_fw_state: sof-audio-pci-intel-lnl 0000:00:1f.3: fw_state change: 7 -> 0
    

    TPLG:
    image

  9. softwarecki commented on Nov 20, 2023

    @softwarecki
    Collaborator

    @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.

  10. 9 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

I2SApplies to I2S bus for codec connectionLNLApplies to Lunar Lake platformP1Blocker bugs or important featuresbugSomething isn't working as expectedmulticoreIssues observed when not only core#0 is used.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions