diff mbox series

[2/2] remoteproc: k3-r5: Fix log levels where appropriate

Message ID 20240626162203.3484272-2-ggiordano@phytec.com (mailing list archive)
State Superseded
Headers show
Series [1/2] remoteproc: k3-dsp: Fix log levels where appropriate | expand

Commit Message

Garrett Giordano June 26, 2024, 4:22 p.m. UTC
Driver was logging information as debug. Changed dev_dbg to dev_info
where appropriate.

Signed-off-by: Garrett Giordano <ggiordano@phytec.com>
---
 drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wadim Egorov June 26, 2024, 7 p.m. UTC | #1
Hi Garrett,

Am 26.06.24 um 18:22 schrieb Garrett Giordano:
> Driver was logging information as debug. Changed dev_dbg to dev_info
> where appropriate.
> 
> Signed-off-by: Garrett Giordano <ggiordano@phytec.com>
> ---
>   drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/remoteproc/ti_k3_r5_remoteproc.c b/drivers/remoteproc/ti_k3_r5_remoteproc.c
> index 50e486bcfa10..5821b6517063 100644
> --- a/drivers/remoteproc/ti_k3_r5_remoteproc.c
> +++ b/drivers/remoteproc/ti_k3_r5_remoteproc.c
> @@ -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
>   
>   	/* boot vector need not be programmed for Core1 in LockStep mode */
>   	core = kproc->core;
diff mbox series

Patch

diff --git a/drivers/remoteproc/ti_k3_r5_remoteproc.c b/drivers/remoteproc/ti_k3_r5_remoteproc.c
index 50e486bcfa10..5821b6517063 100644
--- a/drivers/remoteproc/ti_k3_r5_remoteproc.c
+++ b/drivers/remoteproc/ti_k3_r5_remoteproc.c
@@ -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;