Re: IRQ_ONESHOT expectations vs mask/unmask

2017-07-31 Thread Thomas Gleixner
On Mon, 31 Jul 2017, Benjamin Herrenschmidt wrote: > On Mon, 2017-07-31 at 09:09 +0200, Thomas Gleixner wrote: > > You asked a lot of questions, but you failed to explain the problem for > > XICS. > > I did but maybe it wasn't clear :-) > > "So on some PICs on powerpc, while we do use "fast EOI",

Re: IRQ_ONESHOT expectations vs mask/unmask

2017-07-31 Thread Benjamin Herrenschmidt
On Mon, 2017-07-31 at 09:09 +0200, Thomas Gleixner wrote: > Ben, > > On Mon, 31 Jul 2017, Benjamin Herrenschmidt wrote: > > I noticed a problem with some powerpc systems with threaded IRQs. I > > hadn't looked at threaded irq in the past so there was a bit of > > discovery involved. That lead to a

IRQ_ONESHOT expectations vs mask/unmask

2017-07-31 Thread Benjamin Herrenschmidt
Hi Thomas ! I noticed a problem with some powerpc systems with threaded IRQs. I hadn't looked at threaded irq in the past so there was a bit of discovery involved. That lead to a few questions: - Threaded IRQs rely on IRQF_ONESHOT. Now, is that a flag/feature that is generally exposed to drivers

Re: IRQ_ONESHOT expectations vs mask/unmask

2017-07-31 Thread Thomas Gleixner
Ben, On Mon, 31 Jul 2017, Benjamin Herrenschmidt wrote: > I noticed a problem with some powerpc systems with threaded IRQs. I > hadn't looked at threaded irq in the past so there was a bit of > discovery involved. That lead to a few questions: > > - Threaded IRQs rely on IRQF_ONESHOT. Now, is th