From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YI9ZD-00023b-6b for qemu-devel@nongnu.org; Mon, 02 Feb 2015 00:29:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YI9Z9-0004EU-Uv for qemu-devel@nongnu.org; Mon, 02 Feb 2015 00:28:59 -0500 Date: Mon, 2 Feb 2015 16:29:12 +1100 From: David Gibson Message-ID: <20150202052912.GK28703@voom.fritz.box> References: <1422582799-29384-1-git-send-email-aik@ozlabs.ru> <1422582799-29384-3-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cN0A5YokcrYPGsSB" Content-Disposition: inline In-Reply-To: <1422582799-29384-3-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH v4 2/2] spapr-pci: Enable huge BARs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf --cN0A5YokcrYPGsSB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2015 at 12:53:19PM +1100, Alexey Kardashevskiy wrote: > At the moment sPAPR only supports 512MB window for MMIO BARs. However > modern devices might want bigger 64bit BARs. >=20 > This extends MMIO window from 512MB to 62GB (aligned to > SPAPR_PCI_WINDOW_SPACING) and advertises it in 2 records in > the PHB "ranges" property. 32bit gets the space from > SPAPR_PCI_MEM_WIN_BUS_OFFSET till the end of 4GB, 64bit gets the rest > of the space. If no space is left, 64bit range is not advertised. >=20 > The MMIO space size is set to old value of 0x20000000 by default > for pseries machines older than 2.3. >=20 > The approach changes the device tree which is a guest visible change, how= ever > it won't break migration as: > 1. we do not support migration to older QEMU versions > 2. migration to newer QEMU will migrate the device tree as well and since > the new layout only extends the old one and does not change address mappi= gns, > no breakage is expected here too. >=20 > SLOF change is required to utilize this extension. >=20 > Suggested-by: Benjamin Herrenschmidt > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --cN0A5YokcrYPGsSB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUzwsoAAoJEGw4ysog2bOScbEP/3z07o9+2QjkADviWD8fIQGH FCPW8ZuFiJu3yDQirtYEIe/1Nd+YY5A52vEek3sZT5lZGzvmJUYm5UFXyZUoyf6r 1gBIH2CwJBapuL6ZHQ6UQcYVxzUBUw3Q3NQaJPVx8lqiqhxmgWtjw/1EvwrNU49q EDMxP2rpAHAeGkLS/eStpFAvOl15tB+oOBjEvx6/Qmz+3E9e3dNwznJeEa1YbTFP CfIC4xK3AuN7AAMPCVWJRbyJjTVfNBqflznU0qEKIDigxy/wpEVS5y92wEZ5Uakh RKkU+KD3Vs7g94i5J9NytgE6vpd1TkkvZsv0OHM4l/s7npad6QxjNGqJsTs/nhsm t6k5wVtupnIFa6oM5/jumzz3wbAWXM3826NLsdauRwypCUB5E5+0NVVH+pByIP8c /mFnlq8rGkS7kHPmgudGIMXh5qiKXorNZm1KPywkphEtlbS2aOYts5PH7VaHk/4Q /24Z0OvZvMTdWrGjn09A3wOAcz/d8iT9bHOrLxfxNbPFqjqJIPwhBV2A11kIIeF/ OgWOg9K3Umu+zlpAF75DHjm2jjfLBDatvpgZBYsI33FNsDFoG9YuSrDSBTDppmXL z1HBYAN6VVQCoeNEOnSF2R1vrgpfsdnYgQ0y05Zm5gJceVeWFBgp4cJSMMHvGYif XjPl+dC3pOMQSlqNObIB =sTPr -----END PGP SIGNATURE----- --cN0A5YokcrYPGsSB--