]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(tsp): use verbose for power logs
authorShruti Gupta <shruti.gupta@arm.com>
Thu, 8 Dec 2022 11:40:20 +0000 (11:40 +0000)
committerShruti Gupta <shruti.gupta@arm.com>
Thu, 8 Dec 2022 12:30:24 +0000 (12:30 +0000)
TSP use verbose for cpu suspend resume logs

Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: Ic1d3706feec6361946dd5c0d2bea90a2dd7a2d02

bl32/tsp/tsp_ffa_main.c

index 3cbeb7a94b6b330f25d8f2d75c65325b0df0279a..2c53977c8d0821bc7a2a8b92c80e48d87319d0f0 100644 (file)
@@ -299,8 +299,8 @@ smc_args_t *tsp_cpu_off_main(uint64_t arg0,
        tsp_stats[linear_id].eret_count++;
        tsp_stats[linear_id].cpu_off_count++;
 
-       INFO("TSP: cpu 0x%lx off request\n", read_mpidr());
-       INFO("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu off requests\n",
+       VERBOSE("TSP: cpu 0x%lx off request\n", read_mpidr());
+       VERBOSE("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu off requests\n",
                read_mpidr(),
                tsp_stats[linear_id].smc_count,
                tsp_stats[linear_id].eret_count,
@@ -337,7 +337,7 @@ smc_args_t *tsp_cpu_suspend_main(uint64_t arg0,
        tsp_stats[linear_id].eret_count++;
        tsp_stats[linear_id].cpu_suspend_count++;
 
-       INFO("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu suspend requests\n",
+       VERBOSE("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu suspend requests\n",
                read_mpidr(),
                tsp_stats[linear_id].smc_count,
                tsp_stats[linear_id].eret_count,
@@ -370,9 +370,9 @@ smc_args_t *tsp_cpu_resume_main(uint64_t max_off_pwrlvl,
        tsp_stats[linear_id].eret_count++;
        tsp_stats[linear_id].cpu_resume_count++;
 
-       INFO("TSP: cpu 0x%lx resumed. maximum off power level %" PRId64 "\n",
+       VERBOSE("TSP: cpu 0x%lx resumed. maximum off power level %" PRId64 "\n",
             read_mpidr(), max_off_pwrlvl);
-       INFO("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu resume requests\n",
+       VERBOSE("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu resume requests\n",
                read_mpidr(),
                tsp_stats[linear_id].smc_count,
                tsp_stats[linear_id].eret_count,
@@ -612,7 +612,7 @@ uint64_t tsp_main(void)
        tsp_stats[linear_id].eret_count++;
        tsp_stats[linear_id].cpu_on_count++;
 
-       INFO("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu on requests\n",
+       VERBOSE("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu on requests\n",
                        read_mpidr(),
                        tsp_stats[linear_id].smc_count,
                        tsp_stats[linear_id].eret_count,
@@ -641,8 +641,8 @@ smc_args_t *tsp_cpu_on_main(void)
        tsp_stats[linear_id].smc_count++;
        tsp_stats[linear_id].eret_count++;
        tsp_stats[linear_id].cpu_on_count++;
-       INFO("TSP: cpu 0x%lx turned on\n", read_mpidr());
-       INFO("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu on requests\n",
+       VERBOSE("TSP: cpu 0x%lx turned on\n", read_mpidr());
+       VERBOSE("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu on requests\n",
                        read_mpidr(),
                        tsp_stats[linear_id].smc_count,
                        tsp_stats[linear_id].eret_count,