regression: 3a878c430fd6 ("tty: serial: msm: Add TX DMA support") drops data

From: Frank Rowand
Date: Tue Apr 19 2016 - 19:23:50 EST


Hi Ivan,

It appears that I have found a regression caused by
3a878c430fd6 ("tty: serial: msm: Add TX DMA support").

When I cat a file slightly larger than 126000 bytes on
the console, viewed via minicom connected to the serial
port, I am losing random chunks of data, almost always
three bytes in length. I have also seen a lost chunk
of two bytes.

I am using the 8074 dragonboard, with the dts of
arch/arm/boot/dts/qcom-apq8074-dragonboard.dts.
The dts node is serial@f991e000, which has a
compatible of "qcom,msm-uartdm-v1.4", so is_uartdm
should be UARTDM_1P4.

Do you have any thoughts on what might be going
wrong, or what I can do to debug this?

Thanks,

Frank