Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-10 Thread Ananth N Mavinakayanahalli
On Fri, Nov 11, 2011 at 03:18:14PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2011-11-10 at 14:18 +0530, Ananth N Mavinakayanahalli wrote: > > > > > From: Ananth N Mavinakayanahalli > > > > The Processor Identification Register (PIR) on some powerpc platforms > > provides information to dec

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-10 Thread Benjamin Herrenschmidt
On Thu, 2011-11-10 at 14:18 +0530, Ananth N Mavinakayanahalli wrote: > > From: Ananth N Mavinakayanahalli > > The Processor Identification Register (PIR) on some powerpc platforms > provides information to decode the processor identification tag. > Decoding this information is platform specific

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-10 Thread Ananth N Mavinakayanahalli
On Wed, Nov 09, 2011 at 09:48:25AM -0600, Scott Wood wrote: > On Wed, Nov 09, 2011 at 10:11:24AM +0530, Ananth N Mavinakayanahalli wrote: > > On Tue, Nov 08, 2011 at 10:59:46AM -0600, Scott Wood wrote: > > > On 11/08/2011 12:58 AM, Ananth N Mavinakayanahalli wrote: > > > > On Mon, Nov 07, 2011 at 1

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-09 Thread Scott Wood
On Wed, Nov 09, 2011 at 10:11:24AM +0530, Ananth N Mavinakayanahalli wrote: > On Tue, Nov 08, 2011 at 10:59:46AM -0600, Scott Wood wrote: > > On 11/08/2011 12:58 AM, Ananth N Mavinakayanahalli wrote: > > > On Mon, Nov 07, 2011 at 11:18:32AM -0600, Scott Wood wrote: > > >> What use does userspace ha

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-08 Thread Michael Ellerman
On Tue, 2011-11-08 at 10:59 -0600, Scott Wood wrote: > On 11/08/2011 12:58 AM, Ananth N Mavinakayanahalli wrote: > > On Mon, Nov 07, 2011 at 11:18:32AM -0600, Scott Wood wrote: > >> What use does userspace have for this? If you want to return the > >> currently executing CPU (which unless you're p

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-08 Thread Ananth N Mavinakayanahalli
On Tue, Nov 08, 2011 at 10:59:46AM -0600, Scott Wood wrote: > On 11/08/2011 12:58 AM, Ananth N Mavinakayanahalli wrote: > > On Mon, Nov 07, 2011 at 11:18:32AM -0600, Scott Wood wrote: > >> What use does userspace have for this? If you want to return the > >> currently executing CPU (which unless y

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-08 Thread Scott Wood
On 11/08/2011 12:58 AM, Ananth N Mavinakayanahalli wrote: > On Mon, Nov 07, 2011 at 11:18:32AM -0600, Scott Wood wrote: >> What use does userspace have for this? If you want to return the >> currently executing CPU (which unless you're pinned could change as soon >> as the value is read...), why n

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-07 Thread Ananth N Mavinakayanahalli
On Mon, Nov 07, 2011 at 11:18:32AM -0600, Scott Wood wrote: > On 11/06/2011 10:47 PM, Ananth N Mavinakayanahalli wrote: > > The Processor Identification Register (PIR) on powerpc provides > > information to decode the processor identification tag. Decoding > > this information platform specfic. > >

Re: [PATCH] powerpc: Export PIR data through sysfs

2011-11-07 Thread Scott Wood
On 11/06/2011 10:47 PM, Ananth N Mavinakayanahalli wrote: > The Processor Identification Register (PIR) on powerpc provides > information to decode the processor identification tag. Decoding > this information platform specfic. > > Export PIR data via sysfs. > > (Powerpc manuals state this regist