Re: [PATCH] 8250: option 'force_polling' for buggy IRQs

From: Greg KH
Date: Mon Jul 25 2016 - 13:47:01 EST

On Mon, Jul 25, 2016 at 07:36:15PM +0200, Max Staudt wrote:
> Some serial ports may not emit IRQs properly, or there may be a defect
> in their routing on the motherboard.
> This patch allows these ports to be used anyway (or until a better
> workaround is known for a specific platform), though with no guarantees.
> If you have such a buggy UART, boot Linux with 8250.force_polling=1 .

Ick, don't add new module parameters if at all possible.

> It is essentially the kernel level version of:
> setserial /dev/ttySn irq 0

Why can't you just do this instead?


greg k-h