Re: [PATCH v2] tty: serial: msm_serial: avoid system lockup condition

From: Greg KH
Date: Mon Jun 10 2019 - 13:10:08 EST


On Mon, Jun 10, 2019 at 09:55:54AM +0200, Jorge Ramirez-Ortiz wrote:
> The function msm_wait_for_xmitr can be taken with interrupts
> disabled. In order to avoid a potential system lockup - demonstrated
> under stress testing conditions on SoC QCS404/5 - make sure we wait
> for a bounded amount of time.
>
> Tested on SoC QCS404.
>
> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@xxxxxxxxxx>
> ---
> drivers/tty/serial/msm_serial.c | 4 ++++
> 1 file changed, 4 insertions(+)

What changed from v1? Always put that below the --- line.

v3 please.

thanks,

greg k-h