diff options
author | Ofir Bitton <obitton@habana.ai> | 2021-11-18 08:46:15 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 08:59:07 +0200 |
commit | b13bef204158e0c9d8a9149d134b260cec7ff6a9 (patch) | |
tree | b803fb5465d8c4c9ebc94ef8c8cb579add46fdbd /drivers/misc | |
parent | 75a5c44d143bc1818e8004a8bee6993aba3a75cf (diff) | |
download | linux-b13bef204158e0c9d8a9149d134b260cec7ff6a9.tar.bz2 |
habanalabs: change misleading IRQ warning during reset
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/habanalabs/common/irq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/misc/habanalabs/common/irq.c b/drivers/misc/habanalabs/common/irq.c index 96d82b682674..9fd4c18e274e 100644 --- a/drivers/misc/habanalabs/common/irq.c +++ b/drivers/misc/habanalabs/common/irq.c @@ -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; } |