Re: recommended use of request_any_context_irq()
From: Thomas Gleixner
Date: Thu Sep 22 2016 - 16:51:26 EST
On Thu, 22 Sep 2016, Leo Li wrote:
> On Thu, Sep 22, 2016 at 3:10 AM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
> > There is strictly no reason to perform a blanket change of all the
> > drivers. What would be the reason to change them other than to cater for
> > a contrived use case that may never happen?
>
> Maybe we could do blanket change to drivers that meet certain
> criteria? At least we should improve the messaging when a driver
> cannot request interrupt due to nested threading.
Nested threading is a result of requesting an any context interrupt not
something which is there already.
> Right now, it might take quite some time for a developer unfamiliar with
> the threaded interrupt to figure out the problem.
Did you have issues with a driver which was not able to request an
interrupt? If yes, please explain in detail what the failure was and why
you think that this should be changed. If not, please explain which problem
you are trying to solve.
Thanks,
tglx