Re: [PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-29 Thread Sasha Levin
On Tue, Sep 29, 2020 at 08:59:02AM +0200, Greg Kroah-Hartman wrote: On Tue, Sep 29, 2020 at 01:43:22AM +0530, Naresh Kamboju wrote: On Tue, 29 Sep 2020 at 01:41, Naresh Kamboju wrote: > > On Fri, 18 Sep 2020 at 07:55, Sasha Levin wrote: > > > > From: Raviteja Narayanam > > > > [ Upstream comm

Re: [PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-28 Thread Greg Kroah-Hartman
On Tue, Sep 29, 2020 at 01:43:22AM +0530, Naresh Kamboju wrote: > On Tue, 29 Sep 2020 at 01:41, Naresh Kamboju > wrote: > > > > On Fri, 18 Sep 2020 at 07:55, Sasha Levin wrote: > > > > > > From: Raviteja Narayanam > > > > > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > > >

Re: [PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-28 Thread Naresh Kamboju
On Tue, 29 Sep 2020 at 01:41, Naresh Kamboju wrote: > > On Fri, 18 Sep 2020 at 07:55, Sasha Levin wrote: > > > > From: Raviteja Narayanam > > > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > > > On some platforms, the log is corrupted while console is being > > registered. It

Re: [PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-28 Thread Naresh Kamboju
On Fri, 18 Sep 2020 at 07:55, Sasha Levin wrote: > > From: Raviteja Narayanam > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > On some platforms, the log is corrupted while console is being > registered. It is observed that when set_termios is called, there > are still some by

[PATCH AUTOSEL 4.9 64/90] serial: uartps: Wait for tx_empty in console setup

2020-09-17 Thread Sasha Levin
From: Raviteja Narayanam [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] On some platforms, the log is corrupted while console is being registered. It is observed that when set_termios is called, there are still some bytes in the FIFO to be transmitted. So, wait for tx_empty inside