Re: MPC8343 - serial8250: too much work

From: Michael Ellerman
Date: Sun May 31 2009 - 20:48:03 EST


On Fri, 2009-05-29 at 17:07 -0300, Alemao wrote:
> Im facing some problems with serial, linux-2.6.23, getting flooded
> with this message in logs:
>
> ---
> serial8250: too much work for irq16
> ---
>
> Something I notice, in my .dts I have the following lines:
>
> serial0: serial@4500, interrupts = <9 0x8>
> serial1: serial@4600, interrupts = <10 0x8>
> spi: spi@7000, interrupts = <16 0x8>
>
>
> But when kernel starts:
>
> ---
> Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
> ---
>
> Why IRQ 16? Shouldn't it be IRQ 9?

No. Interrupt numbers are remapped on powerpc. If you were running a
mainline kernel you'd see a message something like:

irq: irq 9 on host ?? mapped to virtual irq 16

cheers

Attachment: signature.asc
Description: This is a digitally signed message part