Skip to content
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

[Bug][CML] 'error: debugfs entry etrace cannot be read in DSP D3' is in dmesg after system bootup #1046

Closed
ClarexZhou opened this issue Jun 18, 2019 · 2 comments
Labels
bug Something isn't working CML Applies to Comet Lake platform HDA Applies to HD-Audio bus for codec connection P2 Critical bugs or normal features

Comments

@ClarexZhou
Copy link

Describe the bug
'error: debugfs entry etrace cannot be read in DSP D3' is shown in dmesg after system boot up

To Reproduce

  1. Do system reboot via "sudo reboot"
  2. Dmesg to check info after system boot up.

frequency
100%

Actual result
'error: debugfs entry etrace cannot be read in DSP D3'

Expected result
No error message, or shouldn't be marked as red.

Environment
Firmware: c328dd8 Master
Kernel: 2712289 on topic/sof-dev +PR1003
Topology: file: sof-hda-generic.tplg same path as firmware
platform: CML

dmesg

[   12.260022] sof-audio-pci 0000:00:1f.3: pcm: close stream 6 dir 1
[   12.272336] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 0 dir 1 cmd 0
[   12.272345] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20340000 successful
[   12.272354] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[   12.272689] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[   12.272703] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=0
[   12.272766] sof-audio-pci 0000:00:1f.3: pcm: free stream 0 dir 1
[   12.272772] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[   12.272991] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[   12.273021] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   12.273204] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   12.273338] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 1
[   12.609519] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[   12.609552] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[   13.109728] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[   13.109762] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[   14.774420] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[   14.774444] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[   14.774758] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[   14.774817] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
[   14.774823] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   14.774828] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
[   14.774874] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000010 at  00000044
[   37.580152] sof-audio-pci 0000:00:1f.3: error: debugfs entry etrace cannot be read in DSP D3

dmesg_debugfsEntryetrace.log

@ClarexZhou ClarexZhou added bug Something isn't working P2 Critical bugs or normal features CML Applies to Comet Lake platform HDA Applies to HD-Audio bus for codec connection labels Jun 18, 2019
@xiulipan
Copy link

@ClarexZhou
Not a bug. please do not try to use logger in DSP D3.
PS: this will not be shown unless you try to read etrace or other debugfs.

To enable read with D3 mode, please enable
CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE=y

@ClarexZhou
Copy link
Author

Close for not a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CML Applies to Comet Lake platform HDA Applies to HD-Audio bus for codec connection P2 Critical bugs or normal features
Projects
None yet
Development

No branches or pull requests

2 participants