Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts

From: Thomas Gleixner
Date: Wed Sep 06 2017 - 10:14:59 EST


On Wed, 6 Sep 2017, Paul Burton wrote:
> On Wednesday, 6 September 2017 01:16:48 PDT Thomas Gleixner wrote:
> > What's the problem with IRQ_NOAUTOEN and do
> >
> > setup_percpu_irq();
> > enable_percpu_irq();
> >
> > on the boot CPU and then later call it when the secondary CPUs come up in
> > cpu bringup code or a hotplug state callback?
>
> There's no problem with that at all, apart from that it triggers your warning
> when the boot CPU calls setup_percpu_irq().

Ok, I misread the whole thing somehow. What you are saying is that you need
per cpu interrupts which can be shared ....

Hrmpf, ok. I'll have a look from that side then