Re: [PATCH v10 2/3] powerpc: Use cpu_smallcore_sibling_mask at SMT level on bigcores
From: Srikar Dronamraju
Date: Fri Oct 12 2018 - 03:00:53 EST
* Gautham R. Shenoy <ego@xxxxxxxxxxxxxxxxxx> [2018-10-11 11:03:02]:
> From: "Gautham R. Shenoy" <ego@xxxxxxxxxxxxxxxxxx>
>
>
> +#ifdef CONFIG_SCHED_SMT
> + if (has_big_cores) {
> + pr_info("Using small cores at SMT level\n");
> + power9_topology[0].mask = smallcore_smt_mask;
> + powerpc_topology[0].mask = smallcore_smt_mask;
> + }
> +#endif
> /*
I dont see a way a system can have has_big_core set but use
powerpc_topology.