diff options
author | Ledion Daja <ledion.daja@arm.com> | 2023-10-17 09:15:32 +0200 |
---|---|---|
committer | Ledion Daja <ledion.daja@arm.com> | 2023-11-01 10:44:45 +0100 |
commit | edd2550cd909b584610ac18387b3261a4f50b392 (patch) | |
tree | a941069744ea32754bf83c07b81a6bf9daba737d /remoteproc | |
parent | c2eaf26a4a559bca4dc5110a4d05be8f961ce0c2 (diff) | |
download | ethos-u-linux-driver-stack-edd2550cd909b584610ac18387b3261a4f50b392.tar.gz |
Decrease log verbosity in the kernel modules
Changed several logs level from info to dbg and removed redundant or
uninformative logging in order to reduce verbosity of the kernel
modules.
Change-Id: Ie9ff7f3ae6478007ea58547380b3ddfef5d280b4
Signed-off-by: Ledion Daja <ledion.daja@arm.com>
Diffstat (limited to 'remoteproc')
-rw-r--r-- | remoteproc/ethosu_remoteproc.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/remoteproc/ethosu_remoteproc.c b/remoteproc/ethosu_remoteproc.c index 87de3b0..c6d7735 100644 --- a/remoteproc/ethosu_remoteproc.c +++ b/remoteproc/ethosu_remoteproc.c @@ -153,8 +153,8 @@ static int ethosu_add_carveout(struct rproc *rproc, if (!mem) return -ENOMEM; - dev_info(dev, "Add carveout mapping. dma=%pad, da=%x, va=%p, len=%zu", - &mem->dma, mem->da, mem->va, mem->len); + dev_dbg(dev, "Add carveout mapping. dma=%pad, da=%x, va=%p, len=%zu", + &mem->dma, mem->da, mem->va, mem->len); rproc_add_carveout(rproc, mem); @@ -170,12 +170,10 @@ static int ethosu_rproc_prepare(struct rproc *rproc) int i; int ret; - dev_info(dev, "Preparing Ethos-U"); - /* Add carveout for each 'reg' device tree entry */ for (i = 0; of_address_to_resource(np, i, &res) == 0; i++) { - dev_info(dev, "Found resource. start=%llx, size=%llx", - res.start, resource_size(&res)); + dev_dbg(dev, "Found resource. start=%llx, size=%llx", + res.start, resource_size(&res)); ret = ethosu_add_carveout(rproc, res.start, resource_size(&res), res.name); @@ -194,9 +192,9 @@ static int ethosu_rproc_prepare(struct rproc *rproc) return -EINVAL; } - dev_info(dev, - "Found memory region. pa=%llx, size=%llu, name=%s", - res_mem->base, res_mem->size, it.node->name); + dev_dbg(dev, + "Found memory region. pa=%llx, size=%llu, name=%s", + res_mem->base, res_mem->size, it.node->name); ret = ethosu_add_carveout(rproc, res_mem->base, res_mem->size, it.node->name); @@ -322,7 +320,7 @@ static int ethosu_mailbox_init(struct ethosu_rproc *erproc) erproc->ch_tx = mbox_request_channel_byname(cl, "tx"); if (IS_ERR(erproc->ch_tx)) { - dev_info(dev, "Using same channel for RX and TX"); + dev_dbg(dev, "Using same channel for RX and TX"); erproc->ch_tx = erproc->ch_rx; } |