On Thu, Nov 29, 2007 at 11:14:30AM +0100, Remy Bohmer wrote: > I do not think Russell is right here with assuming that the wrong > interrupt handler type is used. Looking at the behaviour of the > mainline kernel (non-RT), the implementation is quite different: On > mainline the handle_simple_irq() in chip.c is not re-entrant, the > masking is **only** done in case of errors, and therefor never > unmasked again, of course. The issue comes down to a very simple question: Are you using handle_simple_irq() with an interrupt which can be masked? If the answer to that question is 'yes' then you're using the wrong handler. If 'no' then it's the right handler and the mask/unmask methods associated with the interrupt will be no-ops. Therefore, if you have mask/unmask methods for a simple IRQ which actually do something, clearly the first answer is the one which applies. You're using the wrong handler. Use the level or edge handlers instead. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: "Remy Bohmer" <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Steven Rostedt <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Daniel Walker <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Daniel Walker <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: "Remy Bohmer" <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Russell King - ARM Linux <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Steven Rostedt <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Russell King - ARM Linux <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: Steven Rostedt <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- From: "Remy Bohmer" <[email protected]>
- Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- Prev by Date: Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.
- Next by Date: Re: [PATCH] asm-arm/{arch-omap,arch-ixp23xx}: parentheses around NR_IRQS definition
- Previous by thread: Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- Next by thread: Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever
- Index(es):