Thread (62 messages) 62 messages, 5 authors, 2024-02-22

Re: [PATCH 16/23] gpio: nomadik: support shared GPIO IRQs

From: Bartosz Golaszewski <hidden>
Date: 2024-02-19 15:48:15
Also in: linux-arm-kernel, linux-gpio, linux-mips, lkml

On Wed, Feb 14, 2024 at 5:24 PM Théo Lebrun [off-list ref] 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()?

Bart

[snip]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help