Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1546567

[PATCH v2 0/4] vfio-mdev: Fix remove race, clean namespace and better define ABI

From Alex Williamson <alex.williamson@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/4] vfio-mdev: Fix remove race, clean namespace and better define ABI
Date 2016-12-22 21:30 +0100
Message-ID <sRi9X-5GP-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Cleanup the namespace a bit by prefixing structures with mdev_ and
also more concretely define the mdev interface.  Structs with comments
defining which fields are private vs public tempts poor behavior,
especially for an interface where we expect out of tree vendor drivers.

Additionally in v2, the patch removing the next field from mdev_device
is dropped, instead using it to fix a remove race, my From address is
fixed, and Documentation is updated.  Jike, I left your R-b on the
patches that didn't change only.  If I've missed any relevant doc
updates, please let me know.  Thanks,

Alex

---

Alex Williamson (4):
      vfio-mdev: Fix remove race
      vfio-mdev: de-polute the namespace, rename parent_device & parent_ops
      vfio-mdev: Make mdev_parent private
      vfio-mdev: Make mdev_device private and abstract interfaces


 Documentation/vfio-mediated-device.txt |   27 +++++----
 drivers/gpu/drm/i915/gvt/kvmgt.c       |   22 ++++---
 drivers/vfio/mdev/mdev_core.c          |  100 +++++++++++++++++++++++++++-----
 drivers/vfio/mdev/mdev_private.h       |   29 ++++++++-
 drivers/vfio/mdev/mdev_sysfs.c         |    8 +--
 drivers/vfio/mdev/vfio_mdev.c          |   12 ++--
 include/linux/mdev.h                   |   54 ++++-------------
 samples/vfio-mdev/mtty.c               |   28 +++++----
 8 files changed, 173 insertions(+), 107 deletions(-)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] vfio-mdev: Fix remove race,  clean namespace and better define ABI Alex Williamson <alex.williamson@redhat.com> - 2016-12-22 21:30 +0100
  [PATCH v2 2/4] vfio-mdev: de-polute the namespace,  rename parent_device & parent_ops Alex Williamson <alex.williamson@redhat.com> - 2016-12-22 21:30 +0100
  [PATCH v2 1/4] vfio-mdev: Fix remove race Alex Williamson <alex.williamson@redhat.com> - 2016-12-22 21:30 +0100
    Re: [PATCH v2 1/4] vfio-mdev: Fix remove race Kirti Wankhede <kwankhede@nvidia.com> - 2016-12-25 18:20 +0100
      Re: [PATCH v2 1/4] vfio-mdev: Fix remove race Alex Williamson <alex.williamson@redhat.com> - 2016-12-25 20:50 +0100
        Re: [PATCH v2 1/4] vfio-mdev: Fix remove race Kirti Wankhede <kwankhede@nvidia.com> - 2016-12-26 04:30 +0100
  [PATCH v2 4/4] vfio-mdev: Make mdev_device private and abstract  interfaces Alex Williamson <alex.williamson@redhat.com> - 2016-12-22 21:30 +0100
  [PATCH v2 3/4] vfio-mdev: Make mdev_parent private Alex Williamson <alex.williamson@redhat.com> - 2016-12-22 21:30 +0100
  Re: [PATCH v2 0/4] vfio-mdev: Fix remove race, clean namespace and  better define ABI Kirti Wankhede <kwankhede@nvidia.com> - 2016-12-26 04:40 +0100

csiph-web