Thread (2 messages) 2 messages, 2 authors, 2013-03-05

Re: UART IRQ over SMP

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2013-03-05 06:04:18

On Mon, Mar 04, 2013 at 11:18:53AM +0200, Noam Camus wrote:
Hello 

I got my UART IRQ line hardwired to CPU0. 
However CPU1 (due to scheduler balancing I presume) is used for calling the request_irq() from 8250.c.
By doing that the "chip" irq_enable() is unmasking UART IRQ line of CPU1 and not CPU0.
Now I do not get UART interrupts since they are masked at CPU0.

I tried to unmask CPU0 UART IRQ line by default at early boot.
Once I do that I get some spurious interrupt that handle_level_irq() leaves masked.
It is because I did not register any action yet with the request_irq().

Is there known way for dealing with such scenario?
You need to fix your irq handling code for your platform, this isn't a
UART issue at all.

good luck,

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