[PATCH 18/27] habanalabs: change user interrupt to threaded IRQ

Stanislaw Gruszka stanislaw.gruszka at linux.intel.com
Thu Feb 16 10:28:21 UTC 2023


Hi

On Sun, Feb 12, 2023 at 10:44:45PM +0200, Oded Gabbay wrote:

>  irqreturn_t hl_irq_handler_user_interrupt(int irq, void *arg)
> +{
> +	return IRQ_WAKE_THREAD;
> +}

This is not needed. You can pass NULL to request_threaded_irq() and
the irq core will use irq_default_primary_handler() which is exactly
the same function :-)

Regards
Stanislaw




More information about the dri-devel mailing list