Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 12:30 PM Uwe Kleine-König wrote: > > On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wrote: > > > > > > The gpio-siox driver uses handle_nested_irq() to implement its > > > interrupt support. This is only

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Uwe Kleine-König
On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum 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

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum 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

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-07 Thread Uwe Kleine-König
Hello Ahmad, On Mon, Sep 07, 2020 at 05:31:35PM +0200, Ahmad Fatoum 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

[PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-07 Thread Ahmad Fatoum
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