Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736592
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFT PATCH v2] gpiolib: allow gpio irqchip to map irqs dynamically |
| Date | 2017-09-21 13:50 +0200 |
| Message-ID | <us89r-rR-17@gated-at.bofh.it> (permalink) |
| References | <u5Jrs-7hV-27@gated-at.bofh.it> <u9AfU-pF-17@gated-at.bofh.it> <u9ApA-HZ-7@gated-at.bofh.it> <u9K5A-7tS-27@gated-at.bofh.it> <upUaB-eY-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Sep 15, 2017 at 10:26 AM, Jerome Brunet <jbrunet@baylibre.com> wrote: > I initially planned to do some refcounting in the gpio layer but that would make > no sense, as you pointed out, the irq could be shared. This refcounting would > only make sense at the irq level. > > On a more general note, I wonder when is it safe for a driver to dispose of the > mapping of a possibly shared irq ? There is no way to know if the mapping is > still used somewhere else, or am I missing something again ? I have no idea, but maybe Marc Z or Rob H knows this? They usually have a bit of deeper IRQ-centric knowledge. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [RFT PATCH v2] gpiolib: allow gpio irqchip to map irqs dynamically Jerome Brunet <jbrunet@baylibre.com> - 2017-09-15 10:30 +0200 Re: [RFT PATCH v2] gpiolib: allow gpio irqchip to map irqs dynamically Linus Walleij <linus.walleij@linaro.org> - 2017-09-21 13:50 +0200
csiph-web