Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-18 Thread Tony Lindgren
* Andy Shevchenko [200916 12:34]: > On Mon, Sep 14, 2020 at 11:09:16AM +0300, Tony Lindgren wrote: > > * Andy Shevchenko [200910 09:27]: > > > +Cc: Tony, let me add Tony to the discussion. > > > > > > On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > > > > And what about power mana

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-16 Thread Andy Shevchenko
On Mon, Sep 14, 2020 at 11:09:16AM +0300, Tony Lindgren wrote: > * Andy Shevchenko [200910 09:27]: > > +Cc: Tony, let me add Tony to the discussion. > > > > On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > > > And what about power management > > > which was the reason for wanting t

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-14 Thread Tony Lindgren
* Andy Shevchenko [200910 09:27]: > +Cc: Tony, let me add Tony to the discussion. > > On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > > And what about power management > > which was the reason for wanting this on OMAP in the first place; tty > > core never calls shutdown() for a c

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-10 Thread Johan Hovold
On Thu, Sep 10, 2020 at 12:27:15PM +0300, Andy Shevchenko wrote: > +Cc: Tony, let me add Tony to the discussion. > > On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > > On Wed, Sep 09, 2020 at 06:48:15PM +0300, Andy Shevchenko wrote: > > > On Wed, Sep 09, 2020 at 04:31:01PM +0200, Jo

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-10 Thread Andy Shevchenko
+Cc: Tony, let me add Tony to the discussion. On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > On Wed, Sep 09, 2020 at 06:48:15PM +0300, Andy Shevchenko wrote: > > On Wed, Sep 09, 2020 at 04:31:01PM +0200, Johan Hovold wrote: > > > Fix the port-lock initialisation regression introdu

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-10 Thread Johan Hovold
On Wed, Sep 09, 2020 at 06:48:15PM +0300, Andy Shevchenko wrote: > On Wed, Sep 09, 2020 at 04:31:01PM +0200, Johan Hovold wrote: > > Fix the port-lock initialisation regression introduced by commit > > a3cb39d258ef ("serial: core: Allow detach and attach serial device for > > console") by making su

[PATCH 2/2] serial: core: fix console port-lock regression

2020-09-09 Thread Johan Hovold
Fix the port-lock initialisation regression introduced by commit a3cb39d258ef ("serial: core: Allow detach and attach serial device for console") by making sure that the lock is again initialised during console setup. The console may be registered before the serial controller has been probed in wh