forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformCNLApplies to CannonlakeApplies to CannonlakeHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionICLApplies to Icelake platformApplies to Icelake platformP3Low-impact bugs or featuresLow-impact bugs or featuresbugSomething isn't workingSomething isn't working
Description
When unloading SOF kernel modules, the normal case looks approximately like this:
[24230.561920] [92038] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40020000: GLB_PM_MSG: CTX_RESTORE
[24230.561983] [92038] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40020000: GLB_PM_MSG: CTX_RESTORE
[24230.562012] [92038] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[24230.562129] [92038] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[24230.562198] [92038] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[24230.601148] snd_hda_codec_realtek ehdaudio0D0: ALC3204: Apply fix-func for (null)
[24230.601266] snd_hda_codec_realtek ehdaudio0D0: ALC3204: Apply fix-func for (null)
[24230.647975] [92038] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
[24230.647982] [92038] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1000f0f successful
[24230.647985] [92038] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[24230.647993] [92038] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[24230.648000] [92038] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
whereas sometimes after CTX_SAVE the kernel detects an incoming IPC message, which is then recognised as corrupt with multiple 0xff bytes and an error is issued. This failure has been observed on CML RVP and on Mantis in a daily test of 30-31.07.2020 but I was unable to reproduce it locally. When such an error occurs the test script aborts execution and doesn't re-load the modules, thus, no further testing is possible. Two examples of corrupt IPC messages:
ipc rx: 0xffffffff: unknown GLB command
error: unknown DSP message 0xf0000000
and
ipc rx: 0x90020000: GLB_TRACE_MSG
error: DSP trace buffer overflow 4294967295 bytes, total messages -1
Metadata
Metadata
Assignees
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformCNLApplies to CannonlakeApplies to CannonlakeHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionICLApplies to Icelake platformApplies to Icelake platformP3Low-impact bugs or featuresLow-impact bugs or featuresbugSomething isn't workingSomething isn't working