mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
sched/walt: reduce severity of core_ctl warning
When there is a failure with the call to pause_cpus() or resume_cpus() core_ctl will receive that error and retry on a window boundary. Currently this results in a printk_deferred message going to the console very frequently for a normal use case (hotplug disabled). Change these console messages to pr_debug() to eliminate the messages unless DEBUG is defined, and loglevel is increased. Change-Id: I99bd04cd71dbc0b365df07dea3776a11afa6b7d5 Signed-off-by: Stephen Dickey <dickey@codeaurora.org>
This commit is contained in:
parent
1efede7023
commit
f6a9379748
|
|
@ -1155,9 +1155,9 @@ static void core_ctl_pause_cpus(struct cpumask *cpus_to_pause)
|
|||
|
||||
if (cpumask_any(cpus_to_pause) < nr_cpu_ids) {
|
||||
if (walt_pause_cpus(cpus_to_pause) < 0)
|
||||
printk_deferred("core_ctl pause operation failed cpus=%*pbl paused_by_us=%*pbl\n",
|
||||
cpumask_pr_args(cpus_to_pause),
|
||||
cpumask_pr_args(&cpus_paused_by_us));
|
||||
pr_debug("core_ctl pause operation failed cpus=%*pbl paused_by_us=%*pbl\n",
|
||||
cpumask_pr_args(cpus_to_pause),
|
||||
cpumask_pr_args(&cpus_paused_by_us));
|
||||
else
|
||||
cpumask_or(&cpus_paused_by_us, &cpus_paused_by_us, &saved_cpus);
|
||||
}
|
||||
|
|
@ -1184,9 +1184,9 @@ static void core_ctl_resume_cpus(struct cpumask *cpus_to_unpause)
|
|||
|
||||
if (cpumask_any(cpus_to_unpause) < nr_cpu_ids) {
|
||||
if (walt_resume_cpus(cpus_to_unpause) < 0)
|
||||
printk_deferred("core_ctl resume operation failed cpus=%*pbl paused_by_us=%*pbl\n",
|
||||
cpumask_pr_args(cpus_to_unpause),
|
||||
cpumask_pr_args(&cpus_paused_by_us));
|
||||
pr_debug("core_ctl resume operation failed cpus=%*pbl paused_by_us=%*pbl\n",
|
||||
cpumask_pr_args(cpus_to_unpause),
|
||||
cpumask_pr_args(&cpus_paused_by_us));
|
||||
else
|
||||
cpumask_andnot(&cpus_paused_by_us, &cpus_paused_by_us, &saved_cpus);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user