]> git.baikalelectronics.ru Git - kernel.git/commitdiff
habanalabs/gaudi: enable error interrupt on ARB WDT
authorOded Gabbay <ogabbay@kernel.org>
Fri, 24 Jun 2022 16:11:38 +0000 (19:11 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:26 +0000 (09:09 +0300)
We want to receive an error interrupt in case the watchdog timer
expires on arbitration event in the queues.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/include/gaudi/gaudi_masks.h

index acc85d3ed98b4b84f1069441e314695ecf2c48e3..880c57b26c635cd3b2a3326c17b9a6c5a699fd95 100644 (file)
@@ -444,6 +444,7 @@ enum axi_id {
 
 #define QM_ARB_ERR_MSG_EN_MASK         (\
                                        QM_ARB_ERR_MSG_EN_CHOISE_OVF_MASK |\
+                                       QM_ARB_ERR_MSG_EN_CHOISE_WDT_MASK |\
                                        QM_ARB_ERR_MSG_EN_AXI_LBW_ERR_MASK)
 
 #define PCIE_AUX_FLR_CTRL_HW_CTRL_MASK                               0x1