[Sound-open-firmware] [PATCH V3] dma-trace: Fix reschedule bug to avoid dma buffer overflow
Liam Girdwood
liam.r.girdwood at linux.intel.com
Tue Mar 27 12:50:14 CEST 2018
On Tue, 2018-03-27 at 18:24 +0800, Xiuli Pan wrote:
> From: Pan Xiuli <xiuli.pan at linux.intel.com>
>
> We have wrong logic in reschedule, we always reschedule the trace_work
> once the buffer is half full and new trace coming. We will delay the old
> schedule before the old scheduled trace_work is finally run.
> Thus the trace_work will like the carrot in front of the DSP as the donkey,
> the DSP will never run the trace_work that scheduled in the furture
> while we are in busy state and lots of trace are coming continuously.
>
> Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>
> Reviewed-by: Zhigang Wu <zhigang.wu at linux.intel.com>
> Reviewed-by: Yan Wang <yan.wang at linux.intel.com>
> Tested-by: Zhigang Wu <zhigang.wu at linux.intel.com>
>
>
Applied.
Thanks
Liam
More information about the Sound-open-firmware
mailing list