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 2022-09-14 16:15, Maciej W. Rozycki wrote:
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.
Just found that myself while going through the initializaton sequence (while now knowing what to look for)

Thats what you get for choosing Fedora ;-)


  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

--
Anders Blomdell                  Email: anders.blomdell@xxxxxxxxxxxxxx
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118
SE-221 00 Lund, Sweden



[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