Re: [PATCH v2 8/9] gpio: 104-idio-16: make use of raw_spinlock variants

2017-03-28 Thread Linus Walleij
On Tue, Mar 21, 2017 at 11:43 PM, Julia Cartwright wrote: > The 104-idio-16 gpio driver currently implements an irq_chip for handling > interrupts; due to how irq_chip handling is done, it's necessary for the > irq_chip methods to be invoked from hardirq context, even on a a > real-time kernel.

Re: [PATCH v2 8/9] gpio: 104-idio-16: make use of raw_spinlock variants

2017-03-22 Thread William Breathitt Gray
On Tue, Mar 21, 2017 at 05:43:08PM -0500, Julia Cartwright wrote: >The 104-idio-16 gpio driver currently implements an irq_chip for handling >interrupts; due to how irq_chip handling is done, it's necessary for the >irq_chip methods to be invoked from hardirq context, even on a a >real-time kernel.

[PATCH v2 8/9] gpio: 104-idio-16: make use of raw_spinlock variants

2017-03-21 Thread Julia Cartwright
The 104-idio-16 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kern