Re: [PATCH v3 1/1] serial: imx - Add dma buffer confugration via sysfs

From: Greg KH
Date: Mon Oct 15 2018 - 10:01:23 EST


On Thu, Oct 11, 2018 at 11:25:03AM +0200, Fabien Lahoudere wrote:
> In order to optimize serial communication on imx53 and imx6, we may
> need to tweak DMA period and buffer length per period.

Why can you not just automatically determine this information? What is
userspace going to know that the kernel can not just learn now?

Having tunables is nice, but it is even better to not need them at all.

thanks,

greg k-h