Re: [PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-19 Thread Srivatsa S. Bhat
On 03/19/2014 05:07 AM, Benjamin Herrenschmidt wrote: On Mon, 2014-03-10 at 16:40 +0530, Gautham R. Shenoy wrote: From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Create a helper method that computes the cpumask corresponding to the thread-siblings of a cpu. Use this for initializing

Re: [PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-19 Thread Gautham R Shenoy
On Wed, Mar 19, 2014 at 12:05:20PM +0530, Srivatsa S. Bhat wrote: On 03/19/2014 05:07 AM, Benjamin Herrenschmidt wrote: On Mon, 2014-03-10 at 16:40 +0530, Gautham R. Shenoy wrote: From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Create a helper method that computes the cpumask

Re: [PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-18 Thread Benjamin Herrenschmidt
On Mon, 2014-03-10 at 16:40 +0530, Gautham R. Shenoy wrote: From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Create a helper method that computes the cpumask corresponding to the thread-siblings of a cpu. Use this for initializing the policy-cpus mask for a given cpu. (Original

[PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-10 Thread Gautham R. Shenoy
From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Create a helper method that computes the cpumask corresponding to the thread-siblings of a cpu. Use this for initializing the policy-cpus mask for a given cpu. (Original code written by Srivatsa S. Bhat. Gautham moved this to a helper