RE: cleanup vfio iommu_group creation v4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Christoph Hellwig <hch@xxxxxx>
> Sent: Thursday, August 26, 2021 9:34 PM
> 
> 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
> 
>     "Introduce vfio_pci_core subsystem"
> 
> series from Yishai
> 
> Changes since v3:
>  - restore the attribution to Jason for patch 1, which git-rebase lost
>  - fix a vfio vs iommu group counting issue that I added over Jasons
>    original patch
>  - add comments describing the VFIO_EMULATED_IOMMU and
> VFIO_NO_IOMMU
>    flags
>  - use the emulated iommu naming consistently in comments
>  - a spelling fix
> 
> Changes since v2:
>  - cosmetic changes to the code flow in vfio_group_find_or_alloc
>  - replace "mediated" with "emulated iommu"
>  - add a comment describing vfio_register_emulated_iommu_dev
>  - rebased on top of the "Introduce vfio_pci_core subsystem" series
> 
> 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_core.c             |   13 -
>  drivers/vfio/platform/vfio_platform_common.c |   13 -
>  drivers/vfio/vfio.c                          |  306 ++++++++++++---------------
>  drivers/vfio/vfio.h                          |   63 +++++
>  drivers/vfio/vfio_iommu_spapr_tce.c          |    6
>  drivers/vfio/vfio_iommu_type1.c              |  255 ++++++----------------
>  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, 292 insertions(+), 508 deletions(-)
We verified the Intel KVMGT feature, no regression be introduced by these patch series.
Tested-by: Terrence Xu <terrence.xu@xxxxxxxxx>

Thanks
Terrence




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux