From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
Alex Williamson <alex.williamson@redhat.com>,
qemu-ppc@nongnu.org, David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PATCH qemu 0/5] vfio: SPAPR IOMMU v2 (memory preregistration support)
Date: Fri, 10 Jul 2015 20:43:43 +1000 [thread overview]
Message-ID: <1436525028-23963-1-git-send-email-aik@ozlabs.ru> (raw)
Here are few patches to prepare an existing listener for handling memory
preregistration for SPAPR guests running on POWER8.
This used to be a part of DDW patchset but now is separated as requested.
I left versions in changelog of 5/5 for convenience.
Regarding 1/5, there is a question - in reality DMA windows are always
a lot bigger than a single 4K page and aligned to 32/64MB, may be only
use there qemu_real_host_page_mask?
Please comment. Thanks!
Alexey Kardashevskiy (5):
vfio: Switch from TARGET_PAGE_MASK to qemu_real_host_page_mask
vfio: Skip PCI BARs in memory listener
vfio: Store IOMMU type in container
vfio: Refactor memory listener to accommodate more IOMMU types
vfio: spapr: Add SPAPR IOMMU v2 support (DMA memory preregistering)
hw/vfio/common.c | 164 ++++++++++++++++++++++++++++--------------
hw/vfio/pci.c | 30 ++++----
include/hw/vfio/vfio-common.h | 1 +
trace-events | 2 +
4 files changed, 129 insertions(+), 68 deletions(-)
--
2.4.0.rc3.8.gfb3e7d5
next reply other threads:[~2015-07-10 10:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-10 10:43 Alexey Kardashevskiy [this message]
2015-07-10 10:43 ` [Qemu-devel] [PATCH qemu 1/5] vfio: Switch from TARGET_PAGE_MASK to qemu_real_host_page_mask Alexey Kardashevskiy
2015-07-13 6:15 ` David Gibson
2015-07-13 7:24 ` Alexey Kardashevskiy
2015-07-14 3:46 ` David Gibson
2015-07-13 20:32 ` Peter Crosthwaite
2015-07-14 7:08 ` Alexey Kardashevskiy
2015-07-10 10:43 ` [Qemu-devel] [PATCH qemu 2/5] vfio: Skip PCI BARs in memory listener Alexey Kardashevskiy
2015-07-13 17:08 ` Alex Williamson
2015-07-10 10:43 ` [Qemu-devel] [PATCH qemu 3/5] vfio: Store IOMMU type in container Alexey Kardashevskiy
2015-07-10 10:43 ` [Qemu-devel] [PATCH qemu 4/5] vfio: Refactor memory listener to accommodate more IOMMU types Alexey Kardashevskiy
2015-07-10 10:43 ` [Qemu-devel] [PATCH qemu 5/5] vfio: spapr: Add SPAPR IOMMU v2 support (DMA memory preregistering) Alexey Kardashevskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436525028-23963-1-git-send-email-aik@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=alex.williamson@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).