diff options
author | Mark Brown <broonie@kernel.org> | 2022-06-10 19:21:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-10 19:21:29 +0300 |
commit | 25ebeeebcb5493b42b6d43e4f4c49823782b83af (patch) | |
tree | 927a3e4b74e94c1a9a551345a7a8354133426615 /include/sound | |
parent | c5d41ca7b2567f55c5448da00cf5013b98ba14db (diff) | |
parent | 1e90de2c9a40d7d0af5c7b0a6e2d362ffba94772 (diff) | |
download | linux-25ebeeebcb5493b42b6d43e4f4c49823782b83af.tar.xz |
ASoC: SOF: ipc3-dtrace: Handle race during initialization
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
This series handles the race which can result missing the first position update
after the trace is enabled.
In short: the firmware might send the position update (if we have enough
trace data generated) after the dma-trace is enabled by the TRACE_DMA_PARAMS_EXT
message. Depending on scheduling, load, preemption on Linux side we have seen
that occasionally this first position update got missed and we missed reading it
out.
A new state and more strict handling of host_offset can overcome this issue,
making the dtrace more reliable.
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions