Re: [tip: irq/core] genirq: Warn about using IRQF_ONESHOT without a threaded handler
From: Sebastian Andrzej Siewior
Date: Tue Feb 03 2026 - 10:09:47 EST
On 2026-02-03 11:43:53 [+0100], Bert Karwatzki wrote:
> Yes, this should call warn_no_thread() when the interrupt is triggered, but
> I don't know if these sensors are actually functional on my laptop (I've never
> tried to use them).
>
> So I installed libiio-utils from debian and this is the output from
> iio_info:
…
>
> The iio:device* sensors all report 0 for the "offset value", so these
> sensors are maybe non-fuctional.
>
>
> > What did I miss?
>
> I don't think you missed something, but the thread function being NULL here
> could a problem on devices where these sensors actually work. (Or perhaps these sensors
> need to be polled and the interrupts never trigger (?))
I only found one handler where the thread handler was NULL and it
returned WAKE_THREAD. So this _is_ broken.
Was it one of the driver I mentioned? If so I suggest to fix those
first. I have no idea how this should work…
> Bert Karwatzki
Sebastian