Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-18 Thread Pavel Machek
On Sun 2016-07-03 17:54:31, Russell King - ARM Linux wrote: > On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > > Agreed. But we'll still be coming back to ensure this information is > > presented to users. I pointed out to ARM about 3-4 years ago that this > > was going to bite us.

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-18 Thread Pavel Machek
On Sun 2016-07-03 17:54:31, Russell King - ARM Linux wrote: > On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > > Agreed. But we'll still be coming back to ensure this information is > > presented to users. I pointed out to ARM about 3-4 years ago that this > > was going to bite us.

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-03 Thread Russell King - ARM Linux
On Sun, Jul 03, 2016 at 08:49:45PM +0200, Andrew Lunn wrote: > On Sun, Jul 03, 2016 at 05:54:31PM +0100, Russell King - ARM Linux wrote: > > Right, so having read all your email, there's no reason why we couldn't > > just print: > > > > cpu MHz : .999 > > Since it is a float, how about

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-03 Thread Russell King - ARM Linux
On Sun, Jul 03, 2016 at 08:49:45PM +0200, Andrew Lunn wrote: > On Sun, Jul 03, 2016 at 05:54:31PM +0100, Russell King - ARM Linux wrote: > > Right, so having read all your email, there's no reason why we couldn't > > just print: > > > > cpu MHz : .999 > > Since it is a float, how about

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-03 Thread Andrew Lunn
On Sun, Jul 03, 2016 at 05:54:31PM +0100, Russell King - ARM Linux wrote: > On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > > Agreed. But we'll still be coming back to ensure this information is > > presented to users. I pointed out to ARM about 3-4 years ago that this > > was going

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-03 Thread Andrew Lunn
On Sun, Jul 03, 2016 at 05:54:31PM +0100, Russell King - ARM Linux wrote: > On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > > Agreed. But we'll still be coming back to ensure this information is > > presented to users. I pointed out to ARM about 3-4 years ago that this > > was going

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-03 Thread Russell King - ARM Linux
On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > Agreed. But we'll still be coming back to ensure this information is > presented to users. I pointed out to ARM about 3-4 years ago that this > was going to bite us. It is now biting us, and we will ensure that > useless data is

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-03 Thread Russell King - ARM Linux
On Sat, Jul 02, 2016 at 07:58:00PM -0400, Jon Masters wrote: > Agreed. But we'll still be coming back to ensure this information is > presented to users. I pointed out to ARM about 3-4 years ago that this > was going to bite us. It is now biting us, and we will ensure that > useless data is

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-02 Thread Jon Masters
Hi Russell, Jon, On 06/07/2016 06:18 PM, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: >> Many users (and some applications) are expecting the CPU clock speed to >> be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, >> ia64, and

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-07-02 Thread Jon Masters
Hi Russell, Jon, On 06/07/2016 06:18 PM, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: >> Many users (and some applications) are expecting the CPU clock speed to >> be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, >> ia64, and

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
On Tue, Jun 07, 2016 at 11:18:10PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: > > Many users (and some applications) are expecting the CPU clock speed to > > be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, > > ia64,

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
On Tue, Jun 07, 2016 at 11:18:10PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: > > Many users (and some applications) are expecting the CPU clock speed to > > be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, > > ia64,

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Russell King - ARM Linux
On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: > Many users (and some applications) are expecting the CPU clock speed to > be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, > ia64, and xtensa). Such as what applications? This is just another meaningless number,

Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Russell King - ARM Linux
On Tue, Jun 07, 2016 at 05:08:32PM -0400, Jon Mason wrote: > Many users (and some applications) are expecting the CPU clock speed to > be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, > ia64, and xtensa). Such as what applications? This is just another meaningless number,

[RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
Many users (and some applications) are expecting the CPU clock speed to be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, ia64, and xtensa). This can be trivially added by simply querying the clock described in the CPU node of the device tree. It appears that many of the

[RFC 0/1] ARM: print MHz in /proc/cpuinfo

2016-06-07 Thread Jon Mason
Many users (and some applications) are expecting the CPU clock speed to be output in /proc/cpuinfo (as is done in x86, avr32, c6x, tile, parisc, ia64, and xtensa). This can be trivially added by simply querying the clock described in the CPU node of the device tree. It appears that many of the