Hi Lucas initial test result is good, I will do more test when I have time. Only have some minor comments, will reply to each patch Thanks, Jiada On 08/06/2015 01:03 AM, Lucas Stach wrote:
The following series fixes a number of bugs in the DMA handling of the i.MX serial driver. Those were uncovered when the driver enabled DMA also without hardware flow control being present in kernel 4.1. This has since been reverted, but the bugs turned out to be generic and after fixing them it should now be safe to re-enable DMA support for all use cases. I've CC'ed a couple of people that reported problems with kernel 4.1 in the hope that they could provide some testing coverage. The driver should now work reliably with or without an external SDMA firmware being loaded. Thanks to Jiada Wang for testing a preliminary version of this series and providing valuable feedback. Regards, Lucas Lucas Stach (6): serial: imx: make setup_ufcr more useful serial: imx: set up aging timer interrupt as DMA trigger serial: imx: always restart DMA if more data is available serial: imx: configure proper DMA burst sizes serial: imx: don't use idle condition detect for DMA transfers serial: imx: re-enable DMA support without hardware flow control drivers/tty/serial/imx.c | 113 ++++++++++++++++++++++++----------------------- 1 file changed, 57 insertions(+), 56 deletions(-)
-- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html