Skip to contentSkip to conversation

remoteproc: k3-dsp: Fix log levels where appropriate

PATCH Applied Garrett Giordano 3 participants 3 messages Jun 26, 2024 – Jul 4, 2024 Remote processor (remoteproc)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 remoteproc: k3-dsp: Fix log levels where appropriate

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

---
-v2
- Change from dev_info to dev_dbg
- Drop k3-r5 PATCH

---
 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..a22d41689a7d 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_dbg(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

Acked-by on v2 1/1
#1 lore raw
Quoted 5 lines · Garrett Giordano

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

---

Quoted 24 lines
(quoted diff) +0 -2
-v2
   - Change from dev_info to dev_dbg
   - Drop k3-r5 PATCH
---
  drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/ti_k3_dsp_remoteproc.c +1 -2
index 3555b535b168..a22d41689a7d 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_dbg(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

maintainer Applied
#2 lore raw
In reply to Garrett Giordano
Quoted 12 lines · Garrett Giordano

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

---
-v2
- Change from dev_info to dev_dbg
- Drop k3-r5 PATCH

---
 drivers/remoteproc/ti_k3_dsp_remoteproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied.

Thanks,
Mathieu

Quoted 16 lines
drivers/remoteproc/ti_k3_dsp_remoteproc.c +1 -2
index 3555b535b168..a22d41689a7d 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_dbg(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