Each cpu will print the following log when initializing
ETM "coresight etm1: CPU1: etm v4.5 initialized", if there are a lot
of cpus, e.g. 128. there will be a screen full of this log. replace
dev_dbg with dev _printf prints only when needed.
Signed-off-by: Tian Tao <tiantao6(a)hisilicon.com>
---
drivers/hwtracing/coresight/coresight-etm4x-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c
index 7e307022303a..7b51e8594fd5 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x-core.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c
@@ -2033,7 +2033,7 @@ static int etm4_add_coresight_dev(struct etm4_init_arg *init_arg)
etmdrvdata[drvdata->cpu] = drvdata;
- dev_info(&drvdata->csdev->dev, "CPU%d: %s v%d.%d initialized\n",
+ dev_dbg(&drvdata->csdev->dev, "CPU%d: %s v%d.%d initialized\n",
drvdata->cpu, type_name, major, minor);
if (boot_enable) {
--
2.33.0