[PATCH v4] iio: adc: xilinx-xadc: Push interrupts into hardirq context

Sebastian Andrzej Siewior bigeasy at linutronix.de
Wed Aug 12 09:33:28 PDT 2015


On 08/12/2015 05:17 PM, Lars-Peter Clausen wrote:
> On 08/12/2015 01:00 AM, Xander Huff wrote:
>> Unfortunately, this breaks PREEMPT_RT builds, where a spinlock can sleep,
>> and is thus not able to be acquired from a hardirq handler. This patch gets
>> rid of the threaded handler and pushes all interrupt handling into the
>> hardirq context, and uses request_irq().
>>
>> To validate that this change has no impact on RT performance, here are
>> cyclictest values with no processes running:
> 
> Looks good, thanks.
> 
> Acked-by: Lars-Peter Clausen <lars at metafoo.de>

Yes, I'm fine with the rework, too.

Sebastian



More information about the linux-arm-kernel mailing list