Re: [PATCH] serial: 8250: clear stuck RX-timeout interrupt on LPC32xx (PORT_LPC3220)
Ryan Wilbur <[email protected]> Sat, 18 Jul 2026 09:04:36 -0300
| Newsgroups | org.kernel.vger.linux-serial,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 17, 2026 at 20:54:02 +0300, Andy Shevchenko wrote: > > + * Same bug worked around for other 8250 cores (8250_dw, 8250_omap, 8250_bcm7271). > > This is 8250-port.c. > > > + if (port->type == PORT_LPC3220 && > > Why do we have this then? dw/omap/bcm7271 handle their variants of this in their own drivers. LPC32xx (PORT_LPC3220) has no dedicated 8250 glue driver. I gated it on port->type because LPC32xx is the only hardware I can test on, and I wanted to avoid changing behaviour on 8250 variants I can't verify. That said, the read only fires on a bogus IIR=RX_TIMEOUT with LSR.DR clear, which a healthy 16550 never reports, so it's harmless on other parts. Unless you object, I'll drop the PORT_LPC3220 gate to allow for generic handling.