Thread (6 messages) 6 messages, 3 authors, 2023-08-21

Re: [PATCH v2 0/2] serial: 8250_dw: fall back to poll if there's no interrupt

From: Jisheng Zhang <jszhang@kernel.org>
Date: 2023-08-06 10:28:09
Also in: linux-serial, lkml

On Sun, Aug 06, 2023 at 12:20:11PM +0200, Greg Kroah-Hartman wrote:
On Sun, Aug 06, 2023 at 05:20:54PM +0800, Jisheng Zhang wrote:
quoted
When there's no irq(this can be due to various reasons, for example,
no irq from HW support, or we just want to use poll solution, and so
on), falling back to poll is still better than no support at all.
Ouch, really?  Why not just fix the hardware instead?
Hi Greg,

The HW may be designed as that to save interrupt lines if the uart
is dedicated to debug purpose. I also see similar support in other
uart drivers, for example liteuart.c, altera_uart.c, altera_jtaguart.c
8250_ioc3.c and so on.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help