[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2204141421190.9383@angie.orcam.me.uk>
Date: Thu, 14 Apr 2022 14:47:17 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Andy Shevchenko <andy.shevchenko@...il.com>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
"open list:SERIAL DRIVERS" <linux-serial@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PING][PATCH v3 0/2] serial: 8250: Fixes for Oxford Semiconductor
950 UARTs
On Thu, 14 Apr 2022, Andy Shevchenko wrote:
> > > Here's v3 of the outstanding fixes for Oxford Semiconductor 950 UARTs.
> > > As the change for the default FIFO rx trigger level has been already
> > > merged with commit d7aff291d069 ("serial: 8250: Define RX trigger levels
> > > for OxSemi 950 devices") only one patch of the original series remains.
> >
> > Ping for:
> > <https://lore.kernel.org/lkml/alpine.DEB.2.21.2203310114210.44113@angie.orcam.me.uk/>
>
> I still didn't get the answer why BOTHER can't be used instead of
> spreading the old hack.
I just fail to see any sense in repeating myself over and over.
> You mentioned fractional baud rates and
> something else, and I asked why do you need them and from where you
> got the limitation of 16-bit values for dividers when using BOTHER.
Sigh, I have documented it there with the original submission 10 months
ago and then repeated with every reiteration:
> Finally the 16-bit UART_DIV_MAX limitation of the baud rate requested
> with `serial8250_get_baud_rate' makes the standard rates of 200bps and
> lower inaccessible in the regular way with the baud base of 15625000.
> That could be avoided by tweaking our 8250 driver core appropriately, but
> I have figured out with modern serial port usage that would not be the
> best use of my time. Someone who does have a real need to use an Oxford
> device at these low rates can step in and make the necessary chances.
To put it shortly: the `spd_cust' feature is out there and it works, and
contrary to what you assert requires no maintenance effort if you just
leave it alone, while the alternative has various shortcomings that do
require effort if they were to be addressed. So please just get over it
and let users choose what suits them best while letting developers focus
on other stuff that keeps waiting. If someone is happy with what BOTHER
offers, then by no means I keep them from using it.
I fail to understand really why a piece of code to correct and improve
broken UART baud rate calculation has to be stuck in limbo for almost a
year. There is nothing wrong with this code and it has a proper change
description and my observation has been that actually broken code often
with half a sentence serving as justification gets accepted with no fuss
all the time. :(
Maciej
Powered by blists - more mailing lists