Skip to contentSkip to conversation

Possible bug in 8250.c

DISCUSSION Ivica Mikec 1 participant 1 message Aug 11, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

Hi!

I noticed a problem in 8250.c.

My board has only one UART port, and is 16550 compatible, so in function serial8250_interrupt I see that serial_in function is called twice. Second time, code "else if (end == NULL)" is executed and function return IRQ_NONE. This causes an entry in /proc/irq/spurious:

count 239
unhandled 1
last_unhandled 4294700846 ms

But this is not a spurious interrupt.

Regards.