Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727861

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

From Paul Burton <paul.burton@imgtec.com>
Newsgroups linux.kernel
Subject Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts
Date 2017-09-07 03:20 +0200
Message-ID <umTE6-1fa-5@gated-at.bofh.it> (permalink)
References <tN8JJ-3mG-35@gated-at.bofh.it> <umJbI-2R0-11@gated-at.bofh.it> <umJlp-2UP-27@gated-at.bofh.it>
Organization Imagination Technologies

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Thomas,

On Wednesday, 6 September 2017 07:14:50 PDT Thomas Gleixner wrote:
> 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

So actually it turns out that getting this to work involves more than just 
avoiding your warning. I have some code which is mostly working; I'll clean up 
& send it as an RFC hopefully tomorrow.

Thanks,
    Paul

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts Paul Burton <paul.burton@imgtec.com> - 2017-09-06 08:10 +0200
  Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared  interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-09-06 10:20 +0200
    Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts Paul Burton <paul.burton@imgtec.com> - 2017-09-06 16:10 +0200
      Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared  interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-09-06 16:20 +0200
        Re: [2/2] genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts Paul Burton <paul.burton@imgtec.com> - 2017-09-07 03:20 +0200
          [RFC PATCH v1 9/9] irqchip: mips-gic: Remove gic_all_vpes_local_irq_controller Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 2/9] genirq: Support shared per_cpu_devid interrupts Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 8/9] irqchip: mips-cpu: Set timer, FDC & perf interrupts percpu_devid Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 3/9] genirq: Introduce irq_is_percpu_devid() Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 7/9] MIPS: cevt-r4k: percpu_devid interrupt support Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 5/9] MIPS: Remove perf_irq Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 6/9] MIPS: perf: percpu_devid interrupt support Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 1/9] genirq: Allow shared interrupt users to opt into IRQ_NOAUTOEN Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
          [RFC PATCH v1 0/9] Support shared percpu interrupts; clean up MIPS hacks Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200
            [RFC PATCH v1 4/9] MIPS: Remove perf_irq interrupt sharing fallback Paul Burton <paul.burton@imgtec.com> - 2017-09-08 01:30 +0200

csiph-web