habanalabs/gaudi: unmask HBM interrupts after handling
authorOded Gabbay <ogabbay@kernel.org>
Tue, 26 Jan 2021 20:58:13 +0000 (22:58 +0200)
committerOded 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

index a9bd5ae..52fcaf2 100644 (file)
@@ -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: