[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150920.092158.1752055698867941363.okuno.kohji@jp.panasonic.com>
Date: Sun, 20 Sep 2015 09:21:58 +0900
From: Kohji Okuno <okuno.kohji@...panasonic.com>
To: <tglx@...utronix.de>
CC: <marc.zyngier@....com>, <linux-kernel@...r.kernel.org>,
<okuno.kohji@...panasonic.com>
Subject: Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting
From: Thomas Gleixner <tglx@...utronix.de>
Date: Sat, 19 Sep 2015 22:24:15 +0200
> No, we can't. We can only do that if the interrupt is not shared.
> Assume the following scenario:
> request_irq(irq, handler, IRQF_SHARED, "devA", devidA);
> In case of force threading that sets the oneshot flag for the irq
> descriptor.
> Now the sdhci driver is initialized
> request_thread_irq(irq, handler, thandler, IRQF_SHARED,
> "sdhci", devidSDHCI);
> The oneshot flag sticks and you run into exactly the same issue as
> now.
> Shared interrupts are a major pain, but we have to deal with them.
> I'm working on a solution for that issue.
>
> Thanks,
> tglx
I understood. If you could prepare the patch, I can try it.
Thanks,
Kohji Okuno
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists