You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASoC: SOF: trace: fix trace is cleared after suspend/resume issue
We have issues for DMA trace if runtime suspend is turned on, those logs
before suspend will be cleared/overwritten after resume.
To fix the issue, this commit change the DMA trace behavior as below:
We add a member trace_init_offset to store the last trace offset beforei
suspend, and calculate the available log size based on it.
We also extend hda_dsp_stream_setup_bdl() to support non-0 offset, which
is needed for trace BDL setup. This make FW possible to copy new logs to
destination from trace_init_offset, which won't overwrite the existed
logs before suspend.
With these changes, the issue mentioned above is resolved on APL.
Todo: for SKL- platforms where not using BDL entries, FW to support
non-0 offset need to be implemented for those platforms, please refer
to this:
thesofproject/sof#544
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
0 commit comments