[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 9 Sep 2020 11:43:24 +0200
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Ahmad Fatoum <a.fatoum@...gutronix.de>
Cc: Thorsten Scherer <t.scherer@...elmann.de>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Linus Walleij <linus.walleij@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-gpio <linux-gpio@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs
On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum <a.fatoum@...gutronix.de> wrote:
>
> The gpio-siox driver uses handle_nested_irq() to implement its
> interrupt support. This is only capable of handling threaded irq
> actions. For a hardirq action it triggers a NULL pointer oops.
> (It calls action->thread_fn which is NULL then.)
>
> Prevent registration of a hardirq action by setting
> gpio_irq_chip::threaded to true.
>
> Cc: u.kleine-koenig@...gutronix.de
> Signed-off-by: Ahmad Fatoum <a.fatoum@...gutronix.de>
> ---
Could you add a Fixes tag? This looks like stable material.
Bart
Powered by blists - more mailing lists