Re: [PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-07 Thread Shuah Khan
On 11/07/2017 01:58 AM, Abhishek wrote: > Hi, > > Can you have a look at it? > > Thanks and Regards, > > Abhishek Goel > > System Engineer > > IBM India Pvt. Ltd. > Please refrain from top posting on kernel email thread. In-lining comments and bottom posting is the norm. > > On 11/07/2017

Re: [PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-07 Thread Shuah Khan
On 11/07/2017 01:58 AM, Abhishek wrote: > Hi, > > Can you have a look at it? > > Thanks and Regards, > > Abhishek Goel > > System Engineer > > IBM India Pvt. Ltd. > Please refrain from top posting on kernel email thread. In-lining comments and bottom posting is the norm. > > On 11/07/2017

Re: [PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-07 Thread Abhishek
Hi, Can you have a look at it? Thanks and Regards, Abhishek Goel System Engineer IBM India Pvt. Ltd. On 11/07/2017 12:50 PM, Abhishek Goel wrote: cpuidle_monitor used to assume that cpu0 is always online which is not a valid assumption on POWER machines. This patch fixes this by searching

Re: [PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-07 Thread Abhishek
Hi, Can you have a look at it? Thanks and Regards, Abhishek Goel System Engineer IBM India Pvt. Ltd. On 11/07/2017 12:50 PM, Abhishek Goel wrote: cpuidle_monitor used to assume that cpu0 is always online which is not a valid assumption on POWER machines. This patch fixes this by searching

[PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-06 Thread Abhishek Goel
cpuidle_monitor used to assume that cpu0 is always online which is not a valid assumption on POWER machines. This patch fixes this by searching for the first online cpu and uses it, instead of always using cpu0 for monitoring which may not be online. Signed-off-by: Abhishek Goel

[PATCH v2] cpupower : Fix cpupower working when cpu0 is offline

2017-11-06 Thread Abhishek Goel
cpuidle_monitor used to assume that cpu0 is always online which is not a valid assumption on POWER machines. This patch fixes this by searching for the first online cpu and uses it, instead of always using cpu0 for monitoring which may not be online. Signed-off-by: Abhishek Goel --- v2: Commit