[PATCH v2 26/30] Documentation: gpio: mention generic_handle_irq_safe()

Linus Walleij linus.walleij at linaro.org
Thu Feb 29 01:40:17 PST 2024


On Wed, Feb 28, 2024 at 12:28 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:

> generic_handle_irq() must be called from a no-IRQ context. Documentation
> advices on using a fake raw lock to call generic_handle_irq() from any
> context.
>
> Since 509853f9e1e7 ("genirq: Provide generic_handle_irq_safe()"), a
> better alternative is available.
>
> To: Stephen Warren <swarren at wwwdotorg.org>
> To: Jonathan Corbet <corbet at lwn.net>
> Cc: linux-doc at vger.kernel.org
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
I leave this one off from my branch, Bartosz can apply it separately.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list