Browse Source

fix(tsp): use verbose for power logs

TSP use verbose for cpu suspend resume logs

Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: Ic1d3706feec6361946dd5c0d2bea90a2dd7a2d02
pull/1992/head
Shruti Gupta 2 years ago
parent
commit
3354915fff
  1. 16
      bl32/tsp/tsp_ffa_main.c

16
bl32/tsp/tsp_ffa_main.c

@ -299,8 +299,8 @@ smc_args_t *tsp_cpu_off_main(uint64_t arg0,
tsp_stats[linear_id].eret_count++; tsp_stats[linear_id].eret_count++;
tsp_stats[linear_id].cpu_off_count++; tsp_stats[linear_id].cpu_off_count++;
INFO("TSP: cpu 0x%lx off request\n", read_mpidr()); VERBOSE("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: %d smcs, %d erets %d cpu off requests\n",
read_mpidr(), read_mpidr(),
tsp_stats[linear_id].smc_count, tsp_stats[linear_id].smc_count,
tsp_stats[linear_id].eret_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].eret_count++;
tsp_stats[linear_id].cpu_suspend_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(), read_mpidr(),
tsp_stats[linear_id].smc_count, tsp_stats[linear_id].smc_count,
tsp_stats[linear_id].eret_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].eret_count++;
tsp_stats[linear_id].cpu_resume_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); 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(), read_mpidr(),
tsp_stats[linear_id].smc_count, tsp_stats[linear_id].smc_count,
tsp_stats[linear_id].eret_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].eret_count++;
tsp_stats[linear_id].cpu_on_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(), read_mpidr(),
tsp_stats[linear_id].smc_count, tsp_stats[linear_id].smc_count,
tsp_stats[linear_id].eret_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].smc_count++;
tsp_stats[linear_id].eret_count++; tsp_stats[linear_id].eret_count++;
tsp_stats[linear_id].cpu_on_count++; tsp_stats[linear_id].cpu_on_count++;
INFO("TSP: cpu 0x%lx turned on\n", read_mpidr()); VERBOSE("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: %d smcs, %d erets %d cpu on requests\n",
read_mpidr(), read_mpidr(),
tsp_stats[linear_id].smc_count, tsp_stats[linear_id].smc_count,
tsp_stats[linear_id].eret_count, tsp_stats[linear_id].eret_count,

Loading…
Cancel
Save