Thread (3 messages) 3 messages, 3 authors, 2011-07-30

Fw: Question about interrupts

From: santhosh kumars <hidden>
Date: 2011-07-30 10:52:20

On Fri, Jul 29, 2011 at 3:56 PM, manish honap
[off-list ref] wrote:
Well 2.6.39 seems to have changed and the flow as I understand for interrupt
processing is
do_IRQ -> irq_enter -> handle_irq -> ...

but in above flow i cant find local_irq_enable anywhere; is there some different
trick used to enable the interrupts ?
yes in 2.6.34 i am able to find do_IRQ and handle_IRQ_event(), defined in
kernel/irq/handler.c but with 2.6.39 its moved some where .Can any one
please help me on this
where this logic is moved.



----- Forwarded Message ----
From: santhosh kumars <redacted>
To: manish honap <redacted>
Cc: kernelnewbies at kernelnewbies.org
Sent: Fri, 29 July, 2011 3:31:10 PM
Subject: Re: Question about interrupts

On Fri, Jul 29, 2011 at 3:16 PM, manish honap
[off-list ref] wrote:
quoted
Hello all,

When interrupts are handled through interrupt gate cpu automatically clears IF
flag.

but to allow nesting kernel sets the IF flag in handle_irq_event - for 2.6.11

but in 2.6.39 how the interrupts are re-enabled so as to facilitate nesting of
interrupts
I am unable to find local_irq_enable in do_IRQ()
I think in handle_IRQ_event event again interrupts are enabled
if (!(action->flags & IRQF_DISABLED))
local_irq_enable_in_hardirq();
quoted
Thanks in advance.


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help