Skip to content

[BUG][TGL][Chrome] DSP Panic on opening Internal Mic after plugging/unplugging a headset #4648

@lancedkhou

Description

@lancedkhou

Describe the bug
When IGO was enabled and PRs to fix heap usage issue applied.
During recording, there was DSP panic found when plugging/unplugging a headset

To Reproduce

  1. Flash firmware with PR Tgl 013 drop stable hot fix #4575, back-porting DMIC fixes to Tgl 013  #4612 and dw-dma: fix the lli corruption issue #4640 + IGO and disable Google assistant in Settings.
  2. Enable “Enable Input Noise Cancellation UI” flag then restart UI
  3. Join Google meet (output: internal speaker, input: internal mic)
  4. Plug in 3.5mm jack headset (output: headset speaker, input: headset mic)
  5. Switch input to internal mic by UI (output: headset speaker, input: internal mic)
  6. Unplug 3.5mm jack headset (output: headset speaker, input: headset mic)
  7. Repeat step 4~6 few times to check whether input capture is still alive

Reproduction Rate
1/10

Expected behavior
The recording is always valid.

Impact
Blocker

Environment
tgl-13 branch with IGO patches & IGO binary
Issue still reproduced with PR #4575, #4612 and #4640

Screenshots or console output
2021-08-17T11:49:06.230044Z ERR kernel: [ 900.437070] sof-audio-pci 0000:00:1f.3: error : DSP panic!
2021-08-17T11:49:06.230068Z ERR kernel: [ 900.437093] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
2021-08-17T11:49:06.230069Z ERR kernel: [ 900.437203] sof-audio-pci 0000:00:1f.3: error: runtime exception
2021-08-17T11:49:06.230070Z ERR kernel: [ 900.437207] sof-audio-pci 0000:00:1f.3: error: trace point 00004000
2021-08-17T11:49:06.230072Z ERR kernel: [ 900.437210] sof-audio-pci 0000:00:1f.3: error: panic at :0
2021-08-17T11:49:06.230073Z ERR kernel: [ 900.437214] sof-audio-pci 0000:00:1f.3: error: DSP Firmware Oops
2021-08-17T11:49:06.230084Z ERR kernel: [ 900.437217] sof-audio-pci 0000:00:1f.3: error: Exception Cause: LoadProhibitedCause, A load referenced a page mapped with an attribute that does not permit loads
2021-08-17T11:49:06.230087Z ERR kernel: [ 900.437222] sof-audio-pci 0000:00:1f.3: EXCCAUSE 0x0000001c EXCVADDR 0xc0000038 PS 0x00060d25 SAR 0x00000000
2021-08-17T11:49:06.230088Z ERR kernel: [ 900.437225] sof-audio-pci 0000:00:1f.3: EPC1 0xbe02e437 EPC2 0xbe02d7e6 EPC3 0x00000000 EPC4 0x00000000
2021-08-17T11:49:06.230090Z ERR kernel: [ 900.437229] sof-audio-pci 0000:00:1f.3: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
2021-08-17T11:49:06.230091Z ERR kernel: [ 900.437233] sof-audio-pci 0000:00:1f.3: EPS2 0x00060720 EPS3 0x00000000 EPS4 0x00000000 EPS5 0x00000000
2021-08-17T11:49:06.230093Z ERR kernel: [ 900.437236] sof-audio-pci 0000:00:1f.3: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00000000 INTERRU 0x00000222

4575+4612+4640-DSP-panic-messages.txt

Metadata

Metadata

Assignees

Labels

DSP panicDSP panic observedFix confirmedFix for the issue has been found and verifiedIGO NCObserved in IGO NC integrationTGLApplies to Tiger LakebugSomething 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