From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdKJo-0000yd-CT for qemu-devel@nongnu.org; Mon, 04 Nov 2013 08:35:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdKJg-0004KU-Ip for qemu-devel@nongnu.org; Mon, 04 Nov 2013 08:35:48 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:39065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdKJg-0004KH-5B for qemu-devel@nongnu.org; Mon, 04 Nov 2013 08:35:40 -0500 Received: by mail-pa0-f54.google.com with SMTP id fa1so6978490pad.27 for ; Mon, 04 Nov 2013 05:35:39 -0800 (PST) Message-ID: <5277A290.1050300@ozlabs.ru> Date: Tue, 05 Nov 2013 00:35:12 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1383301276-29566-1-git-send-email-aik@ozlabs.ru> <00DBC3F8-D221-4E59-B0D0-38E1A4C015CC@suse.de> <1383562538.4776.52.camel@pasglop> <777B6924-952E-4E09-B36C-9C36FC35252C@suse.de> <20131104125004.666e84b7@oc7435384737.ibm.com> <52779CFE.7080606@ozlabs.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , "list@suse.de:PReP" , Thomas Huth , Nikunj A Dadhania , Alexander Graf On 11/05/2013 12:19 AM, Peter Maydell wrote: > On 4 November 2013 13:11, Alexey Kardashevskiy 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 zero. This >> first region is specified by the first address - >> length pair of the “reg” property of the /memory node of the OF device tree." >> >> >> Question about english - is "the single RMA" equal to "the only RMA"? > > No. "the single RMA" is weird English and to me implies > that it's a term that's been defined earlier or at least > that there is some surrounding context that would make it > make more sense (eg some contrasting definition of > "single RMA" vs "double RMA"). Oh. Some more context then: "14.1.1 Real Mode Accesses When the OS controlling an LPAR runs with address translation turned off (MSRDR or MSRIR bit(s) =0) (real mode) the LPAR hardware translates the memory addresses to an LPAR unique area known as the Real Mode Area (RMA). When control is initially passed to the OS from the platform, the RMA starts at the LPAR's logical address 0 and is the first logical memory block reported in the LPAR’s device tree. In general, the RMA is a subset of the LPAR's logical address space. Attempting a non relocated access beyond the bounds of the RMA results in an storage interrupt (ISI/DSI depending upon instruction or data reference). The RMA hardware translation scheme is platform dependent. The options are given below." -- Alexey