• Linus Torvalds's avatar
    Merge tag 'vfio-v6.2-rc1' of https://github.com/awilliam/linux-vfio · 785d21ba
    Linus Torvalds authored
    Pull VFIO updates from Alex Williamson:
    
     - Replace deprecated git://github.com link in MAINTAINERS (Palmer
       Dabbelt)
    
     - Simplify vfio/mlx5 with module_pci_driver() helper (Shang XiaoJing)
    
     - Drop unnecessary buffer from ACPI call (Rafael Mendonca)
    
     - Correct latent missing include issue in iova-bitmap and fix support
       for unaligned bitmaps. Follow-up with better fix through refactor
       (Joao Martins)
    
     - Rework ccw mdev driver to split private data from parent structure,
       better aligning with the mdev lifecycle and allowing us to remove a
       temporary workaround (Eric Farman)
    
     - Add an interface to get an estimated migration data size for a
       device, allowing userspace to make informed decisions, ex. more
       accurately predicting VM downtime (Yishai Hadas)
    
     - Fix minor typo in vfio/mlx5 array declaration (Yishai Hadas)
    
     - Simplify module and Kconfig through consolidating SPAPR/EEH code and
       config options and folding virqfd module into main vfio module (Jason
       Gunthorpe)
    
     - Fix error path from device_register() across all vfio mdev and sample
       drivers (Alex Williamson)
    
     - Define migration pre-copy interface and implement for vfio/mlx5
       devices, allowing portions of the device state to be saved while the
       device continues operation, towards reducing the stop-copy state size
       (Jason Gunthorpe, Yishai Hadas, Shay Drory)
    
     - Implement pre-copy for hisi_acc devices (Shameer Kolothum)
    
     - Fixes to mdpy mdev driver remove path and error path on probe (Shang
       XiaoJing)
    
     - vfio/mlx5 fixes for incorrect return after copy_to_user() fault and
       incorrect buffer freeing (Dan Carpenter)
    
    * tag 'vfio-v6.2-rc1' of https://github.com/awilliam/linux-vfio: (42 commits)
      vfio/mlx5: error pointer dereference in error handling
      vfio/mlx5: fix error code in mlx5vf_precopy_ioctl()
      samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
      hisi_acc_vfio_pci: Enable PRE_COPY flag
      hisi_acc_vfio_pci: Move the dev compatibility tests for early check
      hisi_acc_vfio_pci: Introduce support for PRE_COPY state transitions
      hisi_acc_vfio_pci: Add support for precopy IOCTL
      vfio/mlx5: Enable MIGRATION_PRE_COPY flag
      vfio/mlx5: Fallback to STOP_COPY upon specific PRE_COPY error
      vfio/mlx5: Introduce multiple loads
      vfio/mlx5: Consider temporary end of stream as part of PRE_COPY
      vfio/mlx5: Introduce vfio precopy ioctl implementation
      vfio/mlx5: Introduce SW headers for migration states
      vfio/mlx5: Introduce device transitions of PRE_COPY
      vfio/mlx5: Refactor to use queue based data chunks
      vfio/mlx5: Refactor migration file state
      vfio/mlx5: Refactor MKEY usage
      vfio/mlx5: Refactor PD usage
      vfio/mlx5: Enforce a single SAVE command at a time
      vfio: Extend the device migration protocol with PRE_COPY
      ...
    785d21ba
vfio.h 7.15 KB