AVP_DBG_TRACE_LIB = 1U << 6,
};
-static u32 avp_debug_mask = (AVP_DBG_TRACE_TRPC_CONN |
- AVP_DBG_TRACE_XPC_CONN |
- AVP_DBG_TRACE_LIB);
+static u32 avp_debug_mask = 0;
module_param_named(debug_mask, avp_debug_mask, uint, S_IWUSR | S_IRUGO);
#define DBG(flag, args...) \
avp->shutdown = false;
smp_wmb();
+ pr_info("%s: avp teardown done\n", __func__);
}
/* returns the remote lib handle in lib->handle */
unsigned long lib_phys;
int ret;
- pr_info("avp_lib: loading library %s\n", lib->name);
+ DBG(AVP_DBG_TRACE_LIB, "avp_lib: loading library '%s'\n", lib->name);
args = kmalloc(lib->args_len, GFP_KERNEL);
if (!args) {
}
lib->handle = resp.lib_id;
ret = 0;
- pr_info("avp_lib: Successfully loaded library %s (lib_id=%x)\n",
- lib->name, resp.lib_id);
+ DBG(AVP_DBG_TRACE_LIB,
+ "avp_lib: Successfully loaded library %s (lib_id=%x)\n",
+ lib->name, resp.lib_id);
/* We free the memory here because by this point the AVP has already
* requested memory for the library for all the sections since it does
resp.err = 0;
goto send_response;
}
- pr_info("avp_svc: module reset: %s\n", mod->name);
aclk = &avp_svc->clks[mod->clk_req];
tegra_periph_reset_assert(aclk->clk);
resp.err = AVP_ERR_EINVAL;
goto send_response;
}
- pr_info("avp_svc: module clock: %s %s\n", mod->name,
- msg->enable ? "on" : "off");
mutex_lock(&avp_svc->clk_lock);
aclk = &avp_svc->clks[mod->clk_req];
TRPC_TRACE_PORT = 1U << 2,
};
-static u32 trpc_debug_mask = TRPC_TRACE_CONN | TRPC_TRACE_PORT;
+static u32 trpc_debug_mask = 0;
module_param_named(debug_mask, trpc_debug_mask, uint, S_IWUSR | S_IRUGO);
#define DBG(flag, args...) \