All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] serial: 8250: Let drivers request full 16550A feature probing
@ 2022-09-17 10:07 Maciej W. Rozycki
  2022-09-17 10:07 ` [PATCH 1/2] " Maciej W. Rozycki
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Maciej W. Rozycki @ 2022-09-17 10:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: Josh Triplett, Anders Blomdell, linux-serial, linux-kernel, stable

Hi,

 A recent change has added a SERIAL_8250_16550A_VARIANTS option, which 
lets one request the 8250 driver not to probe for 16550A device features 
so as to reduce the driver's device startup time in virtual machines.  
This has turned out problematic to a more recent update for the OxSemi 
Tornado series PCIe devices, whose new baud rate generator handling code 
actually requires switching hardware into the enhanced mode for correct 
operation, which actually requires 16550A device features to have been 
probed for.

 This small patch series fixes the issue by letting individual device 
subdrivers to request full 16550A device feature probing by means of a 
flag regardless of the SERIAL_8250_16550A_VARIANTS setting chosen.

 The changes have been verified with an OXPCIe952 device, in the native 
UART mode and a 64-bit RISC-V system as well as in the legacy UART mode 
and a 32-bit x86 system.

 Credit to Anders for reporting this issue and then working through the 
resolution.

  Maciej

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-09-20 23:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17 10:07 [PATCH 0/2] serial: 8250: Let drivers request full 16550A feature probing Maciej W. Rozycki
2022-09-17 10:07 ` [PATCH 1/2] " Maciej W. Rozycki
2022-09-19  4:42   ` Jiri Slaby
2022-09-19  8:18     ` Maciej W. Rozycki
2022-09-19 10:49       ` Jiri Slaby
2022-09-20 23:35         ` Maciej W. Rozycki
2022-09-17 10:07 ` [PATCH 2/2] serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices Maciej W. Rozycki
2022-09-19  4:44   ` Jiri Slaby
2022-09-19  8:23     ` Maciej W. Rozycki
2022-09-20 23:35       ` Maciej W. Rozycki
2022-09-17 15:00 ` [PATCH 0/2] serial: 8250: Let drivers request full 16550A feature probing Josh Triplett
2022-09-18  8:26   ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.