Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653718
| From | Brian Norris <briannorris@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown |
| Date | 2017-05-31 01:40 +0200 |
| Message-ID | <tMYU1-5kF-1@gated-at.bofh.it> (permalink) |
| References | <tLnjP-6mu-3@gated-at.bofh.it> <tLntw-6pE-11@gated-at.bofh.it> <tLBZv-70X-1@gated-at.bofh.it> <tLF74-H2-15@gated-at.bofh.it> <tMYKl-5hj-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Sorry to respond to myself. Thomas, your reply to another mail in this
series helped me to notice:
On Tue, May 30, 2017 at 04:19:58PM -0700, Brian Norris wrote:
> Side note: for issues like the first problem above, I wonder why there
> isn't a flag that once could pass to request_irq() that suggests the IRQ
> should be initially disabled?
Is that what IRQ_NOAUTOEN is for?
> I know this wouldn't work for shared
> interrupts (but request_irq() could reject that combination, no?)
Hehe, but then I see this, for example, when grepping around:
drivers/usb/dwc3/dwc3-omap.c:
irq_set_status_flags(omap->irq, IRQ_NOAUTOEN);
ret = devm_request_threaded_irq(dev, omap->irq, dwc3_omap_interrupt,
dwc3_omap_interrupt_thread, IRQF_SHARED,
"dwc3-omap", omap);
IIUC, that's quite broken, no?
Brian
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] genirq: Check irq disabled & masked states in irq_shutdown Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-05-26 15:20 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown Thomas Gleixner <tglx@linutronix.de> - 2017-05-26 15:30 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown jeffy <jeffy.chen@rock-chips.com> - 2017-05-27 07:00 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown Thomas Gleixner <tglx@linutronix.de> - 2017-05-27 10:20 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown Brian Norris <briannorris@chromium.org> - 2017-05-31 01:30 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown Brian Norris <briannorris@chromium.org> - 2017-05-31 01:40 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown Thomas Gleixner <tglx@linutronix.de> - 2017-05-31 10:40 +0200
Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown Thomas Gleixner <tglx@linutronix.de> - 2017-05-31 11:30 +0200
csiph-web