Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Possible bug in 8250.c
@ 2011-08-11 23:23 Ivica Mikec
  2011-08-11 23:23 ` Ivica Mikec
  0 siblings, 1 reply; 2+ messages in thread
From: Ivica Mikec @ 2011-08-11 23:23 UTC (permalink / raw)
  To: linux-mips

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Possible bug in 8250.c
  2011-08-11 23:23 Possible bug in 8250.c Ivica Mikec
@ 2011-08-11 23:23 ` Ivica Mikec
  0 siblings, 0 replies; 2+ messages in thread
From: Ivica Mikec @ 2011-08-11 23:23 UTC (permalink / raw)
  To: linux-mips

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-11 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 23:23 Possible bug in 8250.c Ivica Mikec
2011-08-11 23:23 ` Ivica Mikec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox