Home
last modified time | relevance | path

Searched refs:reset_info (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/accel/habanalabs/common/
H A Ddevice.c379 } else if (hdev->reset_info.in_reset) { in hl_device_status()
380 if (hdev->reset_info.in_compute_reset) in hl_device_status()
384 } else if (hdev->reset_info.needs_reset) { in hl_device_status()
484 reset_device = hdev->reset_upon_device_release || hdev->reset_info.watchdog_active; in hpriv_release()
489 if (!hdev->reset_info.in_reset && !reset_device && !hdev->pldm) in hpriv_release()
982 spin_lock_init(&hdev->reset_info.lock); in device_early_init()
1161 if (!hdev->reset_info.in_reset) in hl_device_heartbeat()
1162 hdev->reset_info.prev_reset_trigger = HL_RESET_TRIGGER_DEFAULT; in hl_device_heartbeat()
1251 if (!hdev->reset_info.hard_reset_pending) in hl_device_set_debug_mode()
1345 spin_lock(&hdev->reset_info.lock); in hl_device_suspend()
[all …]
H A Ddebugfs.c576 if (hdev->reset_info.in_reset) { in engines_show()
847 if (hdev->reset_info.in_reset) { in hl_data_read32()
875 if (hdev->reset_info.in_reset) { in hl_data_write32()
902 if (hdev->reset_info.in_reset) { in hl_data_read64()
928 if (hdev->reset_info.in_reset) { in hl_data_write64()
953 if (hdev->reset_info.in_reset) { in hl_dma_size_write()
1009 if (hdev->reset_info.in_reset) { in hl_monitor_dump_trigger()
1292 if (hdev->reset_info.in_reset) { in hl_stop_on_err_write()
1701 &hdev->reset_info.skip_reset_on_timeout); in add_files_to_device()
H A Dsysfs.c317 return sprintf(buf, "%d\n", hdev->reset_info.compute_reset_cnt); in soft_reset_cnt_show()
325 return sprintf(buf, "%d\n", hdev->reset_info.hard_reset_cnt); in hard_reset_cnt_show()
H A Dhabanalabs_drv.c396 hdev->reset_info.curr_reset_cause = HL_RESET_CAUSE_UNKNOWN; in fixup_device_params()
397 hdev->reset_info.prev_reset_trigger = HL_RESET_TRIGGER_DEFAULT; in fixup_device_params()
H A Dfirmware_if.c426 if (hdev->disabled && !hdev->reset_info.in_compute_reset) in hl_fw_send_cpu_message()
463 if (!hl_device_operational(hdev, NULL) && !hdev->reset_info.in_compute_reset) { in hl_fw_send_cpu_message()
2774 if (hdev->reset_info.curr_reset_cause) { in hl_fw_dynamic_init_cpu()
2776 HL_COMMS_RESET_CAUSE_TYPE, &hdev->reset_info.curr_reset_cause); in hl_fw_dynamic_init_cpu()
2781 hdev->reset_info.curr_reset_cause = HL_RESET_CAUSE_UNKNOWN; in hl_fw_dynamic_init_cpu()
H A Dcommand_buffer.c280 if ((hdev->disabled) || (hdev->reset_info.in_reset && (ctx_id != HL_KERNEL_ASID_ID))) { in hl_cb_create()
H A Dirq.c537 if (hdev->disabled && !hdev->reset_info.in_compute_reset) { in hl_irq_handler_eq()
H A Dhabanalabs_ioctl.c310 reset_count.hard_reset_cnt = hdev->reset_info.hard_reset_cnt; in get_reset_count()
311 reset_count.soft_reset_cnt = hdev->reset_info.compute_reset_cnt; in get_reset_count()
H A Dcommand_submission.c842 hdev->reset_info.needs_reset = true; in cs_timedout()
931 hdev->reset_info.skip_reset_on_timeout || in allocate_cs()
3733 if (!hl_device_operational(hpriv->hdev, NULL) || hdev->reset_info.watchdog_active) in hl_wait_ioctl()
H A Dmemory.c2772 if (!hdev->reset_info.hard_reset_pending && !hash_empty(ctx->mem_hash)) in hl_vm_ctx_fini()
H A Dhabanalabs.h3496 struct hl_reset_info reset_info; member
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c4206 if (hdev->reset_info.hard_reset_pending) in goya_read_pte()
4217 if (hdev->reset_info.hard_reset_pending) in goya_write_pte()
5037 hdev->reset_info.hard_reset_pending) in goya_mmu_invalidate_cache()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c3007 if (hdev->reset_info.in_compute_reset) in gaudi2_cpucp_info_get()
5850 if (hdev->reset_info.hard_reset_pending) in gaudi2_mmu_invalidate_cache()
5878 if (hdev->reset_info.hard_reset_pending) in gaudi2_mmu_invalidate_cache_range()
6233 heartbeat_reset = (hdev->reset_info.curr_reset_cause == HL_RESET_CAUSE_HEARTBEAT); in gaudi2_send_hard_reset_cmd()
11523 if (hdev->reset_info.hard_reset_pending) in gaudi2_read_pte()
11535 if (hdev->reset_info.hard_reset_pending) in gaudi2_write_pte()
/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_cnfg.h590 u8 reset_info; member
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c4065 if (hdev->reset_info.curr_reset_cause == HL_RESET_CAUSE_HEARTBEAT) { in gaudi_hw_fini()
6026 if (hdev->reset_info.hard_reset_pending) in gaudi_read_pte()
6037 if (hdev->reset_info.hard_reset_pending) in gaudi_write_pte()
7903 hdev->reset_info.hard_reset_pending) in gaudi_mmu_invalidate_cache()