Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-06 Thread Shubhrajyoti Datta
On Tue, Aug 4, 2015 at 1:35 PM, Lars-Peter Clausen wrote: > > Well there is no need to use a threaded IRQ. The interrupt handler is quite > small and doesn't take too much time and doesn't have any delays or sleeps > in it either. > > Ok thanks for the explanation. -- To unsubscribe from this

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-06 Thread Shubhrajyoti Datta
On Tue, Aug 4, 2015 at 1:35 PM, Lars-Peter Clausen l...@metafoo.de wrote: Well there is no need to use a threaded IRQ. The interrupt handler is quite small and doesn't take too much time and doesn't have any delays or sleeps in it either. Ok thanks for the explanation. -- To unsubscribe from

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-04 Thread Lars-Peter Clausen
On 08/04/2015 07:34 AM, Shubhrajyoti Datta wrote: > On Fri, Jul 24, 2015 at 6:08 PM, Lars-Peter Clausen wrote: >> Hi, >> >> Sorry, but I don't think this patch has been sufficiently tested against a >> mainline kernel. The driver wont even probe the way it is right now. >> >> On 07/21/2015 01:14

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-04 Thread Lars-Peter Clausen
On 08/03/2015 10:18 PM, Xander Huff wrote: > On 7/24/2015 7:38 AM, Lars-Peter Clausen wrote: >> Hi, >> >> Sorry, but I don't think this patch has been sufficiently tested against a >> mainline kernel. The driver wont even probe the way it is right now. >> > Thanks for your responses. I'm not sure

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-04 Thread Lars-Peter Clausen
On 08/03/2015 10:18 PM, Xander Huff wrote: On 7/24/2015 7:38 AM, Lars-Peter Clausen wrote: Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. Thanks for your responses. I'm not sure why it

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-04 Thread Lars-Peter Clausen
On 08/04/2015 07:34 AM, Shubhrajyoti Datta wrote: On Fri, Jul 24, 2015 at 6:08 PM, Lars-Peter Clausen l...@metafoo.de wrote: Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. On 07/21/2015

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-03 Thread Shubhrajyoti Datta
On Fri, Jul 24, 2015 at 6:08 PM, Lars-Peter Clausen wrote: > Hi, > > Sorry, but I don't think this patch has been sufficiently tested against a > mainline kernel. The driver wont even probe the way it is right now. > > On 07/21/2015 01:14 AM, Xander Huff wrote: >> >> The driver currently

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-03 Thread Xander Huff
On 7/24/2015 7:38 AM, Lars-Peter Clausen wrote: Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. Thanks for your responses. I'm not sure why it doesn't probe for you since I was able to do a

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-03 Thread Shubhrajyoti Datta
On Fri, Jul 24, 2015 at 6:08 PM, Lars-Peter Clausen l...@metafoo.de wrote: Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. On 07/21/2015 01:14 AM, Xander Huff wrote: The driver currently

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-03 Thread Xander Huff
On 7/24/2015 7:38 AM, Lars-Peter Clausen wrote: Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. Thanks for your responses. I'm not sure why it doesn't probe for you since I was able to do a

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-24 Thread Lars-Peter Clausen
Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. On 07/21/2015 01:14 AM, Xander Huff wrote: The driver currently registers a pair of irq handlers using request_threaded_irq(), however the

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-24 Thread Lars-Peter Clausen
Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. On 07/21/2015 01:14 AM, Xander Huff wrote: The driver currently registers a pair of irq handlers using request_threaded_irq(), however the

[PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-20 Thread Xander Huff
The driver currently registers a pair of irq handlers using request_threaded_irq(), however the synchronization mechanism between the hardirq and the threadedirq handler is a regular spinlock. Unfortunately, this breaks PREEMPT_RT builds, where a spinlock can sleep, and is thus not able to be

[PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-20 Thread Xander Huff
The driver currently registers a pair of irq handlers using request_threaded_irq(), however the synchronization mechanism between the hardirq and the threadedirq handler is a regular spinlock. Unfortunately, this breaks PREEMPT_RT builds, where a spinlock can sleep, and is thus not able to be