hard irq + threaded irq
Hi
If using 'request_irq' API with IRQF_NO_THREAD, then the provided handler is invoked as hard irq, and no threaded irq is launched.
If using 'request_threaded_irq' API with 2 handlers, then two threaded irq are launched.
Is there a way to configure irq so that one handler is invoked as hard irq, and the second handler is launched as threaded irq?
With best regards
Yosi Yarchi
Quoted 1 line · yosi yarchi
Hi
Hi,
Quoted 5 lines
If using '
request_irq' API withIRQF_NO_THREAD, then the provided handler is invoked as hard irq, and no threaded irq is launched.If using '
request_threaded_irq' API with 2 handlers, then two threaded irq are launched.
This is done because quite some of the driver were using sleeping locks in the primary handler.
Quoted 2 lines
Is there a way to configure irq so that one handler is invoked as hard irq, and the second handler is launched as threaded irq?
Isn't
request_threaded_irq(,, IRQF_NO_THREAD, , );
doing this?
Quoted 3 lines
With best regards
Yosi Yarchi
Sebastian