* [PATCH] sched/topology: Fix sched_is_eas_possible() prints
@ 2025-03-19 10:59 Christian Loehle
2025-03-19 11:07 ` Vincent Guittot
0 siblings, 1 reply; 3+ messages in thread
From: Christian Loehle @ 2025-03-19 10:59 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, Juri Lelli
Cc: Vincent Guittot, Dietmar Eggemann, Steven Rostedt, linux-kernel
Add the missing newline on two failure prints to ensure EAS abort
reasons don't go missing.
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
---
kernel/sched/topology.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index c49aea8c1025..18e804b416f5 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -245,7 +245,7 @@ static bool sched_is_eas_possible(const struct cpumask *cpu_mask)
if (!arch_scale_freq_invariant()) {
if (sched_debug()) {
- pr_info("rd %*pbl: Checking EAS: frequency-invariant load tracking not yet supported",
+ pr_info("rd %*pbl: Checking EAS: frequency-invariant load tracking not yet supported\n",
cpumask_pr_args(cpu_mask));
}
return false;
@@ -256,7 +256,7 @@ static bool sched_is_eas_possible(const struct cpumask *cpu_mask)
policy = cpufreq_cpu_get(i);
if (!policy) {
if (sched_debug()) {
- pr_info("rd %*pbl: Checking EAS, cpufreq policy not set for CPU: %d",
+ pr_info("rd %*pbl: Checking EAS, cpufreq policy not set for CPU: %d\n",
cpumask_pr_args(cpu_mask), i);
}
return false;
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sched/topology: Fix sched_is_eas_possible() prints
2025-03-19 10:59 [PATCH] sched/topology: Fix sched_is_eas_possible() prints Christian Loehle
@ 2025-03-19 11:07 ` Vincent Guittot
2025-03-19 11:18 ` Christian Loehle
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Guittot @ 2025-03-19 11:07 UTC (permalink / raw)
To: Christian Loehle
Cc: Ingo Molnar, Peter Zijlstra, Juri Lelli, Dietmar Eggemann,
Steven Rostedt, linux-kernel
On Wed, 19 Mar 2025 at 11:59, Christian Loehle <christian.loehle@arm.com> wrote:
>
> Add the missing newline on two failure prints to ensure EAS abort
> reasons don't go missing.
Would be good to have a Fixes tag
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
>
> Signed-off-by: Christian Loehle <christian.loehle@arm.com>
> ---
> kernel/sched/topology.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
> index c49aea8c1025..18e804b416f5 100644
> --- a/kernel/sched/topology.c
> +++ b/kernel/sched/topology.c
> @@ -245,7 +245,7 @@ static bool sched_is_eas_possible(const struct cpumask *cpu_mask)
>
> if (!arch_scale_freq_invariant()) {
> if (sched_debug()) {
> - pr_info("rd %*pbl: Checking EAS: frequency-invariant load tracking not yet supported",
> + pr_info("rd %*pbl: Checking EAS: frequency-invariant load tracking not yet supported\n",
> cpumask_pr_args(cpu_mask));
> }
> return false;
> @@ -256,7 +256,7 @@ static bool sched_is_eas_possible(const struct cpumask *cpu_mask)
> policy = cpufreq_cpu_get(i);
> if (!policy) {
> if (sched_debug()) {
> - pr_info("rd %*pbl: Checking EAS, cpufreq policy not set for CPU: %d",
> + pr_info("rd %*pbl: Checking EAS, cpufreq policy not set for CPU: %d\n",
> cpumask_pr_args(cpu_mask), i);
> }
> return false;
> --
> 2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sched/topology: Fix sched_is_eas_possible() prints
2025-03-19 11:07 ` Vincent Guittot
@ 2025-03-19 11:18 ` Christian Loehle
0 siblings, 0 replies; 3+ messages in thread
From: Christian Loehle @ 2025-03-19 11:18 UTC (permalink / raw)
To: Vincent Guittot
Cc: Ingo Molnar, Peter Zijlstra, Juri Lelli, Dietmar Eggemann,
Steven Rostedt, linux-kernel
On 3/19/25 11:07, Vincent Guittot wrote:
> On Wed, 19 Mar 2025 at 11:59, Christian Loehle <christian.loehle@arm.com> wrote:
>>
>> Add the missing newline on two failure prints to ensure EAS abort
>> reasons don't go missing.
>
> Would be good to have a Fixes tag
>
> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
You're right, thanks.
It's
fa50e2b452c6 ("sched/topology: Condition EAS enablement on FIE support")
8f833c82cdab ("sched/topology: Change behaviour of the 'sched_energy_aware' sysctl, based on the platform")
respectively, so I'll split this to make backporting easier and carry
your R-b in both if you don't mind.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-19 11:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-19 10:59 [PATCH] sched/topology: Fix sched_is_eas_possible() prints Christian Loehle
2025-03-19 11:07 ` Vincent Guittot
2025-03-19 11:18 ` Christian Loehle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®