> Ok. If I understand correctly, I have to use devm_request_threaded_irq()
> instead of devm_request_irq() and let the thread handler registered with
> the devm_request_threaded_irq() function to perform interrupt activity
> directly?
Yes. I've not looked at all the patches yet, but if the work queue is
not used for anything else, you should be able to remove it, and let
the IRQ core handle all the threading for you.
Andrew
Hi Andrew,
On 13/09/23 7:49 am, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
>> Ok. If I understand correctly, I have to use devm_request_threaded_irq()
>> instead of devm_request_irq() and let the thread handler registered with
>> the devm_request_threaded_irq() function to perform interrupt activity
>> directly?
>
> Yes. I've not looked at all the patches yet, but if the work queue is
> not used for anything else, you should be able to remove it, and let
> the IRQ core handle all the threading for you.
Sure, will implement it. Thanks.
Best Regards,
Parthiban V
>
> Andrew
>