/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | device.c | 318 if (hdev->reset_info.in_reset) { in hl_device_status() 1037 if (!hdev->reset_info.in_reset) in hl_device_heartbeat() 1228 if (hdev->reset_info.in_reset) { in hl_device_suspend() 1233 hdev->reset_info.in_reset = 1; in hl_device_suspend() 1288 hdev->reset_info.in_reset = 0; in hl_device_resume() 1566 hdev->reset_info.in_reset = 1; in hl_device_reset() 1826 hdev->reset_info.in_reset = 0; in hl_device_reset() 1891 hdev->reset_info.in_reset = 0; in hl_device_reset() 1929 if (hdev->reset_info.in_reset) { in hl_device_cond_reset() 2378 hdev->reset_info.in_reset = 1; in hl_device_fini() [all …]
|
H A D | debugfs.c | 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()
|
H A D | sysfs.c | 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()
|
H A D | habanalabs_drv.c | 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()
|
H A D | firmware_if.c | 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()
|
H A D | irq.c | 454 if (hdev->disabled && !hdev->reset_info.in_compute_reset) { in hl_irq_handler_eq()
|
H A D | command_buffer.c | 280 if ((hdev->disabled) || (hdev->reset_info.in_reset && (ctx_id != HL_KERNEL_ASID_ID))) { in hl_cb_create()
|
H A D | habanalabs_ioctl.c | 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()
|
H A D | command_submission.c | 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()
|
H A D | memory.c | 2754 if (!hdev->reset_info.hard_reset_pending && !hash_empty(ctx->mem_hash)) in hl_vm_ctx_fini()
|
H A D | habanalabs.h | 3392 struct hl_reset_info reset_info; member
|
/openbmc/qemu/hw/mips/ |
H A D | mipssim.c | 152 ResetData *reset_info; in mips_mipssim_init() local 166 reset_info = g_new0(ResetData, 1); in mips_mipssim_init() 167 reset_info->cpu = cpu; in mips_mipssim_init() 168 reset_info->vector = env->active_tc.PC; in mips_mipssim_init() 169 qemu_register_reset(main_cpu_reset, reset_info); in mips_mipssim_init() 202 reset_info->vector = load_kernel(); in mips_mipssim_init()
|
/openbmc/qemu/hw/m68k/ |
H A D | virt.c | 97 ResetInfo *reset_info = opaque; in main_cpu_reset() local 98 M68kCPU *cpu = reset_info->cpu; in main_cpu_reset() 102 cpu->env.aregs[7] = reset_info->initial_stack; in main_cpu_reset() 103 cpu->env.pc = reset_info->initial_pc; in main_cpu_reset() 131 ResetInfo *reset_info; in virt_init() local 144 reset_info = g_new0(ResetInfo, 1); in virt_init() 149 reset_info->cpu = cpu; in virt_init() 150 qemu_register_reset(main_cpu_reset, reset_info); in virt_init() 237 reset_info->initial_pc = elf_entry; in virt_init()
|
/openbmc/qemu/hw/sparc/ |
H A D | leon3.c | 270 ResetData *reset_info; in leon3_generic_hw_init() local 276 reset_info = g_malloc0(sizeof(ResetData)); in leon3_generic_hw_init() 289 reset_info->info[i].id = i; in leon3_generic_hw_init() 290 reset_info->info[i].cpu = cpu; in leon3_generic_hw_init() 291 qemu_register_reset(leon3_cpu_reset, &reset_info->info[i]); in leon3_generic_hw_init() 315 cpu = reset_info->info[i].cpu; in leon3_generic_hw_init() 399 reset_info->entry = LEON3_PROM_OFFSET; in leon3_generic_hw_init() 401 reset_info->info[i].cpu->env.pc = LEON3_PROM_OFFSET; in leon3_generic_hw_init() 402 reset_info->info[i].cpu->env.npc = LEON3_PROM_OFFSET + 4; in leon3_generic_hw_init()
|
/openbmc/qemu/hw/sh4/ |
H A D | r2d.c | 238 ResetData *reset_info; in r2d_init() local 252 reset_info = g_new0(ResetData, 1); in r2d_init() 253 reset_info->cpu = cpu; in r2d_init() 254 reset_info->vector = env->pc; in r2d_init() 255 qemu_register_reset(main_cpu_reset, reset_info); in r2d_init() 340 reset_info->vector = (SDRAM_BASE + LINUX_LOAD_OFFSET) | 0xa0000000; in r2d_init()
|
/openbmc/qemu/hw/sparc64/ |
H A D | sparc64.c | 269 ResetData *reset_info; in sparc64_cpu_devinit() local 293 reset_info = g_new0(ResetData, 1); in sparc64_cpu_devinit() 294 reset_info->cpu = cpu; in sparc64_cpu_devinit() 295 reset_info->prom_addr = prom_addr; in sparc64_cpu_devinit() 296 qemu_register_reset(main_cpu_reset, reset_info); in sparc64_cpu_devinit()
|
/openbmc/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 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()
|
/openbmc/linux/drivers/scsi/mpi3mr/mpi/ |
H A D | mpi30_cnfg.h | 584 u8 reset_info; member
|
/openbmc/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 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()
|
/openbmc/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 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()
|