remoteproc: k3-dsp: Fix log levels where appropriate
PATCH 1/2 remoteproc: k3-dsp: Fix log levels where appropriate
Driver was logging information as errors. Changed dev_err to dev_info where appropriate.
Signed-off-by Garrett Giordano <[email protected]>
--- drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/ti_k3_dsp_remoteproc.c +1 -1
@@ -327,7 +327,7 @@ static int k3_dsp_rproc_start(struct rproc *rproc) goto put_mbox; } -dev_err (dev,"booting DSP core using boot addr = 0x%x\n" , boot_addr); +dev_info (dev,"booting DSP core using boot addr = 0x%x\n" , boot_addr); ret =ti_sci_proc_set_config (kproc->tsp, boot_addr,0 ,0 );if (ret) goto put_mbox;
Signature · 1 line
2.25.1
PATCH 2/2 remoteproc: k3-r5: Fix log levels where appropriate
Driver was logging information as debug. Changed dev_dbg to dev_info where appropriate.
Signed-off-by Garrett Giordano <[email protected]>
--- drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/ti_k3_r5_remoteproc.c +1 -1
@@ -558,7 +558,7 @@ static int k3_r5_rproc_start(struct rproc *rproc) boot_addr = rproc->bootaddr;/* TODO: add boot_addr sanity checking */ -dev_dbg (dev,"booting R5F core using boot addr = 0x%x\n" , boot_addr); +dev_info (dev,"booting R5F core using boot addr = 0x%x\n" , boot_addr);/* boot vector need not be programmed for Core1 in LockStep mode */ core = kproc->core;
Signature · 1 line
2.25.1
Re: [PATCH 2/2] remoteproc: k3-r5: Fix log levels where appropriate
Hi Garrett,
Am 26.06.24 um 18:22 schrieb Garrett Giordano:
Quoted 13 lines
Driver was logging information as debug. Changed
dev_dbgtodev_infowhere appropriate.Signed-off-by Garrett Giordano <[email protected]>--- drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/remoteproc/ti_k3_r5_remoteproc.c +0
-0
drivers/remoteproc/ti_k3_r5_remoteproc.c static int k3_r5_rproc_start(struct rproc *rproc) · line 561
Quoted 5 lines
drivers/remoteproc/ti_k3_r5_remoteproc.c +1
-1@@ -558,7 +558,7 @@ static int k3_r5_rproc_start(struct rproc *rproc) boot_addr = rproc->bootaddr;/* TODO: add boot_addr sanity checking */ -dev_dbg (dev,"booting R5F core using boot addr = 0x%x\n" , boot_addr); +dev_info (dev,"booting R5F core using boot addr = 0x%x\n" , boot_addr);
There is no need for this debug message to be in info level.
Regards,
Wadim
Quoted 3 lines
drivers/remoteproc/ti_k3_r5_remoteproc.c +0
-0/* boot vector need not be programmed for Core1 in LockStep mode */ core = kproc->core;