Re: [PATCH 0/2] Free running cyclic transfer implementation for pl330

From: sugar
Date: Mon Apr 17 2017 - 22:27:17 EST


Hi Alexander,

I have tested this series on rk3399 evb board and works well.

Tested-by: Sugar Zhang <sugar.zhang@xxxxxxxxxxxxxx>

在 4/14/2017 22:35, Alexander Kochetkov 写道:
Hello!

This series contain free running cyclic transfer implementation for pl330.
It affect ALL chips using pl330 (not only rockchip) and
allow to run cyclic transfers without CPU intervention. As a result
it fix sound clicks (observed and not yet observed) because
sound clicks must be heard under heavy system load due to the way
how cyclic transfers implemented now for pl330.

My previous series[1] doesn't get enough attention (no one except me
tested it). And it don't get upstream:

8-03-2016, 6:03, Vinod Koul <vinod.koul@xxxxxxxxx> *:
Overall this series looks okay, but can someone test this. I would not like
pl330 to be broken again

Now I was asked about the series[1] again by guys from Rockchip,
so I send rebased against 4.10.10 version. Hope, someone might test it
and confirm that patches work fine.

Regards,
Alexander.

Alexander Kochetkov (2):
dmaengine: pl330: make cyclic transfer free runnable
dmaengine: pl330: don't emit code for one iteration loop

drivers/dma/pl330.c | 200 +++++++++++++++++++++++++--------------------------
1 file changed, 98 insertions(+), 102 deletions(-)