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

2018-09-23 Thread Michael Neuling
On Fri, 2018-09-21 at 22:47 +0530, Gautham R Shenoy wrote: > Hello Michael, > > On Fri, Sep 21, 2018 at 01:02:45PM +1000, Michael Neuling wrote: > > This doesn't compile for me with: > > > > arch/powerpc/kernel/smp.c: In function ‘smp_prepare_cpus’: > > arch/powerpc/kernel/smp.c:812:23: error:

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

2018-09-21 Thread Gautham R Shenoy
Hello Michael, On Fri, Sep 21, 2018 at 01:02:45PM +1000, Michael Neuling wrote: > This doesn't compile for me with: > > arch/powerpc/kernel/smp.c: In function ‘smp_prepare_cpus’: > arch/powerpc/kernel/smp.c:812:23: error: ‘tg.threads_per_group’ may be used > uninitialized in this function

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

2018-09-20 Thread Michael Neuling
This doesn't compile for me with: arch/powerpc/kernel/smp.c: In function ‘smp_prepare_cpus’: arch/powerpc/kernel/smp.c:812:23: error: ‘tg.threads_per_group’ may be used uninitialized in this function [-Werror=maybe-uninitialized] struct thread_groups tg; ^

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

2018-09-20 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