Re: [Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-04 Thread David Gibson
On Mon, Jul 04, 2016 at 09:37:47AM +0200, Igor Mammedov wrote: > On Mon, 4 Jul 2016 13:54:55 +1000 > David Gibson wrote: > > > On Sat, Jul 02, 2016 at 10:33:33AM +0200, Greg Kurz wrote: > > > On Sat, 2 Jul 2016 13:36:22 +0530 > > > Bharata B Rao

Re: [Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-04 Thread Igor Mammedov
On Mon, 4 Jul 2016 13:54:55 +1000 David Gibson wrote: > On Sat, Jul 02, 2016 at 10:33:33AM +0200, Greg Kurz wrote: > > On Sat, 2 Jul 2016 13:36:22 +0530 > > Bharata B Rao wrote: > > > > > On Sat, Jul 02, 2016 at 12:41:48AM +0200, Greg

Re: [Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-04 Thread Greg Kurz
On Mon, 4 Jul 2016 13:54:55 +1000 David Gibson wrote: > On Sat, Jul 02, 2016 at 10:33:33AM +0200, Greg Kurz wrote: > > On Sat, 2 Jul 2016 13:36:22 +0530 > > Bharata B Rao wrote: > > > > > On Sat, Jul 02, 2016 at 12:41:48AM +0200, Greg

Re: [Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-03 Thread David Gibson
On Sat, Jul 02, 2016 at 10:33:33AM +0200, Greg Kurz wrote: > On Sat, 2 Jul 2016 13:36:22 +0530 > Bharata B Rao wrote: > > > On Sat, Jul 02, 2016 at 12:41:48AM +0200, Greg Kurz wrote: > > > If we want to generate cpu_dt_id in the machine code, this must occur > > >

Re: [Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-02 Thread Greg Kurz
On Sat, 2 Jul 2016 13:36:22 +0530 Bharata B Rao wrote: > On Sat, Jul 02, 2016 at 12:41:48AM +0200, Greg Kurz wrote: > > If we want to generate cpu_dt_id in the machine code, this must occur > > before the cpu gets realized. We must open code the cpu creation to be > >

Re: [Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-02 Thread Bharata B Rao
On Sat, Jul 02, 2016 at 12:41:48AM +0200, Greg Kurz wrote: > If we want to generate cpu_dt_id in the machine code, this must occur > before the cpu gets realized. We must open code the cpu creation to be > able to do this. > > This patch just does that. It borrows some lines from previous work >

[Qemu-devel] [PATCH v2 4/7] ppc: open code cpu creation for machine types

2016-07-01 Thread Greg Kurz
If we want to generate cpu_dt_id in the machine code, this must occur before the cpu gets realized. We must open code the cpu creation to be able to do this. This patch just does that. It borrows some lines from previous work from Bharata to handle the feature parsing. Signed-off-by: Greg Kurz