Re: [PATCHv4] serial: imx: Add DMA buffer configuration via sysfs

2021-04-06 Thread Greg Kroah-Hartman
On Mon, Apr 05, 2021 at 11:44:46PM +0200, Sebastian Reichel wrote: > Hi, > > On Fri, Mar 05, 2021 at 01:42:52PM +0100, Sebastian Reichel wrote: > > On Fri, Mar 05, 2021 at 01:06:12PM +0100, Greg Kroah-Hartman wrote: > > > On Fri, Mar 05, 2021 at 12:50:58PM +0100, Sebastian Reichel wrote: > > > > F

Re: [PATCHv4] serial: imx: Add DMA buffer configuration via sysfs

2021-04-05 Thread Sebastian Reichel
Hi, On Fri, Mar 05, 2021 at 01:42:52PM +0100, Sebastian Reichel wrote: > On Fri, Mar 05, 2021 at 01:06:12PM +0100, Greg Kroah-Hartman wrote: > > On Fri, Mar 05, 2021 at 12:50:58PM +0100, Sebastian Reichel wrote: > > > From: Fabien Lahoudere > > > > > > In order to optimize serial communication (

Re: [PATCHv4] serial: imx: Add DMA buffer configuration via sysfs

2021-03-05 Thread Sebastian Reichel
Hi Greg, On Fri, Mar 05, 2021 at 01:06:12PM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 05, 2021 at 12:50:58PM +0100, Sebastian Reichel wrote: > > From: Fabien Lahoudere > > > > In order to optimize serial communication (performance/throughput VS > > latency), we may need to tweak DMA period

Re: [PATCHv4] serial: imx: Add DMA buffer configuration via sysfs

2021-03-05 Thread Greg Kroah-Hartman
On Fri, Mar 05, 2021 at 12:50:58PM +0100, Sebastian Reichel wrote: > From: Fabien Lahoudere > > In order to optimize serial communication (performance/throughput VS > latency), we may need to tweak DMA period number and size. This adds > sysfs attributes to configure those values before initialis

[PATCHv4] serial: imx: Add DMA buffer configuration via sysfs

2021-03-05 Thread Sebastian Reichel
From: Fabien Lahoudere In order to optimize serial communication (performance/throughput VS latency), we may need to tweak DMA period number and size. This adds sysfs attributes to configure those values before initialising DMA. The defaults will stay the same as before (16 buffers with a size of