Re: [PATCH V4 2/7] kvm tools: Generate SPAPR PPC64 guest device tree

2012-01-31 Thread Alexey Kardashevskiy
On 01/02/12 14:39, David Gibson wrote: > On Tue, Jan 31, 2012 at 05:34:37PM +1100, Matt Evans wrote: >> The generated DT is the bare minimum structure required for SPAPR (on which >> subsequent patches for VIO, XICS, PCI etc. will build); root node, cpus, >> memory. >> >> The DT contains CPU-speci

Re: [PATCH V4 2/7] kvm tools: Generate SPAPR PPC64 guest device tree

2012-01-31 Thread David Gibson
On Tue, Jan 31, 2012 at 05:34:37PM +1100, Matt Evans wrote: > The generated DT is the bare minimum structure required for SPAPR (on which > subsequent patches for VIO, XICS, PCI etc. will build); root node, cpus, > memory. > > The DT contains CPU-specific configuration; a very simple 'cpu info' m

Re: [PATCH V4 2/7] kvm tools: Generate SPAPR PPC64 guest device tree

2012-01-31 Thread Matt Evans
On 31 Jan 2012, at 18:59, Pekka Enberg wrote: > On Tue, Jan 31, 2012 at 8:34 AM, Matt Evans wrote: >> +static struct cpu_info cpu_power7_info = { >> + "POWER7", >> + power7_page_sizes_prop, sizeof(power7_page_sizes_prop), >> + power7_segment_sizes_prop, sizeof(power7_segment_si

Re: [PATCH V4 2/7] kvm tools: Generate SPAPR PPC64 guest device tree

2012-01-30 Thread Pekka Enberg
On Tue, Jan 31, 2012 at 8:34 AM, Matt Evans wrote: > +static struct cpu_info cpu_power7_info = { > +       "POWER7", > +       power7_page_sizes_prop, sizeof(power7_page_sizes_prop), > +       power7_segment_sizes_prop, sizeof(power7_segment_sizes_prop), > +       32,             /* SLB size */ >

[PATCH V4 2/7] kvm tools: Generate SPAPR PPC64 guest device tree

2012-01-30 Thread Matt Evans
The generated DT is the bare minimum structure required for SPAPR (on which subsequent patches for VIO, XICS, PCI etc. will build); root node, cpus, memory. The DT contains CPU-specific configuration; a very simple 'cpu info' mechanism is added to recognise/differentiate DT entries for POWER7 and