Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-31 Thread Nikunj A Dadhania
Alexey Kardashevskiy writes: > On 03/31/2015 04:15 PM, Nikunj A Dadhania wrote: >> David Gibson writes: >> >>> On Tue, Mar 31, 2015 at 01:00:57PM +1100, Alexey Kardashevskiy wrote: On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: > Each hardware instance has a platform unique location c

Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-31 Thread Alexey Kardashevskiy
On 03/31/2015 04:15 PM, Nikunj A Dadhania wrote: David Gibson writes: On Tue, Mar 31, 2015 at 01:00:57PM +1100, Alexey Kardashevskiy wrote: On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: Each hardware instance has a platform unique location code. The OF device tree that describes a part o

Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-30 Thread Nikunj A Dadhania
David Gibson writes: > On Tue, Mar 31, 2015 at 01:00:57PM +1100, Alexey Kardashevskiy wrote: >> On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: >> >Each hardware instance has a platform unique location code. The OF >> >device tree that describes a part of a hardware entity must include >> >the

Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-30 Thread David Gibson
On Tue, Mar 31, 2015 at 01:00:57PM +1100, Alexey Kardashevskiy wrote: > On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: > >Each hardware instance has a platform unique location code. The OF > >device tree that describes a part of a hardware entity must include > >the “ibm,loc-code” property with

Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-30 Thread Alexey Kardashevskiy
On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: Each hardware instance has a platform unique location code. The OF device tree that describes a part of a hardware entity must include the “ibm,loc-code” property with a value that represents the location code for that hardware entity. Introduce

[Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-30 Thread Nikunj A Dadhania
Each hardware instance has a platform unique location code. The OF device tree that describes a part of a hardware entity must include the “ibm,loc-code” property with a value that represents the location code for that hardware entity. Introduce an rtas call to populate ibm,loc-code. 1) PCI passt