Skip to content

[BUG] IPC timeout with CONFIG_LOG_MIPI_SYST_USE_CATALOG=y #7839

@kv2019i

Description

@kv2019i

Describe the bug
Build SOF with overlay added in #7838

cd work/sof
./scripts/xtensa-build-zephyr.py -o app/logging_mipisystcat_overlay.conf mtl

To Reproduce
Install FW and try to boot.

DSP boot fails to first IPC:

[ 1745.635017] snd_sof:sof_set_fw_state: sof-audio-pci-intel-mtl 0000:00:1f.3: fw_state change: 3 -> 6
[ 1745.635038] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc rx done : 0x1b080000|0x0: GLB_NOTIFICATION|FW_READY
[ 1745.635056] snd_sof:snd_sof_run_firmware: sof-audio-pci-intel-mtl 0000:00:1f.3: firmware boot complete
[ 1745.635069] snd_sof:sof_set_fw_state: sof-audio-pci-intel-mtl 0000:00:1f.3: fw_state change: 6 -> 7
[ 1745.635205] snd_sof_intel_hda_common:mtl_enable_sdw_irq: sof-audio-pci-intel-mtl 0000:00:1f.3: FW Poll Status: reg[0x114c]=0xf successful
[ 1745.635397] snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc tx      : 0x43000000|0x20701000: MOD_LARGE_CONFIG_GET
[ 1746.136683] sof-audio-pci-intel-mtl 0000:00:1f.3: ipc timed out for 0x43000000|0x20701000
[ 1746.136774] sof-audio-pci-intel-mtl 0000:00:1f.3: Attempting to prevent DSP from entering D3 state to preserve context
[ 1746.136788] sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ IPC dump start ]------------
[ 1746.136864] sof-audio-pci-intel-mtl 0000:00:1f.3: Host IPC initiator: 0xc3000000|0x20701000|0x0, target: 0x1b080000|0x0|0x0, ctl: 0x3
[ 1746.136949] sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ IPC dump end ]------------
[ 1746.137006] sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 1746.137063] sof-audio-pci-intel-mtl 0000:00:1f.3: IPC timeout
[ 1746.137106] sof-audio-pci-intel-mtl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (7)
[ 1746.137176] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM status: 0x5, ROM error: 0x0
[ 1746.137194] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM debug status: 0x50000005, ROM debug error: 0x0
[ 1746.137219] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM feature bit enabled
[ 1746.137235] sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 1746.137255] sof-audio-pci-intel-mtl 0000:00:1f.3: sof_ipc4_set_get_data: large config get failed at offset 0: -110

Reproduction Rate
100%

Expected behavior
DSP boot is succesful.

Impact
Unable to use MIPI Sys-T Catalog.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: mtl-nocodec
  3. Name of the platform(s) on which the bug is observed.
    • Platform: mtl

Screenshots or console output
See above

** Other notes **
Issue seems specific to CONFIG_LOG_MIPI_SYST_USE_CATALOG=y . If CONFIG_LOG_MIPI_SYST_USE_CATALOG=n , issue does not happen but logging is not using catalogue (aka dictionary).

Metadata

Metadata

Assignees

No one assigned

    Labels

    IPC timeoutIPC timeout observedMTLApplies to Meteor Lake platformP2Critical bugs or normal featuresbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions