Messages in this thread | | | Date | Fri, 18 Sep 2015 18:22:07 +0900 | Subject | Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting | From | Kohji Okuno <> |
| |
From: Thomas Gleixner <tglx@linutronix.de> Date: Fri, 18 Sep 2015 11:04:23 +0200 > That's weird. The flow is: > > interrupt() > mask() > ret = primary_handler() > if (ret == WAKE_THREAD) > wake_thread() > else > unmask() > > thread_handler() > .... > unmask() > > So if an interrupt is triggered on the device while the interrupt is > masked it should be raised again immediately when the unmask happens > because its level type. > > I'm wondering why that doesn't work.
Yes. I think so. And, I have just found that sdhci_thread_irq() don't finish in this case. I'm analyzing about this now. But, after I apply my patch, sdhci_thread_irq() can finish. I will share the result with you.
Best regards, Kohji Okuno
| |