Re: [PATCH 6/6] powerpc/powernv: Add support for POWER8 split core on powernv

2014-04-23 Thread Michael Neuling
Joel Stanley wrote: > Hi Mikey, > > On Thu, Apr 24, 2014 at 11:02 AM, Michael Neuling wrote: > > +static DEVICE_ATTR(subcores_per_core, 0600, > > + show_subcores_per_core, store_subcores_per_core); > > Can we make this 644, so users can query the state of the system > without bei

Re: [PATCH 6/6] powerpc/powernv: Add support for POWER8 split core on powernv

2014-04-23 Thread Joel Stanley
Hi Mikey, On Thu, Apr 24, 2014 at 11:02 AM, Michael Neuling wrote: > +static DEVICE_ATTR(subcores_per_core, 0600, > + show_subcores_per_core, store_subcores_per_core); Can we make this 644, so users can query the state of the system without being root? This is useful for tools like

[PATCH 6/6] powerpc/powernv: Add support for POWER8 split core on powernv

2014-04-23 Thread Michael Neuling
From: Michael Ellerman Upcoming POWER8 chips support a concept called split core. This is where the core can be split into subcores that although not full cores, are able to appear as full cores to a guest. The splitting & unsplitting procedure is mildly complicated, and explained at length in t