summaryrefslogtreecommitdiff
path: root/lib/power_management/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/power_management/hotplug')
-rw-r--r--lib/power_management/hotplug/hotplug.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/power_management/hotplug/hotplug.c b/lib/power_management/hotplug/hotplug.c
index 430764b..445489c 100644
--- a/lib/power_management/hotplug/hotplug.c
+++ b/lib/power_management/hotplug/hotplug.c
@@ -79,7 +79,7 @@ unsigned int tftf_inc_ref_cnt(void)
cnt = ++ref_cnt;
spin_unlock(&ref_cnt_lock);
- pr_debug("Entering the test (%u CPUs in the test now)\n", cnt);
+ VERBOSE("Entering the test (%u CPUs in the test now)\n", cnt);
return cnt;
}
@@ -93,7 +93,7 @@ unsigned int tftf_dec_ref_cnt(void)
cnt = --ref_cnt;
spin_unlock(&ref_cnt_lock);
- pr_debug("Exiting the test (%u CPUs in the test now)\n", cnt);
+ VERBOSE("Exiting the test (%u CPUs in the test now)\n", cnt);
return cnt;
}
@@ -180,7 +180,7 @@ int32_t tftf_cpu_on(uint64_t target_cpu,
tftf_wait_for_event(&cpu_is_online[core_pos]);
} else {
spin_unlock(&cpus_status_map[core_pos].lock);
- mp_printf("Failed to boot CPU 0x%lx (%d)\n", target_cpu, ret);
+ ERROR("Failed to boot CPU 0x%lx (%d)\n", target_cpu, ret);
}
return ret;
@@ -200,12 +200,12 @@ int32_t tftf_cpu_off(void)
isb();
arm_gic_cpuif_deactivate();
- pr_debug("Powering off\n");
+ INFO("Powering off\n");
/* Power off the CPU */
ret = tftf_psci_cpu_off();
- mp_printf("Failed to power off (%d)\n", ret);
+ ERROR("Failed to power off (%d)\n", ret);
/*
* PSCI CPU_OFF call does not return when successful.
@@ -239,7 +239,7 @@ void __dead2 tftf_warm_boot_main(void)
enable_irq();
isb();
- pr_debug("Booting\n");
+ INFO("Booting\n");
tftf_set_cpu_online();