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

2014-04-23 Thread Michael Neuling
From: Michael Ellerman m...@ellerman.id.au 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

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 mi...@neuling.org 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

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

2014-04-23 Thread Michael Neuling
Joel Stanley j...@jms.id.au wrote: Hi Mikey, On Thu, Apr 24, 2014 at 11:02 AM, Michael Neuling mi...@neuling.org 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

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

2014-04-23 Thread Michael Neuling
From: Michael Ellerman m...@ellerman.id.au 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

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 mi...@neuling.org 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

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

2014-04-23 Thread Michael Neuling
Joel Stanley j...@jms.id.au wrote: Hi Mikey, On Thu, Apr 24, 2014 at 11:02 AM, Michael Neuling mi...@neuling.org 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