Skip to content

[BUG][GLK]"DSP panic" when do module load/unload test #2646

@Liviali155

Description

@Liviali155

Describe the bug
"DSP panic" when do module load/unload test,Seems only a error message,has no imapct on function
After error occured,all the pipeline can work normally

To Reproduce
1.sudo reboot
2. cd sof-test
3.cd test-case
4.export TPLG=/lib/firmware/intel/sof-glk-da7219.tplg
5../check-kmod-load-unload.sh(https://github.com/thesofproject/sof-test/blob/master/test-case/check-kmod-load-unload.sh)

Reproduction Rate
10/10

Expected behavior
There is no DSP panic when do module load/unload

Impact
"DSP panic" showed in kernel log

Capture

Environment
* Kernel: {a272777} /sof/dev
* SOF: {9b1b615} master
2) Name of the topology file
* Topology: {sof-glk-da7219.tplg}
3) Name of the platform(s) on which the bug is observed.
* Platform: {GLK Chrome with onboard codec DA7219 in I2S mode}

dmesg_error.log
[   92.559577] sof-audio-pci 0000:00:0e.0: periods:1
[   92.560193] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x3030303 successful
[   92.560221] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x3030302 successful
[   92.560223] sof-audio-pci 0000:00:0e.0: unstall/run core: core_mask = 1
[   92.560226] sof-audio-pci 0000:00:0e.0: DSP core(s) enabled? 1 : core_mask 1
[   92.562330] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x40000000 successful
[   92.562347] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x3010202 successful
[   92.591822] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x5000001 successful
[   92.608163] sof-audio-pci 0000:00:0e.0: error : DSP panic!
[   92.608170] sof-audio-pci 0000:00:0e.0: unknown ROM status value 00000000
[   92.608172] sof-audio-pci 0000:00:0e.0: error: status = 0x0dead000 panic = 0x00000220
[   92.608192] sof-audio-pci 0000:00:0e.0: unknown ROM status value 00000000
[   92.608815] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x5 successful
[   92.609313] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x140000 successful
[   92.609316] sof-audio-pci 0000:00:0e.0: Firmware download successful, booting...
[   92.612338] sof-audio-pci 0000:00:0e.0: ipc rx: 0x70000000: FW_READY
[   92.612341] sof-audio-pci 0000:00:0e.0: ipc: DSP is ready 0x70000000 offset 0x81000
[   92.612358] sof-audio-pci 0000:00:0e.0: Firmware info: version 1:4:1-9b1b6
[   92.612360] sof-audio-pci 0000:00:0e.0: Firmware: ABI 3:14:0 Kernel ABI 3:13:0
[   92.612361] sof-audio-pci 0000:00:0e.0: warn: FW ABI is more recent than kernel
[   92.612362] sof-audio-pci 0000:00:0e.0: Firmware debug build 1 on Mar 27 2020-05:17:14 - options:
                GDB: disabled
                lock debug: disabled
                lock vdebug: disabled
[   92.612390] sof-audio-pci 0000:00:0e.0: found ext header type 1 size 0xb8
[   92.612403] sof-audio-pci 0000:00:0e.0: found ext header type 2 size 0x50
[   92.612405] sof-audio-pci 0000:00:0e.0: Firmware info: used compiler XCC 12:0:8 RG-2017.8-linux� used optimization flags O2
[   92.612420] sof-audio-pci 0000:00:0e.0: found ext header type 3 size 0x1c
[   92.612422] sof-audio-pci 0000:00:0e.0: warning: unknown ext header type 3 size 0x1c
[   92.612426] sof-audio-pci 0000:00:0e.0: found ext header type 4 size 0x10
[   92.612427] sof-audio-pci 0000:00:0e.0: warning: unknown ext header type 4 size 0x10
[   92.612457] sof-audio-pci 0000:00:0e.0:  mailbox upstream 0x81000 - size 0x1000
[   92.612459] sof-audio-pci 0000:00:0e.0:  mailbox downstream 0xa0000 - size 0x2000
[   92.612460] sof-audio-pci 0000:00:0e.0:  stream region 0xc1000 - size 0x1000
[   92.612464] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x70000000: FW_READY
[   92.612469] sof-audio-pci 0000:00:0e.0: firmware boot complete
[   92.612475] sof-audio-pci 0000:00:0e.0: Debug PCIR: 00000000 at  00000048

No sof_errortrace
sof_trace0317.log

dmesg0327.log

Metadata

Metadata

Assignees

Labels

Fix confirmedFix for the issue has been found and verifiedGLKApplies to Gemini Lake platformP1Blocker 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