Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Alexander Graf
On 01.11.2013, at 11:21, Alexey Kardashevskiy a...@ozlabs.ru wrote: SLOF gets really confused if RTAS/device-tree and everything else what SLOF can use is not in the very first block of the very first memory node. This makes sure that the RMA area is where SLOF expects it to be. Cc:

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Benjamin Herrenschmidt
On Mon, 2013-11-04 at 11:44 +0100, Alexander Graf wrote: On 01.11.2013, at 11:21, Alexey Kardashevskiy a...@ozlabs.ru wrote: SLOF gets really confused if RTAS/device-tree and everything else what SLOF can use is not in the very first block of the very first memory node. This makes

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Alexander Graf
On 04.11.2013, at 11:55, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2013-11-04 at 11:44 +0100, Alexander Graf wrote: On 01.11.2013, at 11:21, Alexey Kardashevskiy a...@ozlabs.ru wrote: SLOF gets really confused if RTAS/device-tree and everything else what SLOF can use

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Thomas Huth
On Mon, 4 Nov 2013 12:28:12 +0100 Alexander Graf ag...@suse.de wrote: On 04.11.2013, at 11:55, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2013-11-04 at 11:44 +0100, Alexander Graf wrote: On 01.11.2013, at 11:21, Alexey Kardashevskiy a...@ozlabs.ru wrote: SLOF

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Alexey Kardashevskiy
On 11/04/2013 10:50 PM, Thomas Huth wrote: On Mon, 4 Nov 2013 12:28:12 +0100 Alexander Graf ag...@suse.de wrote: On 04.11.2013, at 11:55, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2013-11-04 at 11:44 +0100, Alexander Graf wrote: On 01.11.2013, at 11:21, Alexey

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Peter Maydell
On 4 November 2013 13:11, Alexey Kardashevskiy a...@ozlabs.ru wrote: PAPR says in Hypervisor Call Functions: Logical addresses start at zero. When control is initially passed to the OS from the platform, the first region is the single RMA. The first region has logical region identifier of

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Alexey Kardashevskiy
On 11/05/2013 12:19 AM, Peter Maydell wrote: On 4 November 2013 13:11, Alexey Kardashevskiy a...@ozlabs.ru wrote: PAPR says in Hypervisor Call Functions: Logical addresses start at zero. When control is initially passed to the OS from the platform, the first region is the single RMA. The

Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-04 Thread Benjamin Herrenschmidt
On Tue, 2013-11-05 at 00:11 +1100, Alexey Kardashevskiy wrote: Question about english - is the single RMA equal to the only RMA? Yes. Ben.