Re: [PATCH v10 1/3] powerpc: Detect the presence of big-cores via "ibm,thread-groups"

2018-10-12 Thread Srikar Dronamraju
> +DECLARE_PER_CPU(cpumask_var_t, cpu_smallcore_map); > > +/* > + * On big-cores system, cpu_l1_cache_map for each CPU corresponds to > + * the set its siblings that share the L1-cache. > + */ > +DEFINE_PER_CPU(cpumask_var_t, cpu_l1_cache_map); > Nit: Can you add a comment on how

[PATCH v10 1/3] powerpc: Detect the presence of big-cores via "ibm, thread-groups"

2018-10-10 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" On IBM POWER9, the device tree exposes a property array identifed by "ibm,thread-groups" which will indicate which groups of threads share a particular set of resources. As of today we only have one form of grouping identifying the group of threads in the core that