Messages in this thread | | | Date | Wed, 14 Sep 2011 21:50:19 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH] irq: call also chip->irq_mask from irq_disable |
| |
On Wed, 14 Sep 2011, Tero Kristo wrote: > On Wed, 2011-09-14 at 18:04 +0200, Thomas Gleixner wrote: > > What are you trying to solve ? > > I was seeing a hang with a chain handler implementation that was caused > by this delayed disable implementation, I am using a generic chip with > irq_mask / irq_unmask. Adding this patch to the kernel fixed the hang in > this case. There might be something wrong in my implementation of the > chain handler itself, I'll take a look at it again and try to figure out > another way to avoid it. I have another idea I can pursue, and based on > some initial testing it actually seems to be working.
chained handlers are not subject to disable/enable_irq usually. Care to share the code ?
Thanks,
tglx
| |