habanalabs: change misleading IRQ warning during reset
authorOfir Bitton <obitton@habana.ai>
Thu, 18 Nov 2021 06:46:15 +0000 (08:46 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:07 +0000 (08:59 +0200)
Currently we dump the physical IRQ line index in host if an event
is received during reset. This ID is confusing as it means nothing
to the user.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/irq.c

index 96d82b6..9fd4c18 100644 (file)
@@ -246,9 +246,7 @@ irqreturn_t hl_irq_handler_eq(int irq, void *arg)
                dma_rmb();
 
                if (hdev->disabled) {
-                       dev_warn(hdev->dev,
-                               "Device disabled but received IRQ %d for EQ\n",
-                                       irq);
+                       dev_warn(hdev->dev, "Device disabled but received an EQ event\n");
                        goto skip_irq;
                }