Skip to content

Commit 717261e

Browse files
committed
habanalabs: don't reset device when getting VRHOT
VRHOT event from the F/W indicates the device has reached a temperature of 100 Celsius degrees. In this case, the driver should only print this information to the kernel log. The device will shutdown itself automatically when reaching 125 degrees. Signed-off-by: Oded Gabbay <[email protected]>
1 parent f62fa0c commit 717261e

File tree

1 file changed

+1
-1
lines changed
  • drivers/misc/habanalabs/goya

1 file changed

+1
-1
lines changed

drivers/misc/habanalabs/goya/goya.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4449,7 +4449,6 @@ void goya_handle_eqe(struct hl_device *hdev, struct hl_eq_entry *eq_entry)
44494449
case GOYA_ASYNC_EVENT_ID_AXI_ECC:
44504450
case GOYA_ASYNC_EVENT_ID_L2_RAM_ECC:
44514451
case GOYA_ASYNC_EVENT_ID_PSOC_GPIO_05_SW_RESET:
4452-
case GOYA_ASYNC_EVENT_ID_PSOC_GPIO_10_VRHOT_ICRIT:
44534452
goya_print_irq_info(hdev, event_type, false);
44544453
hl_device_reset(hdev, true, false);
44554454
break;
@@ -4485,6 +4484,7 @@ void goya_handle_eqe(struct hl_device *hdev, struct hl_eq_entry *eq_entry)
44854484
goya_unmask_irq(hdev, event_type);
44864485
break;
44874486

4487+
case GOYA_ASYNC_EVENT_ID_PSOC_GPIO_10_VRHOT_ICRIT:
44884488
case GOYA_ASYNC_EVENT_ID_TPC0_BMON_SPMU:
44894489
case GOYA_ASYNC_EVENT_ID_TPC1_BMON_SPMU:
44904490
case GOYA_ASYNC_EVENT_ID_TPC2_BMON_SPMU:

0 commit comments

Comments
 (0)