Hi Alex, this series cleans up how iommu group are created in VFIO as well as various other lose ends around that. It sits on top of the "Provide core infrastructure for managing open/release" series from Jason. Changes since v1: - only taint if a noiommu group was successfully created Diffstat: drivers/vfio/fsl-mc/vfio_fsl_mc.c | 17 - drivers/vfio/mdev/mdev_driver.c | 46 ---- drivers/vfio/mdev/vfio_mdev.c | 2 drivers/vfio/pci/vfio_pci.c | 15 - drivers/vfio/platform/vfio_platform_common.c | 13 - drivers/vfio/vfio.c | 305 +++++++++++---------------- drivers/vfio/vfio.h | 52 ++++ drivers/vfio/vfio_iommu_spapr_tce.c | 6 drivers/vfio/vfio_iommu_type1.c | 259 ++++++---------------- include/linux/mdev.h | 20 - include/linux/vfio.h | 53 ---- samples/vfio-mdev/mbochs.c | 2 samples/vfio-mdev/mdpy.c | 2 samples/vfio-mdev/mtty.c | 2 14 files changed, 281 insertions(+), 513 deletions(-)