Skip to contentSkip to conversation

remoteproc: k3-dsp: Fix log levels where appropriate

PATCH Superseded Garrett Giordano 2 participants 3 messages Jun 26, 2024 Remote processor (remoteproc)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/ti_k3_dsp_remoteproc.c +1 -1
index 3555b535b168..57d21f8ae3b7 100644
@@ -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
#1 lore raw

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.

---
 drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/ti_k3_r5_remoteproc.c +1 -1
index 50e486bcfa10..5821b6517063 100644
@@ -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
#2 lore raw

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_dbg to dev_info where appropriate.

---
  drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/ti_k3_r5_remoteproc.c +0 -0
index 50e486bcfa10..5821b6517063 100644

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;