Re: [PATCH 10/11] powerpc/smp: Implement cpu_to_coregroup_id

2020-07-20 Thread Srikar Dronamraju
* Gautham R Shenoy [2020-07-20 14:40:25]: > Hi Srikar, > > > On Mon, Jul 20, 2020 at 11:18:16AM +0530, Srikar Dronamraju wrote: > > * Gautham R Shenoy [2020-07-17 13:56:53]: > > > > > On Tue, Jul 14, 2020 at 10:06:23AM +0530, Srikar Dronamraju wrote: > > > > Lookup the coregroup id from the

Re: [PATCH 10/11] powerpc/smp: Implement cpu_to_coregroup_id

2020-07-20 Thread Gautham R Shenoy
Hi Srikar, On Mon, Jul 20, 2020 at 11:18:16AM +0530, Srikar Dronamraju wrote: > * Gautham R Shenoy [2020-07-17 13:56:53]: > > > On Tue, Jul 14, 2020 at 10:06:23AM +0530, Srikar Dronamraju wrote: > > > Lookup the coregroup id from the associativity array. > > > > > > If unable to detect the

Re: [PATCH 10/11] powerpc/smp: Implement cpu_to_coregroup_id

2020-07-19 Thread Srikar Dronamraju
* Gautham R Shenoy [2020-07-17 13:56:53]: > On Tue, Jul 14, 2020 at 10:06:23AM +0530, Srikar Dronamraju wrote: > > Lookup the coregroup id from the associativity array. > > > > If unable to detect the coregroup id, fallback on the core id. > > This way, ensure sched_domain degenerates and an

Re: [PATCH 10/11] powerpc/smp: Implement cpu_to_coregroup_id

2020-07-17 Thread Gautham R Shenoy
On Tue, Jul 14, 2020 at 10:06:23AM +0530, Srikar Dronamraju wrote: > Lookup the coregroup id from the associativity array. > > If unable to detect the coregroup id, fallback on the core id. > This way, ensure sched_domain degenerates and an extra sched domain is > not created. > > Ideally this

[PATCH 10/11] powerpc/smp: Implement cpu_to_coregroup_id

2020-07-13 Thread Srikar Dronamraju
Lookup the coregroup id from the associativity array. If unable to detect the coregroup id, fallback on the core id. This way, ensure sched_domain degenerates and an extra sched domain is not created. Ideally this function should have been implemented in arch/powerpc/kernel/smp.c. However if its