kernel/cpu: Silence abundance of logspam
We don't really need to know if the CPU is getting disabled or enabled on a production device. Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: priiii1808 <priyanshusinghal0818@gmail.com>
This commit is contained in:
parent
edc883311b
commit
471bfb0e50
1 changed files with 4 additions and 4 deletions
|
@ -1721,13 +1721,13 @@ int freeze_secondary_cpus(int primary)
|
||||||
*/
|
*/
|
||||||
cpumask_clear(frozen_cpus);
|
cpumask_clear(frozen_cpus);
|
||||||
|
|
||||||
pr_info("Disabling non-boot CPUs ...\n");
|
pr_debug("Disabling non-boot CPUs ...\n");
|
||||||
for_each_online_cpu(cpu) {
|
for_each_online_cpu(cpu) {
|
||||||
if (cpu == primary)
|
if (cpu == primary)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (pm_wakeup_pending()) {
|
if (pm_wakeup_pending()) {
|
||||||
pr_info("Wakeup pending. Abort CPU freeze\n");
|
pr_debug("Wakeup pending. Abort CPU freeze\n");
|
||||||
error = -EBUSY;
|
error = -EBUSY;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1759,7 +1759,7 @@ int freeze_secondary_cpus(int primary)
|
||||||
if (!error)
|
if (!error)
|
||||||
BUG_ON(num_online_cpus() > 1);
|
BUG_ON(num_online_cpus() > 1);
|
||||||
else
|
else
|
||||||
pr_err("Non-boot CPUs are not disabled\n");
|
pr_debug("Non-boot CPUs are not disabled\n");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Make sure the CPUs won't be enabled by someone else. We need to do
|
* Make sure the CPUs won't be enabled by someone else. We need to do
|
||||||
|
@ -1791,7 +1791,7 @@ void thaw_secondary_cpus(void)
|
||||||
if (cpumask_empty(frozen_cpus))
|
if (cpumask_empty(frozen_cpus))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
pr_info("Enabling non-boot CPUs ...\n");
|
pr_debug("Enabling non-boot CPUs ...\n");
|
||||||
|
|
||||||
arch_thaw_secondary_cpus_begin();
|
arch_thaw_secondary_cpus_begin();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue