Re: [PATCH V2] powerpc/kernel: Add 'ibm,thread-groups' property for CPU allocation

2018-01-29 Thread Michael Bringmann
You are correct. I found a problem with multiple cores last week, and I have a new patch in testing. I will resubmit it after more testing. Sorry for the inconvenience. Michael On 01/27/2018 03:52 AM, Michael Ellerman wrote: > Michael Bringmann writes: > >> diff --git a/arch/powerpc/kernel/p

Re: [PATCH V2] powerpc/kernel: Add 'ibm, thread-groups' property for CPU allocation

2018-01-27 Thread Michael Ellerman
Michael Bringmann writes: > diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c > index b15bae2..0a49231 100644 > --- a/arch/powerpc/kernel/prom.c > +++ b/arch/powerpc/kernel/prom.c > @@ -303,6 +306,71 @@ static void __init check_cpu_feature_properties(unsigned > long node) >

Re: [PATCH V2] powerpc/kernel: Add 'ibm, thread-groups' property for CPU allocation

2018-01-15 Thread Michael Bringmann
On 01/12/2018 08:33 PM, Michael Ellerman wrote: > Nathan Fontenot writes: ... >> >> One thing I don't see addressed in the comments or in the code is >> migration support. I think we need to update the thread group mask >> post-migration to reflect the threads per core on the new system. > > No

Re: [PATCH V2] powerpc/kernel: Add 'ibm, thread-groups' property for CPU allocation

2018-01-12 Thread Michael Ellerman
Nathan Fontenot writes: > On 01/08/2018 11:19 AM, Michael Bringmann wrote: >> Add code to parse the new property 'ibm,thread-groups" when it is >> present. The content of this property explicitly defines the number >> of threads per core as well as the PowerPC 'threads_core_mask'. >> The design

Re: [PATCH V2] powerpc/kernel: Add 'ibm,thread-groups' property for CPU allocation

2018-01-12 Thread Nathan Fontenot
On 01/08/2018 11:19 AM, Michael Bringmann wrote: > Add code to parse the new property 'ibm,thread-groups" when it is > present. The content of this property explicitly defines the number > of threads per core as well as the PowerPC 'threads_core_mask'. > The design provides a common device-tree fo

[PATCH V2] powerpc/kernel: Add 'ibm,thread-groups' property for CPU allocation

2018-01-08 Thread Michael Bringmann
Add code to parse the new property 'ibm,thread-groups" when it is present. The content of this property explicitly defines the number of threads per core as well as the PowerPC 'threads_core_mask'. The design provides a common device-tree for both P9 normal core and P9 fused core systems. The new