Skip to content

[BUG][ARL] DSP panic when freeing dmic capture pipeline #8503

@kv2019i

Description

@kv2019i

Describe the bug
DSP panic is hit at end of dmic capture pipeline playback. The issue only happens with dmic pipeline, HDA codec capture is ok as is playback.

To Reproduce
arecord -c4 -fS32_LE -r48000 -Dhw:sofhdadsp,6 -traw -d10 /dev/null

Reproduction Rate
100%

Expected behavior
No DSP crash.

Impact
showstopper

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    Kernel: sof-dev f8d998e836de400abc185788b0e9af3d48cb5429
    SOF: 8b1a01f
  2. Name of the topology file
    Topology: sof-hda-generic.tplg
  3. Name of the platform(s) on which the bug is observed.
    Platform: arl

Screenshots or console output

DSP crash log

[  111.324070] <inf> dai_intel_dmic: dai_dmic_update_bits: dai_dmic_update_bits base 10000, reg 2020, mask 2, value 2
[  111.324081] <inf> dma_intel_adsp_gpdma: intel_adsp_gpdma_power_off: intel_adsp_gpdma_power_off: dma dma@7c000 power off
[  111.324108] <inf> eq_iir: eq_iir_reset: comp:0 0x10 eq_iir_reset()
[  111.324135] <err> os: xtensa_excint1_c:  ** FATAL EXCEPTION
[  111.324143] <err> os: xtensa_excint1_c:  ** CPU 0 EXCCAUSE 13 (load/store PIF data error)
[  111.324148] <err> os: xtensa_excint1_c:  **  PC 0xa003ce60 VADDR 0x7c3a0
[  111.324153] <err> os: xtensa_excint1_c:  **  PS 0x60120
[  111.324158] <err> os: xtensa_excint1_c:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:1 CALLINC:2)
[  111.324163] <err> os: z_xtensa_dump_stack:  **  A0 0xa006a34e  SP 0xa0106530  A2 0xffffffea  A3 (nil)
[  111.324168] <err> os: z_xtensa_dump_stack:  **  A4 0x400ecb40  A5 (nil)  A6 0xa00d5090  A7 0xa0106530
[  111.324173] <err> os: z_xtensa_dump_stack:  **  A8 0x7c000  A9 (nil) A10 0xa00ea2fc A11 0x60123
[  111.324178] <err> os: z_xtensa_dump_stack:  ** A12 0x3 A13 0xa0110b80 A14 0x60320 A15 0x1
[  111.324183] <err> os: z_xtensa_dump_stack:  ** LBEG 0xa003d9ea LEND 0xa003d9f9 LCOUNT 0xa0077c57
[  111.324188] <err> os: z_xtensa_dump_stack:  ** SAR 0x20
[  111.327041] <err> coredump_error: coredump_mem_window_backend_start: #CD:BEGIN#
[  111.327313] <err> coredump_error: coredump_mem_window_backend_end: #CD:END#


Backtrace:0xa003ce5d:0xa0106530 0xa006a34b:0xa0106570 0xa003da16:0xa0106590 0xa0077c56:0xa01065d0 0xa007dfbb:0xa01065f0 0xa007d586:0xa0106610 0xa007a575:0xa0106650 0xa0050acc:0xa0106680 0xa004381d:0xa01066b0 0xa0043993:0xa0106700 0xa004386d:0xa0106730 0xa0043993:0xa0106780 0xa004386d:0xa01067b0 0xa006f31d:0xa0106800 0xa006b4ed:0xa0106850 0xa003e7bd:0xa0106880 0xa003e3ea:0xa01068f0 0xa003e176:0xa0106920 0xa006d2ae:0xa0106950 0xa006c

Metadata

Metadata

Assignees

Labels

ARLApplies to Intel Arrow Lake platformDMICDigital MicrophoneDSP panicDSP panic observedP1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions