Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-11 Thread David Gibson
On Mon, Jul 11, 2016 at 10:15:57AM +0200, Igor Mammedov wrote: > On Mon, 11 Jul 2016 13:26:01 +1000 > David Gibson wrote: > > > On Fri, Jul 08, 2016 at 12:59:59PM +0200, Igor Mammedov wrote: > > > On Fri, 8 Jul 2016 17:39:52 +1000 > > > David Gibson wrote: > > > > > > > On Fri, Jul 08, 2016 a

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-11 Thread Igor Mammedov
On Mon, 11 Jul 2016 13:26:01 +1000 David Gibson wrote: > On Fri, Jul 08, 2016 at 12:59:59PM +0200, Igor Mammedov wrote: > > On Fri, 8 Jul 2016 17:39:52 +1000 > > David Gibson wrote: > > > > > On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote: > > > > On Fri, Jul 08, 2016 at 03:2

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-10 Thread David Gibson
On Fri, Jul 08, 2016 at 12:59:59PM +0200, Igor Mammedov wrote: > On Fri, 8 Jul 2016 17:39:52 +1000 > David Gibson wrote: > > > On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote: > > > On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote: > > > > On Thu, Jul 07, 2016 at 08:20

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-10 Thread David Gibson
On Fri, Jul 08, 2016 at 05:24:24PM +0200, Greg Kurz wrote: > On Fri, 8 Jul 2016 17:59:07 +1000 > David Gibson wrote: > > > On Fri, Jul 08, 2016 at 09:46:47AM +0200, Greg Kurz wrote: > > > On Fri, 8 Jul 2016 15:25:33 +1000 > > > David Gibson wrote: > > > > > > > On Thu, Jul 07, 2016 at 06:11:3

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-10 Thread Bharata B Rao
On Fri, Jul 08, 2016 at 12:59:59PM +0200, Igor Mammedov wrote: > On Fri, 8 Jul 2016 17:39:52 +1000 > David Gibson wrote: > > > On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote: > > > On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote: > > > > On Thu, Jul 07, 2016 at 08:20

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-08 Thread Greg Kurz
On Fri, 8 Jul 2016 17:59:07 +1000 David Gibson wrote: > On Fri, Jul 08, 2016 at 09:46:47AM +0200, Greg Kurz wrote: > > On Fri, 8 Jul 2016 15:25:33 +1000 > > David Gibson wrote: > > > > > On Thu, Jul 07, 2016 at 06:11:31PM +0200, Greg Kurz wrote: > > > > On Thu, 7 Jul 2016 20:20:23 +0530 >

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-08 Thread Igor Mammedov
On Fri, 8 Jul 2016 17:39:52 +1000 David Gibson wrote: > On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote: > > On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote: > > > On Thu, Jul 07, 2016 at 08:20:23PM +0530, Bharata B Rao wrote: > > > > Conditonally set stable_cpu_id

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-08 Thread David Gibson
On Fri, Jul 08, 2016 at 09:46:47AM +0200, Greg Kurz wrote: > On Fri, 8 Jul 2016 15:25:33 +1000 > David Gibson wrote: > > > On Thu, Jul 07, 2016 at 06:11:31PM +0200, Greg Kurz wrote: > > > On Thu, 7 Jul 2016 20:20:23 +0530 > > > Bharata B Rao wrote: > > > > > > > Conditonally set stable_cpu_i

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-08 Thread Greg Kurz
On Fri, 8 Jul 2016 15:25:33 +1000 David Gibson wrote: > On Thu, Jul 07, 2016 at 06:11:31PM +0200, Greg Kurz wrote: > > On Thu, 7 Jul 2016 20:20:23 +0530 > > Bharata B Rao wrote: > > > > > Conditonally set stable_cpu_id for CPU threads that are created as part > > > of spapr CPU cores. The us

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-08 Thread David Gibson
On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote: > On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote: > > On Thu, Jul 07, 2016 at 08:20:23PM +0530, Bharata B Rao wrote: > > > Conditonally set stable_cpu_id for CPU threads that are created as part > > > of spapr CPU cores. T

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-07 Thread Bharata B Rao
On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote: > On Thu, Jul 07, 2016 at 08:20:23PM +0530, Bharata B Rao wrote: > > Conditonally set stable_cpu_id for CPU threads that are created as part > > of spapr CPU cores. The use of stable_cpu_id is enabled for pseries-2.7 > > onwards. > > >

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-07 Thread David Gibson
On Thu, Jul 07, 2016 at 08:20:23PM +0530, Bharata B Rao wrote: > Conditonally set stable_cpu_id for CPU threads that are created as part > of spapr CPU cores. The use of stable_cpu_id is enabled for pseries-2.7 > onwards. > > Signed-off-by: Bharata B Rao > --- > hw/ppc/spapr_cpu_core.c | 7 +

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-07 Thread David Gibson
On Thu, Jul 07, 2016 at 06:11:31PM +0200, Greg Kurz wrote: > On Thu, 7 Jul 2016 20:20:23 +0530 > Bharata B Rao wrote: > > > Conditonally set stable_cpu_id for CPU threads that are created as part > > of spapr CPU cores. The use of stable_cpu_id is enabled for pseries-2.7 > > onwards. > > > > T

Re: [Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-07 Thread Greg Kurz
On Thu, 7 Jul 2016 20:20:23 +0530 Bharata B Rao wrote: > Conditonally set stable_cpu_id for CPU threads that are created as part > of spapr CPU cores. The use of stable_cpu_id is enabled for pseries-2.7 > onwards. > The last sentence is a bit confusing since the enablement actually happens in

[Qemu-devel] [RFC PATCH v2 3/5] spapr: Set stable_cpu_id for threads of CPU cores

2016-07-07 Thread Bharata B Rao
Conditonally set stable_cpu_id for CPU threads that are created as part of spapr CPU cores. The use of stable_cpu_id is enabled for pseries-2.7 onwards. Signed-off-by: Bharata B Rao --- hw/ppc/spapr_cpu_core.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/hw/ppc/spapr_cpu_core.c b/h