[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160703184945.GB9421@lunn.ch>
Date: Sun, 3 Jul 2016 20:49:45 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Russell King - ARM Linux <linux@...linux.org.uk>
Cc: Jon Masters <jcm@...masters.org>, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Jon Mason <jon.mason@...adcom.com>
Subject: Re: [RFC 0/1] ARM: print MHz in /proc/cpuinfo
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 to bite us. It is now biting us, and we will ensure that
> > useless data is provided where it is on x86 for identical experience by
> > users. That is unless or until x86 users do something else always. Our
> > (separate) case will use DMI or ACPI for the same kind of data.
>
> Right, so having read all your email, there's no reason why we couldn't
> just print:
>
> cpu MHz : 99999999.999
Since it is a float, how about using the value NaN? I think that
nicely summaries it is a useless value.
However, i agree, we first need a technical justification for needing
a value at all.
Jon: What happened when you posted a patch removing this value from
x86? That is clearly an alternative to adding it to ARM, especially if
everybody agrees it is a useless value.
Andrew
Powered by blists - more mailing lists