Skip to content

[BUG] DSP panic when setting volume after checking kmod load-unload after playback on BDW_WSB_RT286 #5911

@miRoox

Description

@miRoox

Describe the bug
The CI (ID: 13257) observed a DSP panic on BDW_WSB_RT286 when it tests volume after checking kmod load-unload after playback.

To Reproduce

TPLG=/lib/firmware/intel/sof-tplg/sof-bdw-rt286.tplg MODEL=BDW_WSB_RT286 ~/sof-test/test-case/check-kmod-load-unload-after-playback.sh -l 1
TPLG=/lib/firmware/intel/sof-tplg/sof-bdw-rt286.tplg MODEL=BDW_WSB_RT286 ~/sof-test/test-case/volume-basic-test.sh -l 1

Reproduction Rate
Almost 100%

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: sof-bdw-rt286.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: BDW_WSB_RT286

Screenshots or console output

dmesg

[ 1874.218509] kernel: sof-audio-acpi-intel-bdw INT3438:00: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[ 1874.218622] kernel: sof-audio-acpi-intel-bdw INT3438:00: ------------[ DSP dump start ]------------
[ 1874.218627] kernel: sof-audio-acpi-intel-bdw INT3438:00: DSP panic!
[ 1874.218630] kernel: sof-audio-acpi-intel-bdw INT3438:00: fw_state: SOF_FW_BOOT_COMPLETE (6)
[ 1874.218699] kernel: sof-audio-acpi-intel-bdw INT3438:00: reason: runtime exception (0x6)
[ 1874.218703] kernel: sof-audio-acpi-intel-bdw INT3438:00: trace point: 0x00000800
[ 1874.218706] kernel: sof-audio-acpi-intel-bdw INT3438:00: panic at :0
[ 1874.218708] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: DSP Firmware Oops
[ 1874.218710] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[ 1874.218714] kernel: sof-audio-acpi-intel-bdw INT3438:00: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00060325 SAR     0x00000000
[ 1874.218718] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPC1     0x00000e4b EPC2     0x00000000 EPC3     0x0001aeaa EPC4    0x00000000
[ 1874.218723] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPC5     0x00000000 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[ 1874.218726] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPS2     0x00000000 EPS3     0x00060120 EPS4     0x00000000 EPS5    0x00000000
[ 1874.218730] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00000000 INTERRU 0x00002040
[ 1874.218734] kernel: sof-audio-acpi-intel-bdw INT3438:00: stack dump from 0x0041f7c0
[ 1874.218739] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7c0: 00000000 ffffffd8 0041f7e0 0041f500
[ 1874.218744] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7d0: c002071c 0041f810 0041f840 00000000
[ 1874.218748] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7e0: 0041f7c0 0041f820 0041f850 0000001c
[ 1874.218752] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7f0: 0041f810 0041a000 0041a000 00000001
[ 1874.218756] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f800: 40022cbd 0041f840 00000001 00000002
[ 1874.218760] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f810: 00000e4b 0041f840 00000000 00000008
[ 1874.218764] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f820: 0040d4bc 00000002 0040d4ac 00417780
[ 1874.218769] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f830: 8001611c 0041fa40 00000001 c0022cbd
[ 1874.218773] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: ipc host -> DSP: pending no complete no raw 0x00000800
[ 1874.218777] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: mask host: pending yes complete no raw 0x7fff0002
[ 1874.218781] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: ipc DSP -> host: pending yes complete no raw 0x8dead006
[ 1874.218785] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: mask DSP: pending yes complete no raw 0x7f9e0002
[ 1874.218788] kernel: sof-audio-acpi-intel-bdw INT3438:00: ------------[ DSP dump end ]------------
[ 1874.218791] kernel: sof-audio-acpi-intel-bdw INT3438:00: fw_state change: 6 -> 7
[ 1874.218813] kernel: sof-audio-acpi-intel-bdw INT3438:00: trace IO error
[ 1874.651780] kernel: sof-audio-acpi-intel-bdw INT3438:00: pcm: trigger stream 0 dir 0 cmd 0
[ 1874.723831] kernel: sof-audio-acpi-intel-bdw INT3438:00: ipc tx timed out for 0x50010000 (msg/reply size: 108/108)
[ 1874.723848] kernel: sof-audio-acpi-intel-bdw INT3438:00: preventing DSP entering D3 state to preserve context
[ 1874.723854] kernel: sof-audio-acpi-intel-bdw INT3438:00: ------------[ DSP dump start ]------------
[ 1874.723858] kernel: sof-audio-acpi-intel-bdw INT3438:00: IPC timeout
[ 1874.723863] kernel: sof-audio-acpi-intel-bdw INT3438:00: fw_state: SOF_FW_CRASHED (7)
[ 1874.723944] kernel: sof-audio-acpi-intel-bdw INT3438:00: reason: runtime exception (0x6)
[ 1874.723949] kernel: sof-audio-acpi-intel-bdw INT3438:00: trace point: 0x00000800
[ 1874.723955] kernel: sof-audio-acpi-intel-bdw INT3438:00: panic at :0
[ 1874.723960] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: DSP Firmware Oops
[ 1874.723964] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[ 1874.723969] kernel: sof-audio-acpi-intel-bdw INT3438:00: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00060325 SAR     0x00000000
[ 1874.723977] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPC1     0x00000e4b EPC2     0x00000000 EPC3     0x0001aeaa EPC4    0x00000000
[ 1874.723985] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPC5     0x00000000 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[ 1874.723991] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPS2     0x00000000 EPS3     0x00060120 EPS4     0x00000000 EPS5    0x00000000
[ 1874.723997] kernel: sof-audio-acpi-intel-bdw INT3438:00: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00000000 INTERRU 0x00002040
[ 1874.724003] kernel: sof-audio-acpi-intel-bdw INT3438:00: stack dump from 0x0041f7c0
[ 1874.724012] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7c0: 00000000 ffffffd8 0041f7e0 0041f500
[ 1874.724020] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7d0: c002071c 0041f810 0041f840 00000000
[ 1874.724027] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7e0: 0041f7c0 0041f820 0041f850 0000001c
[ 1874.724032] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f7f0: 0041f810 0041a000 0041a000 00000001
[ 1874.724038] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f800: 40022cbd 0041f840 00000001 00000002
[ 1874.724044] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f810: 00000e4b 0041f840 00000000 00000008
[ 1874.724050] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f820: 0040d4bc 00000002 0040d4ac 00417780
[ 1874.724056] kernel: sof-audio-acpi-intel-bdw INT3438:00: 0x0041f830: 8001611c 0041fa40 00000001 c0022cbd
[ 1874.724062] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: ipc host -> DSP: pending no complete no raw 0x00000800
[ 1874.724068] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: mask host: pending no complete no raw 0x7fff0000
[ 1874.724074] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: ipc DSP -> host: pending no complete yes raw 0x4dead006
[ 1874.724080] kernel: sof-audio-acpi-intel-bdw INT3438:00: error: mask DSP: pending yes complete no raw 0x7f9e0002
[ 1874.724085] kernel: sof-audio-acpi-intel-bdw INT3438:00: ------------[ DSP dump end ]------------
[ 1874.724108] kernel: sof-audio-acpi-intel-bdw INT3438:00: Failed to set mixer updates for 1 PCM 0 Playback Volume
[ 1874.724381] kernel: sof-audio-acpi-intel-bdw INT3438:00: ipc3_tx_msg_unlocked: ipc message send for 0x60050000 failed: -19
[ 1874.724400] kernel: sof-audio-acpi-intel-bdw INT3438:00: ASoC: error at soc_component_trigger on INT3438:00: -19
[ 1874.724410] kernel:  Low Latency: ASoC: trigger FE cmd: 0 failed: -19
[ 1874.724466] kernel: sof-audio-acpi-intel-bdw INT3438:00: pcm: free stream 0 dir 0

dmesg.txt
slogger.txt
sof.map.tar.gz

Metadata

Metadata

Assignees

Labels

BDWBroadwellDSP panicDSP panic observedIntel Linux Daily testsThis issue can be found in internal Linux daily testsP1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions