vfio-mdev: Fix remove race, clean namespace and better define ABI
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 4 repliesIn review
- v14 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vfio-mdev: Fix remove racedrivers/ | +34 | 3 replies | |
| 2/4 | vfio-mdev: de-polute the namespace, rename parent_device & parent_opsDocumentation/ drivers/ drivers/ +5 more | +49 | 0 replies | |
| 3/4 | vfio-mdev: Make mdev_parent privateDocumentation/ drivers/ drivers/ +3 more | +23 | 0 replies | |
| 4/4 | vfio-mdev: Make mdev_device private and abstract interfacesdrivers/ drivers/ drivers/ +2 more | +71 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Jike Song |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] vfio-mdev: Fix remove race, clean namespace and better define ABI
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(-)