[PATCH 16/23] gpio: nomadik: support shared GPIO IRQs
Linus Walleij
linus.walleij at linaro.org
Tue Feb 20 00:07:02 PST 2024
On Mon, Feb 19, 2024 at 4:48 PM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
> On Wed, Feb 14, 2024 at 5:24 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:
> >
> > Support a single IRQs used by multiple GPIO banks. Change the IRQ
> > handler type from a chained handler (as used by gpiolib
> > for ->parent_handler) to a threaded IRQ.
> >
> > Use a fake raw spinlock to ensure generic_handle_irq() is called in a
> > no-irq context. See Documentation/driver-api/gpio/driver.rst, "CHAINED
> > CASCADED GPIO IRQCHIPS" for additional information.
> >
>
> Any reason for not using preempt_disable()?
I think this needs to be discussed with tglx if Grygorii is not available.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list