Linux Remote Processor Subsystem development
 help / color / mirror / Atom feed
* [PATCH 1/2] remoteproc: k3-dsp: Fix log levels where appropriate
@ 2024-06-26 16:22 Garrett Giordano
  2024-06-26 16:22 ` [PATCH 2/2] remoteproc: k3-r5: " Garrett Giordano
  0 siblings, 1 reply; 3+ messages in thread
From: Garrett Giordano @ 2024-06-26 16:22 UTC (permalink / raw)
  To: andersson, mathieu.poirier, w.egorov
  Cc: linux-remoteproc, linux-kernel, upstream

Driver was logging information as errors. Changed dev_err to dev_info
where appropriate.

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

diff --git a/drivers/remoteproc/ti_k3_dsp_remoteproc.c b/drivers/remoteproc/ti_k3_dsp_remoteproc.c
index 3555b535b168..57d21f8ae3b7 100644
--- a/drivers/remoteproc/ti_k3_dsp_remoteproc.c
+++ b/drivers/remoteproc/ti_k3_dsp_remoteproc.c
@@ -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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] remoteproc: k3-r5: Fix log levels where appropriate
  2024-06-26 16:22 [PATCH 1/2] remoteproc: k3-dsp: Fix log levels where appropriate Garrett Giordano
@ 2024-06-26 16:22 ` Garrett Giordano
  2024-06-26 19:00   ` Wadim Egorov
  0 siblings, 1 reply; 3+ messages in thread
From: Garrett Giordano @ 2024-06-26 16:22 UTC (permalink / raw)
  To: andersson, mathieu.poirier, w.egorov
  Cc: linux-remoteproc, linux-kernel, upstream

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);
 
 	/* boot vector need not be programmed for Core1 in LockStep mode */
 	core = kproc->core;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] remoteproc: k3-r5: Fix log levels where appropriate
  2024-06-26 16:22 ` [PATCH 2/2] remoteproc: k3-r5: " Garrett Giordano
@ 2024-06-26 19:00   ` Wadim Egorov
  0 siblings, 0 replies; 3+ messages in thread
From: Wadim Egorov @ 2024-06-26 19:00 UTC (permalink / raw)
  To: Garrett Giordano, andersson, mathieu.poirier
  Cc: linux-remoteproc, linux-kernel, upstream

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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-26 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 16:22 [PATCH 1/2] remoteproc: k3-dsp: Fix log levels where appropriate Garrett Giordano
2024-06-26 16:22 ` [PATCH 2/2] remoteproc: k3-r5: " Garrett Giordano
2024-06-26 19:00   ` Wadim Egorov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox