XDNA_DBG
XDNA_DBG(xdna, "i2x tail 0x%x", aie->mgmt_i2x.mb_tail_ptr_reg);
XDNA_DBG(xdna, "i2x head 0x%x", aie->mgmt_i2x.mb_head_ptr_reg);
XDNA_DBG(xdna, "i2x ringbuf 0x%x", aie->mgmt_i2x.rb_start_addr);
XDNA_DBG(xdna, "i2x rsize 0x%x", aie->mgmt_i2x.rb_size);
XDNA_DBG(xdna, "x2i tail 0x%x", aie->mgmt_x2i.mb_tail_ptr_reg);
XDNA_DBG(xdna, "x2i head 0x%x", aie->mgmt_x2i.mb_head_ptr_reg);
XDNA_DBG(xdna, "x2i ringbuf 0x%x", aie->mgmt_x2i.rb_start_addr);
XDNA_DBG(xdna, "x2i rsize 0x%x", aie->mgmt_x2i.rb_size);
XDNA_DBG(xdna, "x2i chann index 0x%x", aie->mgmt_chan_idx);
XDNA_DBG(xdna, "mailbox protocol major 0x%x", aie->mgmt_prot_major);
XDNA_DBG(xdna, "mailbox protocol minor 0x%x", aie->mgmt_prot_minor);
XDNA_DBG(xdna, "Not supported type %d", type);
XDNA_DBG(xdna, "Wait for bo interrupted by signal");
XDNA_DBG(xdna, "%s restarted, ret %d", hwctx->name, ret);
XDNA_DBG(job->hwctx->client->xdna, "Resp status 0x%x", status);
XDNA_DBG(xdna, "Status 0x%x", cmd_status);
XDNA_DBG(xdna, "Failed cmd idx %d, status 0x%x",
XDNA_DBG(xdna, "Force start from col 0");
XDNA_DBG(xdna, "start %d end %d first %d last %d",
XDNA_DBG(xdna, "Command buf %d addr 0x%llx size 0x%lx",
XDNA_DBG(xdna, "hwctx %s init completed", hwctx->name);
XDNA_DBG(xdna, "%s sequence number %lld", hwctx->name, hwctx->priv->seq);
XDNA_DBG(xdna, "Config %d CU to %s", config->num_cus, hwctx->name);
XDNA_DBG(xdna, "Config debug BO %d to %s", bo_hdl, hwctx->name);
XDNA_DBG(xdna, "Error count %d return code %d", info->err_cnt, info->ret_code);
XDNA_DBG(xdna, "Async event count %d, buf total size 0x%x",
XDNA_DBG(xdna, "Total %d commands:", ccnt);
XDNA_DBG(xdna, "Query AIE version - major: %u minor: %u completed",
XDNA_DBG(xdna, "sync %d bytes src(0x%llx) to dst(0x%llx) completed",
XDNA_DBG(xdna, "offset 0x%llx size 0x%llx config %d",
XDNA_DBG(xdna, "App health feature not supported");
XDNA_DBG(xdna, "update time quota not support, skipped");
XDNA_DBG(xdna, "Ctx exec time quantum updated to %u us", us);
XDNA_DBG(xdna, "Device revision: %d (raw fuse: 0x%x)", *rev, resp.raw_fuse_data);
XDNA_DBG(xdna, "Destroy context: device already stopped");
XDNA_DBG(xdna, "Mailbox channel irq: %d, msix_id: %d", ret, resp.msix_id);
XDNA_DBG(xdna, "Created fw ctx %d pasid %d", hwctx->fw_ctx_id, hwctx->client->pasid);
XDNA_DBG(xdna, "Destroyed fw ctx %d", hwctx->fw_ctx_id);
XDNA_DBG(xdna, "fw ctx %d host buf op 0x%x addr 0x%llx size 0x%lx",
XDNA_DBG(xdna, "Query NPU status completed");
XDNA_DBG(ndev->aie.xdna, "Register addr 0x%llx size 0x%x", addr, size);
XDNA_DBG(xdna, "Exceed maximum CU %d", MAX_NUM_CUS);
XDNA_DBG(xdna, "CU %d full addr 0x%llx, cfg 0x%x", i,
XDNA_DBG(xdna, "Init CU req failed ret %d", ret);
XDNA_DBG(xdna, "Init DPU req failed ret %d", ret);
XDNA_DBG(xdna, "Invalid op code %d", op);
XDNA_DBG(xdna, "Failed to get command payload");
XDNA_DBG(xdna, "Invalid command count %d", ccnt);
XDNA_DBG(xdna, "Got param %d", args->param);
XDNA_DBG(xdna, "Invalid element size %d or number of element %d",
XDNA_DBG(xdna, "Got param %d", args->param);
XDNA_DBG(ndev->aie.xdna, "Firmware suspended");
XDNA_DBG(xdna, "pasid 0x%x, num_tiles %d, hsa[0x%x 0x%x]",
XDNA_DBG(xdna, "resp msix: %d, ctx id: %d, doorbell: %d",
XDNA_DBG(xdna, "hwctx %s init completed", hwctx->name);
XDNA_DBG(xdna, "Attached work buffer");
XDNA_DBG(xdna, "irq vectors:%d", nvec);
XDNA_DBG(xdna, "Mailbox management channel created");
XDNA_DBG(xdna, "init finished");
XDNA_DBG(xdna, "doorbell ret %d", ret);
XDNA_DBG(xdna, "Got param %d", args->param);
XDNA_DBG(xdna, "Work buffer allocated: size 0x%x", buf_size);
XDNA_DBG(client->xdna, "PID %d close HW context %d",
XDNA_DBG(xdna, "PID %d create HW context %d, ret %d", client->pid, args->handle, ret);
XDNA_DBG(xdna, "PID %d HW context %d not exist",
XDNA_DBG(xdna, "PID %d destroyed HW context %d", client->pid, args->handle);
XDNA_DBG(xdna, "Unknown HW context config type %d", args->param_type);
XDNA_DBG(xdna, "PID %d failed to get hwctx %d", client->pid, args->handle);
XDNA_DBG(xdna, "Command BO hdl %d, Arg BO count %d", cmd_bo_hdl, arg_bo_cnt);
XDNA_DBG(xdna, "Command BO handle required for user submission");
XDNA_DBG(xdna, "PID %d failed to get hwctx %d",
XDNA_DBG(xdna, "Submit cmds failed, ret %d", ret);
XDNA_DBG(xdna, "Pushed cmd %lld to scheduler", args->seq);
XDNA_DBG(xdna, "PID %d ctx %d timeout set %d ms for cmd %llu",
XDNA_DBG(xdna, "PID %d failed to get ctx %d", client->pid, args->hwctx);
XDNA_DBG(xdna, "PID %d ctx %d cmd %lld wait finished, ret %d",
XDNA_DBG(xdna, "Trying to set carveout to %s", kbuf);
XDNA_DBG(xdna, "BO arg type %d vaddr 0x%llx size 0x%llx flags 0x%llx",
XDNA_DBG(xdna, "BO hdl %d type %d userptr 0x%llx xdna_addr 0x%llx size 0x%lx",
XDNA_DBG(xdna, "BO type %d ret %d", abo->type, ret);
XDNA_DBG(xdna, "BO type %d", abo->type);
XDNA_DBG(client->xdna, "Can not find bo %d", bo_hdl);
XDNA_DBG(xdna, "Lookup GEM object %d failed", args->handle);
XDNA_DBG(xdna, "BO hdl %d map_offset 0x%llx vaddr 0x%llx xdna_addr 0x%llx",
XDNA_DBG(xdna, "Sync bo %d offset 0x%llx, size 0x%llx\n",
XDNA_DBG(xdna, "Invalidating range 0x%lx, 0x%lx, type %d",
XDNA_DBG(xdna, "Empty heap xa");
XDNA_DBG(xdna, "BO type %d xdna_addr 0x%llx", abo->type, amdxdna_gem_dev_addr(abo));
XDNA_DBG(xdna, "BO map_offset 0x%llx type %d userptr 0x%lx size 0x%lx",
XDNA_DBG(xdna, "Access va table failed");
XDNA_DBG(xdna, "Can not find heap end");
XDNA_DBG(xdna, "Requested dev heap size 0x%llx", args->size);
XDNA_DBG(xdna, "pid %d opened", client->pid);
XDNA_DBG(xdna, "closing pid %d", client->pid);
XDNA_DBG(xdna, "Request parameter %u", args->param);
XDNA_DBG(xdna, "Request parameter %u", args->param);
XDNA_DBG(xdna, "MBZ check failed"); \
XDNA_DBG(xdna, "Suspend done ret %d", ret);
XDNA_DBG(xdna, "Resume done ret %d", ret);
XDNA_DBG(xdna, "Access va entries failed");
XDNA_DBG(xdna, "New pin %ld, limit %ld, cap %d",
XDNA_DBG(ndev->aie.xdna, "MP-NPU clock %d, H clock %d\n",
XDNA_DBG(ndev->aie.xdna, "MP-NPU clock %d, H clock %d\n",