Re: kernel 5.19.8: "Oxford Semiconductor Ltd OXPCIe952 Dual Native 950 UART" gets wrong baudrate (PCI ID 1415:c158)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 Sep 2022, Maciej W. Rozycki wrote:

> I'll examine your I/O conversation log in detail and will see if I can 
> come up with a possible explanation.

 I think I know what is going on here.  Can you please confirm that you 
have the CONFIG_SERIAL_8250_16550A_VARIANTS option disabled (default to 
"off" for x86 only)?  That would explain things.

 Offhand I am not sure what to do here.  There are several options to 
choose from I can think of right now:

1. Disable new OxSemi Tornado clock code iff !SERIAL_8250_16550A_VARIANTS, 
   bringing back buggy calculation for rates above 115200bps and coarse 
   BOTHER granularity.

2. Same as above, but additionally limit the baud rates to 115200bps to 
   avoid buggy rates.

3. Force SERIAL_8250_16550A_VARIANTS to "y" if SERIAL_8250_PCI != "n". 

4. Remove SERIAL_8250_16550A_VARIANTS altogether and execute code it 
   guards unconditionally (does it still matter nowadays?).

5. Something else not yet determined.

 Greg, do you have any opinion?

  Maciej



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux