Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-12 Thread Greg Kroah-Hartman
On Mon, Jun 12, 2017 at 08:55:44AM -0300, Fabio Estevam wrote: > Hi Greg, > > On Mon, Jun 12, 2017 at 3:46 AM, Greg Kroah-Hartman > wrote: > > >> linux-next is good, but mainline is not. > >> > >> Actually we need 4dec2f119e86f9c9 ("imx-serial: RX DMA startup > >> latency") to be applied to 4.12

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-12 Thread Fabio Estevam
Hi Greg, On Mon, Jun 12, 2017 at 3:46 AM, Greg Kroah-Hartman wrote: >> linux-next is good, but mainline is not. >> >> Actually we need 4dec2f119e86f9c9 ("imx-serial: RX DMA startup >> latency") to be applied to 4.12-rc as well. > > Why? Can't it wait until 4.13-rc1? Because without 4dec2f119e8

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-12 Thread Greg Kroah-Hartman
On Sun, Jun 11, 2017 at 09:33:13PM -0300, Fabio Estevam wrote: > Hi Greg, > > On Sat, Jun 3, 2017 at 6:30 AM, Greg Kroah-Hartman > wrote: > > On Tue, May 30, 2017 at 03:44:27PM +0200, Peter Senna Tschudin wrote: > >> On Tue, May 30, 2017 at 02:42:13PM +0100, Alan Cox wrote: > >> > >> I sent a sec

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-11 Thread Fabio Estevam
Hi Greg, On Sat, Jun 3, 2017 at 6:30 AM, Greg Kroah-Hartman wrote: > On Tue, May 30, 2017 at 03:44:27PM +0200, Peter Senna Tschudin wrote: >> On Tue, May 30, 2017 at 02:42:13PM +0100, Alan Cox wrote: >> >> I sent a second patch recently: >> >> https://patchwork.kernel.org/patch/9725625/ > > And i

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-06-03 Thread Greg Kroah-Hartman
On Tue, May 30, 2017 at 03:44:27PM +0200, Peter Senna Tschudin wrote: > On Tue, May 30, 2017 at 02:42:13PM +0100, Alan Cox wrote: > > I sent a second patch recently: > > https://patchwork.kernel.org/patch/9725625/ And it's already in linux-next so all should be good here.

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-05-30 Thread Peter Senna Tschudin
On Tue, May 30, 2017 at 02:42:13PM +0100, Alan Cox wrote: I sent a second patch recently: https://patchwork.kernel.org/patch/9725625/ > > > Fixes: 18a4208826dd0a13eb06de724c86bba2c225f943 ("imx-serial: Reduce > > > RX DMA startup latency when opening for reading") > > > > > > Cc: cphe...@gmail.c

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-05-30 Thread Alan Cox
> > Fixes: 18a4208826dd0a13eb06de724c86bba2c225f943 ("imx-serial: Reduce > > RX DMA startup latency when opening for reading") > > > > Cc: cphe...@gmail.com > > Cc: Peter Senna Tschudin > > Cc: Greg Kroah-Hartman > > Cc: Jiri Slaby > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Andrey S

Re: [RFC, PATCH] imx: serial: Take tty->files_lock opportunistically

2017-05-30 Thread Rob Herring
On Tue, May 30, 2017 at 7:37 AM, Andrey Smirnov wrote: > Trying to load a serdev driver agains a tty port on i.MX6Q results in > the following lockdep warning: > > kworker/u8:1/100 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: > (&(&tty->files_lock)->rlock){+.+...}, at: [] > imx_startup+0x2c0/0x