Commit 82a7cebd authored by Michael Neuling's avatar Michael Neuling Committed by Michael Ellerman

powerpc: Fix misleading small cores print

Currently when we boot on a big core system, we get this print:
  [    0.040500] Using small cores at SMT level

This is misleading as we've actually detected big cores.

This patch clears up the print to say we've detect big cores but are
using small cores for scheduling.
Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200528230731.1235752-1-mikey@neuling.org
parent 9a2921e5
...@@ -1383,7 +1383,7 @@ void __init smp_cpus_done(unsigned int max_cpus) ...@@ -1383,7 +1383,7 @@ void __init smp_cpus_done(unsigned int max_cpus)
#ifdef CONFIG_SCHED_SMT #ifdef CONFIG_SCHED_SMT
if (has_big_cores) { if (has_big_cores) {
pr_info("Using small cores at SMT level\n"); pr_info("Big cores detected but using small core scheduling\n");
power9_topology[0].mask = smallcore_smt_mask; power9_topology[0].mask = smallcore_smt_mask;
powerpc_topology[0].mask = smallcore_smt_mask; powerpc_topology[0].mask = smallcore_smt_mask;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment