qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: qemu-devel@nongnu.org
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
	qemu-ppc@nongnu.org, Alex Williamson <alex.williamson@redhat.com>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PATCH qemu v7 0/4] vfio-pci: Allow mmap of MSIX BAR
Date: Fri,  9 Feb 2018 18:54:59 +1100	[thread overview]
Message-ID: <20180209075503.16996-1-aik@ozlabs.ru> (raw)

Here is my latest patchset to allow mapping of MSIX BAR to the guest
in order to accelerate MMIO on certains devices.

This is based on sha1
008a51b Peter Maydell "Merge remote-tracking branch 'remotes/famz/tags/staging-pull-request' into staging".

Please comment. Thanks.

Changes:
v7:
* split into many patches
* test iova/llsize against pgmask in vfio_listener_region_add/del
* s/vfio_is_cap_present/vfio_has_region_cap/
* added comments here and there
* s/vdev->msix->table_bar/region->nr/


Alexey Kardashevskiy (4):
  linux-headers: update to f1517df8701c
  vfio/pci: Relax DMA map errors for MMIO regions
  vfio-pci: Allow mmap of MSIX BAR
  ppc/spapr, vfio: Turn off MSIX emulation for VFIO devices

 include/hw/vfio/vfio-common.h                      |   1 +
 include/standard-headers/linux/input-event-codes.h |   1 +
 include/standard-headers/linux/input.h             |  11 +
 include/standard-headers/linux/pci_regs.h          |  30 +-
 include/standard-headers/linux/virtio_balloon.h    |   3 +-
 include/standard-headers/linux/virtio_net.h        |  13 +
 linux-headers/asm-powerpc/unistd.h                 |   3 +
 linux-headers/asm-s390/unistd.h                    | 401 +--------------------
 linux-headers/linux/psci.h                         |   3 +
 linux-headers/linux/vfio.h                         |  72 ++++
 hw/ppc/spapr.c                                     |   7 +
 hw/vfio/common.c                                   |  70 +++-
 hw/vfio/pci.c                                      |  22 ++
 13 files changed, 220 insertions(+), 417 deletions(-)

-- 
2.11.0

             reply	other threads:[~2018-02-09  7:55 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09  7:54 Alexey Kardashevskiy [this message]
2018-02-09  7:55 ` [Qemu-devel] [PATCH qemu v7 1/4] linux-headers: update to f1517df8701c Alexey Kardashevskiy
2018-02-10  7:34   ` David Gibson
2018-02-09  7:55 ` [Qemu-devel] [PATCH qemu v7 2/4] vfio/pci: Relax DMA map errors for MMIO regions Alexey Kardashevskiy
2018-02-12  5:19   ` David Gibson
2018-02-12  7:05     ` Alexey Kardashevskiy
2018-02-12 16:06       ` Alex Williamson
2018-02-13  1:15         ` Alexey Kardashevskiy
2018-02-13  5:36           ` David Gibson
2018-02-13  5:41             ` David Gibson
2018-02-13  8:20               ` Alexey Kardashevskiy
2018-02-14  1:33                 ` David Gibson
2018-02-14  8:09                   ` Alexey Kardashevskiy
2018-02-14 15:55                     ` Alex Williamson
2018-02-16  5:28                       ` David Gibson
2018-02-19  2:46                         ` Alexey Kardashevskiy
2018-02-26  8:36                           ` Alexey Kardashevskiy
2018-03-07  2:17                             ` Alexey Kardashevskiy
2018-03-13  4:53                               ` Alexey Kardashevskiy
2018-03-13 16:56                                 ` Alex Williamson
2018-03-13 17:13                                   ` Auger Eric
2018-03-13 19:17                                     ` Eric Blake
2018-03-14  2:40                                   ` Alexey Kardashevskiy
2018-03-15  2:36                                     ` Alex Williamson
2018-03-19 20:49   ` Auger Eric
2018-03-21 15:29     ` Alex Williamson
2018-03-22  7:45       ` Alexey Kardashevskiy
2018-03-22  7:48         ` Auger Eric
2018-02-09  7:55 ` [Qemu-devel] [PATCH qemu v7 3/4] vfio-pci: Allow mmap of MSIX BAR Alexey Kardashevskiy
2018-02-13  5:39   ` David Gibson
2018-02-09  7:55 ` [Qemu-devel] [PATCH qemu v7 4/4] ppc/spapr, vfio: Turn off MSIX emulation for VFIO devices Alexey Kardashevskiy
2018-02-13  5:43   ` David Gibson
2018-02-09  8:04 ` [Qemu-devel] [PATCH qemu v7 0/4] vfio-pci: Allow mmap of MSIX BAR no-reply
2018-02-09  8:05 ` no-reply

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=20180209075503.16996-1-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).