Re: [Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-15 Thread David Gibson
On Wed, Mar 16, 2016 at 08:11:48AM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2016-03-15 at 20:45 +1100, David Gibson wrote: > > On Mon, Mar 14, 2016 at 05:56:27PM +0100, Cédric Le Goater wrote: > > > > > > From: Benjamin Herrenschmidt > > > > > > Also use it to

Re: [Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-15 Thread Benjamin Herrenschmidt
On Tue, 2016-03-15 at 20:45 +1100, David Gibson wrote: > On Mon, Mar 14, 2016 at 05:56:27PM +0100, Cédric Le Goater wrote: > > > > From: Benjamin Herrenschmidt > > > > Also use it to clamp the max SMT mode and ensure that the cpu_dt_id > > are offset by that value in

Re: [Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-15 Thread David Gibson
On Mon, Mar 14, 2016 at 05:56:27PM +0100, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt > > Also use it to clamp the max SMT mode and ensure that the cpu_dt_id > are offset by that value in order to preserve consistency with the > HW implementations. I think

Re: [Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-15 Thread Bharata B Rao
On Mon, Mar 14, 2016 at 08:20:52PM +0100, Thomas Huth wrote: > On 14.03.2016 17:56, Cédric Le Goater wrote: > > From: Benjamin Herrenschmidt > > > > Also use it to clamp the max SMT mode and ensure that the cpu_dt_id > > are offset by that value in order to preserve

Re: [Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-15 Thread Cédric Le Goater
On 03/14/2016 08:20 PM, Thomas Huth wrote: > On 14.03.2016 17:56, Cédric Le Goater wrote: >> From: Benjamin Herrenschmidt >> >> Also use it to clamp the max SMT mode and ensure that the cpu_dt_id >> are offset by that value in order to preserve consistency with the >> HW

Re: [Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-14 Thread Thomas Huth
On 14.03.2016 17:56, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt > > Also use it to clamp the max SMT mode and ensure that the cpu_dt_id > are offset by that value in order to preserve consistency with the > HW implementations. > > Signed-off-by: Benjamin

[Qemu-devel] [PATCH 04/17] ppc: Add number of threads per core to the processor definition

2016-03-14 Thread Cédric Le Goater
From: Benjamin Herrenschmidt Also use it to clamp the max SMT mode and ensure that the cpu_dt_id are offset by that value in order to preserve consistency with the HW implementations. Signed-off-by: Benjamin Herrenschmidt ---