[PATCH v4] ARM: dts: vf610-zii-dev: Add ZII development board.

Shawn Guo shawnguo at kernel.org
Wed Mar 30 05:09:58 PDT 2016


On Sun, Mar 27, 2016 at 03:48:21PM -0700, Stefan Agner wrote:
> >> > +&uart0 {
> >> > +	pinctrl-names = "default";
> >> > +	pinctrl-0 = <&pinctrl_uart0>;
> >> > +	status = "okay";
> >> > +	dmas = <>;
> >> > +	dma-names = "";
> >>
> >> Why is this dma stuff here ?
> > 
> > We have seen corruption of the serial transmit stream, when the DMA is
> > being used. As a workaround, we disable DMA.
> > 
> 
> For the Colibri VF50/VF61 we used this method too to disable the DMA
> (clearing dma-names). I guess using the device tree deleting
> capabilities would be the more elegant way to do this.
> 
> We have seen such issues too, the DMA implementation of the LPUART
> driver seems to be racy... We are working on fixing that.

In this case, shouldn't the DMA support be disabled in driver before the
issue gets fixed?  I'm saying that we shouldn't manipulate device tree
(i.e.  hardware description) to work around Linux device driver issue.

Shawn



More information about the linux-arm-kernel mailing list