[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024030233-safely-mama-5f52@gregkh>
Date: Sat, 2 Mar 2024 22:01:59 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Peter Collingbourne <pcc@...gle.com>
Cc: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Jiri Slaby <jirislaby@...nel.org>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] serial: 8250_dw: Do not reclock if already at correct
rate
On Thu, Feb 22, 2024 at 11:26:34AM -0800, Peter Collingbourne wrote:
> When userspace opens the console, we call set_termios() passing a
> termios with the console's configured baud rate. Currently this causes
> dw8250_set_termios() to disable and then re-enable the UART clock at
> the same frequency as it was originally. This can cause corruption
> of any concurrent console output. Fix it by skipping the reclocking
> if we are already at the correct rate.
>
> Signed-off-by: Peter Collingbourne <pcc@...gle.com>
> Link: https://linux-review.googlesource.com/id/I2e3761d239cbf29ed41412e5338f30bffe1efc70
Again, why the link? What does that help with? Our tools add a Link:
tag to this public email thread, not a google gerrit instance.
thanks,
greg k-h
Powered by blists - more mailing lists