From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKIKu-00068Q-0T for qemu-devel@nongnu.org; Tue, 05 Jul 2016 00:51:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKIKq-0007DO-30 for qemu-devel@nongnu.org; Tue, 05 Jul 2016 00:51:51 -0400 Date: Tue, 5 Jul 2016 14:53:30 +1000 From: David Gibson Message-ID: <20160705045330.GD2251@voom.fritz.box> References: <1467603187-7446-1-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+KJYzRxRHjYqLGl5" Content-Disposition: inline In-Reply-To: <1467603187-7446-1-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu v19 0/5] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Alex Williamson --+KJYzRxRHjYqLGl5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 04, 2016 at 01:33:02PM +1000, Alexey Kardashevskiy wrote: > Each Partitionable Endpoint (IOMMU group) has an address range on a PCI b= us > where devices are allowed to do DMA. These ranges are called DMA windows. > By default, there is a single DMA window, 1 or 2GB big, mapped at zero > on a PCI bus. >=20 > PAPR defines a DDW RTAS API which allows pseries guests > querying the hypervisor about DDW support and capabilities (page size mask > for now). A pseries guest may request an additional (to the default) > DMA windows using this RTAS API. > The existing pseries Linux guests request an additional window as big as > the guest RAM and map the entire guest window which effectively creates > direct mapping of the guest memory to a PCI bus. >=20 > This patchset reworks PPC64 IOMMU code and adds necessary structures > to support big windows on pseries. >=20 > This patchset is based on today's upstream sha1 9a48e36 and was tested > with the today's upstream kernel sha1 0b295dd. >=20 > Please comment. Thanks! I've merged these to ppc-for-2.7. I had to fix several compile errors. In future please test compiling for all targets on both 64-bit and 32-bit hosts. --=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 --+KJYzRxRHjYqLGl5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXez1KAAoJEGw4ysog2bOSfTUP/3BPTfJ5/c6hRVNA+ltW5b3F //9F8YphtcSJOFQbb1ECQioS/dOFfjY0F4vh0AtyAbHpLr1MwLrJSpqnyaqpnc7P J8shxZBjzOmI6DZ1r5nyToNBSMyneUAspTmuEBietIc9bqNdptV9CK379UBUydsC AQj36qdnvIjpOymBsFUlZg+hnkryFBhpstRVCbR/goSJI9sFHs3FS/GpMsm0GB9T N89gq2Cd3PA0ABo/xeSus7/LhZyfWA5dSiqqPlQMWESxAc6UdWZz+VdPIn028rLD cFsHM6lRhHJR6Nq/iptY+g1O3UUkpDVZ8CISFidzdJMcIlz67m8lJA0NfPue/vFE PVELv7LNc5eg7DOBd2E/o10w23UJKEfggPLlHwINnXtGdRGbwUrOu1Wz7HdKo2yA blXBbsCLk0FwW4ugR9sYCgBNpVWHLSkGEeW75dlWaqzgG6Fs06Mc41XIqdD0qZtT oJieyLsDsWyHo4jt783frj+VrxudXc+CEQcD470Q8aaGcJuMbo4e+LBgfk9GfEgH RGHQ+za4g2uznCV9WXZlvQ4KMyap6meq1A+HT9uZrIN+vJGeqIc03vAuZIXrVfOa y0QzG6aL5HsMi8VNR48nQu5M/ZvrjGERmj+cdssL8MoLq0RfnAg/FvwJYc3uv0eI i4MRn8k6fVush8zgm+JE =trM0 -----END PGP SIGNATURE----- --+KJYzRxRHjYqLGl5--