]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
TSP: corrected log information
authorManish Pandey <manish.pandey2@arm.com>
Fri, 6 Mar 2020 14:36:25 +0000 (14:36 +0000)
committerManish Pandey <manish.pandey2@arm.com>
Fri, 6 Mar 2020 14:36:25 +0000 (14:36 +0000)
In CPU resume function, CPU suspend count was printed instead of CPU
resume count.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I0c081dc03a4ccfb2129687f690667c5ceed00a5f

bl32/tsp/tsp_main.c

index e1d961cc617d3b3e88ddc22bad387c38071bfa7f..9da2f9af991afecad2433205e316b79a72700d7a 100644 (file)
@@ -273,11 +273,11 @@ tsp_args_t *tsp_cpu_resume_main(uint64_t max_off_pwrlvl,
        spin_lock(&console_lock);
        INFO("TSP: cpu 0x%lx resumed. maximum off power level %lld\n",
             read_mpidr(), max_off_pwrlvl);
-       INFO("TSP: cpu 0x%lx: %d smcs, %d erets %d cpu suspend requests\n",
+       INFO("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,
-               tsp_stats[linear_id].cpu_suspend_count);
+               tsp_stats[linear_id].cpu_resume_count);
        spin_unlock(&console_lock);
 #endif
        /* Indicate to the SPD that we have completed this request */