[lng-odp] [API-NEXT PATCH v4 05/10] linux-generic: sysinfo: clarify the API for max CPU frequency

2015-08-11 Thread hongbo.zhang
From: Hongbo Zhang Currently the API to get CPU frequency is vague, it needs to be clarified whether max or current frequency is returned, and now most use cases want to get max capacity of CPU in fact, so this patch makes it clear that the cpu_hz stand for max CPU frequency. (there is no need to

Re: [lng-odp] [API-NEXT PATCH v4 05/10] linux-generic: sysinfo: clarify the API for max CPU frequency

2015-09-03 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: ext hongbo.zh...@freescale.com > [mailto:hongbo.zh...@freescale.com] > Sent: Tuesday, August 11, 2015 10:34 AM > To: lng-odp@lists.linaro.org > Cc: mike.hol...@linaro.org; stuart.has...@arm.com; Savolainen, Petri > (Nokia - FI/Espoo); petri.savolai...@linaro.o

Re: [lng-odp] [API-NEXT PATCH v4 05/10] linux-generic: sysinfo: clarify the API for max CPU frequency

2015-09-03 Thread Ivan Khoronzhuk
Hi, Hongbo On 11.08.15 10:33, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Currently the API to get CPU frequency is vague, it needs to be clarified whether max or current frequency is returned, and now most use cases want to get max capacity of CPU in fact, so this patch makes it clea

Re: [lng-odp] [API-NEXT PATCH v4 05/10] linux-generic: sysinfo: clarify the API for max CPU frequency

2015-09-07 Thread Hongbo Zhang
On 3 September 2015 at 21:47, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message- >> From: ext hongbo.zh...@freescale.com >> [mailto:hongbo.zh...@freescale.com] >> Sent: Tuesday, August 11, 2015 10:34 AM >> To: lng-odp@lists.linaro.org >> Cc: mike.hol...@linaro.org; stuar

Re: [lng-odp] [API-NEXT PATCH v4 05/10] linux-generic: sysinfo: clarify the API for max CPU frequency

2015-09-07 Thread Hongbo Zhang
On 3 September 2015 at 22:47, Ivan Khoronzhuk wrote: > Hi, Hongbo > > On 11.08.15 10:33, hongbo.zh...@freescale.com wrote: >> >> From: Hongbo Zhang >> >> Currently the API to get CPU frequency is vague, it needs to be clarified >> whether max or current frequency is returned, and now most use cas

Re: [lng-odp] [API-NEXT PATCH v4 05/10] linux-generic: sysinfo: clarify the API for max CPU frequency

2015-09-07 Thread Ivan Khoronzhuk
On 07.09.15 14:08, Hongbo Zhang wrote: On 3 September 2015 at 22:47, Ivan Khoronzhuk wrote: Hi, Hongbo On 11.08.15 10:33, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Currently the API to get CPU frequency is vague, it needs to be clarified whether max or current frequency is ret