On Fri, May 29, 2020 at 09:07:31AM +1000, Michael Neuling wrote: > 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.
Thanks for making the print more meaningful. > > Signed-off-by: Michael Neuling <mi...@neuling.org> FWIW, Acked-by: Gautham R. Shenoy <e...@linux.vnet.ibm.com> > --- > arch/powerpc/kernel/smp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > index 6d2a3a3666..c820c95162 100644 > --- a/arch/powerpc/kernel/smp.c > +++ b/arch/powerpc/kernel/smp.c > @@ -1383,7 +1383,7 @@ void __init smp_cpus_done(unsigned int max_cpus) > > #ifdef CONFIG_SCHED_SMT > 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; > powerpc_topology[0].mask = smallcore_smt_mask; > } > -- > 2.26.2 >