On Thu, Jul 04, 2024 at 12:18:02PM +0200, Johan Hovold wrote: > Since 6.10-rc1, Qualcomm machines with a serial port can easily lock up > hard, for example, when stopping a getty on reboot. > > This was triggered by the kfifo conversion, which turned an existing bug > that caused the driver to print discarded characters after a buffer > flush into a hard lockup. > > This series fixes the regression and a related soft lockup issue that > can be triggered on software flow control and on suspend. > > Doug has posted an alternative series of fixes here that depends on > reworking the driver a fair bit here: > > https://lore.kernel.org/lkml/20240610222515.3023730-1-dianders@xxxxxxxxxxxx/ > > This rework has a significant impact on performance on some platforms, > but fortunately it seems such a rework can be avoided. > > There are further bugs in the console code (e.g. that can lead to lost > characters) that this series does not address, but those can be fixed > separately (and I've started working on that). I'll take these now, thanks! greg k-h