OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7838504
)
habanalabs/gaudi: unmask HBM interrupts after handling
author
Oded Gabbay
<ogabbay@kernel.org>
Tue, 26 Jan 2021 20:58:13 +0000
(22:58 +0200)
committer
Oded Gabbay
<ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:51 +0000
(21:03 +0200)
As the driver does with all interrupts, we need to tell F/W to unmask
the HBM interrupts after the driver handled them.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c
patch
|
blob
|
history
diff --git
a/drivers/misc/habanalabs/gaudi/gaudi.c
b/drivers/misc/habanalabs/gaudi/gaudi.c
index
a9bd5ae
..
52fcaf2
100644
(file)
--- a/
drivers/misc/habanalabs/gaudi/gaudi.c
+++ b/
drivers/misc/habanalabs/gaudi/gaudi.c
@@
-7377,6
+7377,7
@@
static void gaudi_handle_eqe(struct hl_device *hdev,
gaudi_hbm_read_interrupts(hdev,
gaudi_hbm_event_to_dev(event_type),
&eq_entry->hbm_ecc_data);
+ hl_fw_unmask_irq(hdev, event_type);
break;
case GAUDI_EVENT_TPC0_DEC: