-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid DMA trace stream tag causing FW oops #443
Comments
Summary: [ 5.736743] sof-audio sof-audio: error : DSP panic! be015a93: 7c1852 l16ui a5, a8, 248 Test env: Log: |
@ZhendanYang adding a little more context shows it's related to trace init on the first one.
|
and on APL it is a topology loading issue
So this issue is really 2 issues, one for trace init on BYT and the other for topology on APL. |
Add BYT DSP panic info: 942 static inline uint32_t arch_interrupt_global_disable(void) |
Another Exception Cause on UP2: [ 6.132460] sof-audio sof-audio: ipc tx: 0x80010000
be0166d4: 3f29a2 l32i a10, a9, 252
Test env: |
@keqiaozhang Could you share more analysis info why this is a kernel driver issue? |
I tested latest master FW and kernel with hda topology on WHL, no such issue |
sorry, with PR:thesofproject/linux#194 and thesofproject/linux#192 |
I test latest master FW and kernel with PR 194 and 192 on up2 and minnowboard. This issue still exist. |
@RanderWang yep, I see it on up^2 too - looks like something with the topology loading. |
@ranj063 Would you please share your finding on kernel side? |
we need to make logger work on DSP panic to debug this issue. Please track logger fix on thesofproject/linux#233 |
I did some debug on this bug these days. And here is some finding:
|
@libinyang please check if #518 improve the logger for your debugging. |
@libinyang thesofproject/linux#237 is to fix the logger failure |
The bug can still be found: |
Summary:
Reproduce step: Test env: |
@markyang please also make sure you include the context prior to the crash
This shows the stream tag is wrong for DMA trace which probably causes the panic |
Summary:
Reproduce step: Test env: Log: |
@Jiangxinx please use markdown when pasting logs - see my above changes. |
Move topology issue on up2 to #539 . |
It seems this bug is assigned to me. I will debug this issue after I finish some other issues on UP2. |
Summary: Test env: |
Summary: Test env: |
Summary:
DSP panic happened after system booted.
[ 8.142381] sof-audio sof-audio: error : DSP panic!
[ 8.142451] sof-audio sof-audio: panic: dsp_oops_offset 1329152 offset 1329152
[ 8.142484] sof-audio sof-audio: error: runtime exception
[ 8.142544] sof-audio sof-audio: error: trace point 90010000
[ 8.142605] sof-audio sof-audio: error: panic happen at :0
[ 8.142665] sof-audio sof-audio: error: DSP Firmware Oops
[ 8.142724] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[ 8.142821] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS 0x00070520 SAR 0x0000001d
[ 8.142926] sof-audio sof-audio: EPC1 0xff2c099b EPC2 0x00000000 EPC3 0xff2c0edf EPC4 0xff2c0edf
[ 8.143030] sof-audio sof-audio: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
[ 8.143134] sof-audio sof-audio: EPS2 0x00000000 EPS3 0x00060720 EPS4 0x00060720 EPS5 0x00000000
[ 8.143238] sof-audio sof-audio: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[ 8.143342] sof-audio sof-audio: stack dump from 0xff327bc0
[ 8.143403] sof-audio sof-audio: 0xff327bc0: 0x02480002 0x00060130 0x0000001d 0xff2c0f69
[ 8.143488] sof-audio sof-audio: 0xff327bc4: 0x00000000 0xff309180 0xff306a8c 0x02480000
[ 8.143574] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d0832 0xff2d0848
[ 8.143660] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0x00000000 0x00000000
[ 8.143745] sof-audio sof-audio: 0xff327bd0: 0xff319200 0xff319284 0xff327d40 0xff319284
[ 8.143831] sof-audio sof-audio: 0xff327bd4: 0xbf2c1f91 0xff327c60 0xff327c80 0x00000010
[ 8.143916] sof-audio sof-audio: 0xff327bd8: 0xbf2c408d 0xff327c70 0x00000002 0x00000001
[ 8.144002] sof-audio sof-audio: 0xff327bdc: 0xbf2cb89c 0xff327c80 0x20003e48 0x00000318
[ 8.417462] intel_soc_dts_thermal: request_threaded_irq ret -22
Test env:
sof master: a97cd4f
sof tool: 918e401
kernel sof-dev: 1f6c9cf
tplg: test-ssp2-mclk-0-I2S-volume-s16le-s16le-48k-19200k-codec.tplg
Log:
dmesg-panic.log
The text was updated successfully, but these errors were encountered: