Searched refs:reset_info (Results 1 – 15 of 15) sorted by relevance
318 if (hdev->reset_info.in_reset) { in hl_device_status()319 if (hdev->reset_info.in_compute_reset) in hl_device_status()323 } else if (hdev->reset_info.needs_reset) { in hl_device_status()422 reset_device = hdev->reset_upon_device_release || hdev->reset_info.watchdog_active; in hpriv_release()427 if (!hdev->reset_info.in_reset && !reset_device && hdev->pdev && !hdev->pldm) in hpriv_release()915 spin_lock_init(&hdev->reset_info.lock); in device_early_init()1037 if (!hdev->reset_info.in_reset) in hl_device_heartbeat()1038 hdev->reset_info.prev_reset_trigger = HL_RESET_TRIGGER_DEFAULT; in hl_device_heartbeat()1137 if (!hdev->reset_info.hard_reset_pending) in hl_device_set_debug_mode()1227 spin_lock(&hdev->reset_info.lock); in hl_device_suspend()[all …]
583 if (hdev->reset_info.in_reset) { in engines_show()854 if (hdev->reset_info.in_reset) { in hl_data_read32()882 if (hdev->reset_info.in_reset) { in hl_data_write32()909 if (hdev->reset_info.in_reset) { in hl_data_read64()935 if (hdev->reset_info.in_reset) { in hl_data_write64()960 if (hdev->reset_info.in_reset) { in hl_dma_size_write()1016 if (hdev->reset_info.in_reset) { in hl_monitor_dump_trigger()1299 if (hdev->reset_info.in_reset) { in hl_stop_on_err_write()1708 &hdev->reset_info.skip_reset_on_timeout); in add_files_to_device()
297 return sprintf(buf, "%d\n", hdev->reset_info.compute_reset_cnt); in soft_reset_cnt_show()305 return sprintf(buf, "%d\n", hdev->reset_info.hard_reset_cnt); in hard_reset_cnt_show()
369 hdev->reset_info.curr_reset_cause = HL_RESET_CAUSE_UNKNOWN; in fixup_device_params()370 hdev->reset_info.prev_reset_trigger = HL_RESET_TRIGGER_DEFAULT; in fixup_device_params()
378 if (hdev->disabled && !hdev->reset_info.in_compute_reset) { in hl_fw_send_cpu_message()417 if (!hl_device_operational(hdev, NULL) && !hdev->reset_info.in_compute_reset) in hl_fw_send_cpu_message()2733 if (hdev->reset_info.curr_reset_cause) { in hl_fw_dynamic_init_cpu()2735 HL_COMMS_RESET_CAUSE_TYPE, &hdev->reset_info.curr_reset_cause); in hl_fw_dynamic_init_cpu()2740 hdev->reset_info.curr_reset_cause = HL_RESET_CAUSE_UNKNOWN; in hl_fw_dynamic_init_cpu()
451 if (hdev->disabled && !hdev->reset_info.in_compute_reset) { in hl_irq_handler_eq()
280 if ((hdev->disabled) || (hdev->reset_info.in_reset && (ctx_id != HL_KERNEL_ASID_ID))) { in hl_cb_create()
305 reset_count.hard_reset_cnt = hdev->reset_info.hard_reset_cnt; in get_reset_count()306 reset_count.soft_reset_cnt = hdev->reset_info.compute_reset_cnt; in get_reset_count()
824 hdev->reset_info.needs_reset = true; in cs_timedout()913 hdev->reset_info.skip_reset_on_timeout || in allocate_cs()3651 if (!hl_device_operational(hpriv->hdev, NULL) || hdev->reset_info.watchdog_active) in hl_wait_ioctl()
2747 if (!hdev->reset_info.hard_reset_pending && !hash_empty(ctx->mem_hash)) in hl_vm_ctx_fini()
3392 struct hl_reset_info reset_info; member
4217 if (hdev->reset_info.hard_reset_pending) in goya_read_pte()4228 if (hdev->reset_info.hard_reset_pending) in goya_write_pte()5048 hdev->reset_info.hard_reset_pending) in goya_mmu_invalidate_cache()
584 u8 reset_info; member
4064 if (hdev->reset_info.curr_reset_cause == HL_RESET_CAUSE_HEARTBEAT) { in gaudi_hw_fini()6032 if (hdev->reset_info.hard_reset_pending) in gaudi_read_pte()6043 if (hdev->reset_info.hard_reset_pending) in gaudi_write_pte()7909 hdev->reset_info.hard_reset_pending) in gaudi_mmu_invalidate_cache()
2862 if (hdev->reset_info.in_compute_reset) in gaudi2_cpucp_info_get()5668 if (hdev->reset_info.hard_reset_pending) in gaudi2_mmu_invalidate_cache()5696 if (hdev->reset_info.hard_reset_pending) in gaudi2_mmu_invalidate_cache_range()6044 heartbeat_reset = (hdev->reset_info.curr_reset_cause == HL_RESET_CAUSE_HEARTBEAT); in gaudi2_send_hard_reset_cmd()