/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_pm.c | 66 ivpu_err(vdev, "Failed to shutdown NPU: %d\n", ret); in ivpu_suspend() 81 ivpu_err(vdev, "Failed to power up HW: %d\n", ret); in ivpu_resume() 87 ivpu_err(vdev, "Failed to resume MMU: %d\n", ret); in ivpu_resume() 107 ivpu_err(vdev, "Failed to resume the FW: %d\n", ret); in ivpu_resume() 120 ivpu_err(vdev, "Recovering the NPU (reset #%d)\n", atomic_read(&vdev->pm->reset_counter)); in ivpu_pm_recovery_work() 124 ivpu_err(vdev, "Failed to resume NPU: %d\n", ret); in ivpu_pm_recovery_work() 139 ivpu_err(vdev, "Failed to resume NPU: %d\n", ret); in ivpu_pm_recovery_work() 151 ivpu_err(vdev, "Recovery triggered by %s\n", reason); in ivpu_pm_trigger_recovery() 154 ivpu_err(vdev, "Recovery not available when disable_recovery param is set\n"); in ivpu_pm_trigger_recovery() 159 ivpu_err(vdev, "Recovery not available on FPGA\n"); in ivpu_pm_trigger_recovery() [all …]
|
D | ivpu_hw_btrs.c | 139 ivpu_err(vdev, "Fuse: invalid (0x%x)\n", fuse); in read_tile_config_fuse() 145 ivpu_err(vdev, "Fuse: Invalid tile disable config (0x%x)\n", config); in read_tile_config_fuse() 287 ivpu_err(vdev, "Failed to sync before workpoint request: %d\n", ret); in wp_request_send() 295 ivpu_err(vdev, "Failed to sync after workpoint request: %d\n", ret); in wp_request_send() 354 ivpu_err(vdev, "Failed to send workpoint request: %d\n", ret); in ivpu_hw_btrs_wp_drive() 360 ivpu_err(vdev, "Timed out waiting for PLL lock\n"); in ivpu_hw_btrs_wp_drive() 366 ivpu_err(vdev, "Timed out waiting for NPU ready status\n"); in ivpu_hw_btrs_wp_drive() 380 ivpu_err(vdev, "Failed to sync before D0i3 transition: %d\n", ret); in d0i3_drive_mtl() 393 ivpu_err(vdev, "Failed to sync after D0i3 transition: %d\n", ret); in d0i3_drive_mtl() 405 ivpu_err(vdev, "Failed to sync before D0i3 transition: %d\n", ret); in d0i3_drive_lnl() [all …]
|
D | ivpu_hw.c | 152 ivpu_err(vdev, "Failed to enable workpoint: %d\n", ret); in ivpu_hw_power_up() 165 ivpu_err(vdev, "Failed to configure host SS: %d\n", ret); in ivpu_hw_power_up() 173 ivpu_err(vdev, "Timed out waiting for clock resource own ACK\n"); in ivpu_hw_power_up() 179 ivpu_err(vdev, "Failed to enable power domain: %d\n", ret); in ivpu_hw_power_up() 185 ivpu_err(vdev, "Failed to enable AXI: %d\n", ret); in ivpu_hw_power_up() 194 ivpu_err(vdev, "Failed to enable TOP NOC: %d\n", ret); in ivpu_hw_power_up() 210 ivpu_err(vdev, "Failed to reset NPU IP\n"); in ivpu_hw_reset() 215 ivpu_err(vdev, "Failed to disable workpoint\n"); in ivpu_hw_reset() 232 ivpu_err(vdev, "Failed to reset NPU\n"); in ivpu_hw_power_down() 237 ivpu_err(vdev, "Failed to enter D0I3\n"); in ivpu_hw_power_down() [all …]
|
D | ivpu_fw.c | 90 ivpu_err(vdev, "Failed to request firmware: %d\n", ret); in ivpu_fw_request() 103 ivpu_err(vdev, "Incompatible FW %s API version: %d.%d, required %d.0 or later\n", in ivpu_fw_check_api() 145 ivpu_err(vdev, "Firmware file is too small: %zu\n", fw->file->size); in ivpu_fw_parse() 150 ivpu_err(vdev, "Invalid firmware header version: %u\n", fw_hdr->header_version); in ivpu_fw_parse() 160 ivpu_err(vdev, "Invalid firmware runtime address: 0x%llx\n", runtime_addr); in ivpu_fw_parse() 165 ivpu_err(vdev, "Invalid firmware runtime size: %llu\n", runtime_size); in ivpu_fw_parse() 170 ivpu_err(vdev, "Invalid image size: %llu\n", image_size); in ivpu_fw_parse() 176 ivpu_err(vdev, "Invalid firmware load address size: 0x%llx and size %llu\n", in ivpu_fw_parse() 182 ivpu_err(vdev, "SHAVE NN firmware is too big: %u\n", fw_hdr->shave_nn_fw_size); in ivpu_fw_parse() 188 ivpu_err(vdev, "Invalid entry point: 0x%llx\n", fw_hdr->entry_point); in ivpu_fw_parse() [all …]
|
D | ivpu_hw_ip.c | 206 ivpu_err(vdev, "Timed out waiting for NPU IP bar\n"); in ivpu_hw_ip_host_ss_configure() 214 ivpu_err(vdev, "Failed qreqn check: %d\n", ret); in ivpu_hw_ip_host_ss_configure() 220 ivpu_err(vdev, "Failed qacceptn check: %d\n", ret); in ivpu_hw_ip_host_ss_configure() 226 ivpu_err(vdev, "Failed qdeny check %d\n", ret); in ivpu_hw_ip_host_ss_configure() 539 ivpu_err(vdev, "Failed HOST SS NOC QACCEPTN check: %d\n", ret); in host_ss_axi_drive() 545 ivpu_err(vdev, "Failed HOST SS NOC QDENY check: %d\n", ret); in host_ss_axi_drive() 661 ivpu_err(vdev, "Failed TOP NOC QACCEPTN check: %d\n", ret); in top_noc_drive() 667 ivpu_err(vdev, "Failed TOP NOC QDENY check: %d\n", ret); in top_noc_drive() 700 ivpu_err(vdev, "Timed out waiting for power island status\n"); in ivpu_hw_ip_pwr_domain_enable() 706 ivpu_err(vdev, "Failed TOP NOC QREQN check %d\n", ret); in ivpu_hw_ip_pwr_domain_enable() [all …]
|
D | ivpu_drv.c | 254 ivpu_err(vdev, "Failed to allocate context id: %d\n", ret); in ivpu_open() 334 ivpu_err(vdev, "Invalid NPU ready message: 0x%x\n", in ivpu_wait_for_ready() 352 ivpu_err(vdev, "Failed to enable hw scheduler: %d", ret); in ivpu_hw_sched_init() 376 ivpu_err(vdev, "Failed to start the firmware: %d\n", ret); in ivpu_boot() 382 ivpu_err(vdev, "Failed to boot the firmware: %d\n", ret); in ivpu_boot() 509 ivpu_err(vdev, "Failed to allocate a MSI IRQ: %d\n", ret); in ivpu_irq_init() 520 ivpu_err(vdev, "Failed to request an IRQ %d\n", ret); in ivpu_irq_init() 535 ivpu_err(vdev, "Failed to map bar 0: %pe\n", vdev->regv); in ivpu_pci_init() 542 ivpu_err(vdev, "Failed to map bar 4: %pe\n", vdev->regb); in ivpu_pci_init() 548 ivpu_err(vdev, "Failed to set DMA mask: %d\n", ret); in ivpu_pci_init() [all …]
|
D | ivpu_mmu.c | 414 ivpu_err(vdev, "Failed to allocate cdtab: %d\n", ret); in ivpu_mmu_structs_alloc() 420 ivpu_err(vdev, "Failed to allocate strtab: %d\n", ret); in ivpu_mmu_structs_alloc() 426 ivpu_err(vdev, "Failed to allocate cmdq: %d\n", ret); in ivpu_mmu_structs_alloc() 432 ivpu_err(vdev, "Failed to allocate evtq: %d\n", ret); in ivpu_mmu_structs_alloc() 497 ivpu_err(vdev, "Failed to write MMU CMD %s\n", name); in ivpu_mmu_cmdq_cmd_write() 533 ivpu_err(vdev, "Timed out waiting for MMU consumer: %d, error: %s\n", ret, in ivpu_mmu_cmdq_sync() 767 ivpu_err(vdev, "Failed to add global CD entry: %d\n", ret); in ivpu_mmu_cd_add_gbl() 777 ivpu_err(vdev, "Invalid SSID: %u\n", ssid); in ivpu_mmu_cd_add_user() 783 ivpu_err(vdev, "Failed to add CD entry SSID=%u: %d\n", ssid, ret); in ivpu_mmu_cd_add_user() 807 ivpu_err(vdev, "Failed to initialize strtab: %d\n", ret); in ivpu_mmu_init() [all …]
|
D | ivpu_drv.h | 75 #define ivpu_err(vdev, fmt, ...) \ macro 220 ivpu_err(vdev, "Unknown NPU IP generation\n"); in ivpu_hw_ip_gen() 235 ivpu_err(vdev, "Unknown buttress generation\n"); in ivpu_hw_btrs_gen()
|
D | ivpu_gem.c | 56 ivpu_err(vdev, "Failed to map BO in IOMMU: %d\n", ret); in ivpu_bo_pin() 63 ivpu_err(vdev, "Failed to map BO in MMU: %d\n", ret); in ivpu_bo_pin() 92 ivpu_err(vdev, "Failed to add BO to context %u: %d\n", ctx->id, ret); in ivpu_bo_alloc_vpu_addr() 276 ivpu_err(vdev, "Failed to allocate BO: %pe (ctx %u size %llu flags 0x%x)", in ivpu_bo_create_ioctl() 307 ivpu_err(vdev, "Failed to allocate BO: %pe (vpu_addr 0x%llx size %llu flags 0x%x)", in ivpu_bo_create()
|
D | ivpu_mmu_context.c | 403 ivpu_err(vdev, "Failed to invalidate TLB for ctx %u: %d\n", ctx->id, ret); in ivpu_mmu_context_set_pages_ro() 450 ivpu_err(vdev, "Failed to map context pages\n"); in ivpu_mmu_context_map_sgt() 464 ivpu_err(vdev, "Failed to invalidate TLB for ctx %u: %d\n", ctx->id, ret); in ivpu_mmu_context_map_sgt() 543 ivpu_err(vdev, "Failed to initialize pgtable for ctx %u: %d\n", context_id, ret); in ivpu_mmu_context_init() 615 ivpu_err(vdev, "Failed to initialize context %u: %d\n", ctx_id, ret); in ivpu_mmu_user_context_init() 621 ivpu_err(vdev, "Failed to set page table for context %u: %d\n", ctx_id, ret); in ivpu_mmu_user_context_init()
|
D | ivpu_job.c | 48 ivpu_err(vdev, "Failed to create primary preemption buffer\n"); in ivpu_preemption_buffers_create() 57 ivpu_err(vdev, "Failed to create secondary preemption buffer\n"); in ivpu_preemption_buffers_create() 93 ivpu_err(vdev, "Failed to allocate doorbell id: %d\n", ret); in ivpu_cmdq_alloc() 716 ivpu_err(vdev, "Failed to create job\n"); in ivpu_submit_ioctl() 724 ivpu_err(vdev, "Failed to prepare job: %d\n", ret); in ivpu_submit_ioctl() 759 ivpu_err(vdev, "IPC message has no JSM payload\n"); in ivpu_job_done_callback() 764 ivpu_err(vdev, "Invalid JSM message result: %d\n", jsm_msg->result); in ivpu_job_done_callback()
|
D | ivpu_ipc.c | 474 ivpu_err(vdev, "Failed to allocate mem_tx\n"); in ivpu_ipc_init() 480 ivpu_err(vdev, "Failed to allocate mem_rx\n"); in ivpu_ipc_init() 489 ivpu_err(vdev, "Failed to create gen pool, %pe\n", ipc->mm_tx); in ivpu_ipc_init() 495 ivpu_err(vdev, "gen_pool_add failed, ret %d\n", ret); in ivpu_ipc_init() 504 ivpu_err(vdev, "Failed to initialize ipc->lock, ret %d\n", ret); in ivpu_ipc_init()
|
D | ivpu_ms.c | 50 ivpu_err(vdev, "Instance already exists (mask %#llx)\n", args->metric_group_mask); in ivpu_ms_start_ioctl() 72 ivpu_err(vdev, "Failed to allocate MS buffer (size %llu)\n", single_buff_size); in ivpu_ms_start_ioctl() 167 ivpu_err(vdev, "Instance doesn't exist for mask: %#llx\n", args->metric_group_mask); in ivpu_ms_get_data_ioctl()
|