Re: Use of IRQF_DISABLED along with IRQF_SHARED

2008-02-11 Thread Thomas Petazzoni
Le Thu, 7 Feb 2008 15:56:45 +0530, "Rajat Jain" <[EMAIL PROTECTED]> a écrit : > This is regarding the following code in kernel/irq/handle.c. Consider > the case of a shared IRQ line, where two handlers are registered such > that first handler does not specify IRQF_DISABLED, but the second one > do

ISR may be called with interrupts enabled (Was:"Use of IRQF_DISABLED along with IRQF_SHARED")

2008-02-10 Thread Rajat Jain
Hi, Was wondering if I did not frame my question appropriately? Or it there a better place to discuss this? Thanks, Rajat > > This is regarding the following code in kernel/irq/handle.c. Consider > the case of a shared IRQ line, where two handlers are registered such > that first handler does

RE: Use of IRQF_DISABLED along with IRQF_SHARED

2008-02-10 Thread Rajat Jain
Original Message From: Peter Teoh [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 8:11 PM To: Rajat Jain Cc: kernelnewbies@nl.linux.org; [EMAIL PROTECTED] Subject: Re: Use of IRQF_DISABLED along with IRQF_SHARED > sorry, i am also quite confused > > the calle

Use of IRQF_DISABLED along with IRQF_SHARED

2008-02-07 Thread Rajat Jain
Hi, This is regarding the following code in kernel/irq/handle.c. Consider the case of a shared IRQ line, where two handlers are registered such that first handler does not specify IRQF_DISABLED, but the second one does. But it seems both the handlers will be called IRQs ENABLED (which is certa