Skip to content

Tags: web-logs2/linux-vfio

Tags

vfio-v6.6-rc1

Toggle vfio-v6.6-rc1's commit message
VFIO updates for v6.6-rc1

 - VFIO direct character device (cdev) interface support.  This extracts
   the vfio device fd from the container and group model, and is intended
   to be the native uAPI for use with IOMMUFD. (Yi Liu)

 - Enhancements to the PCI hot reset interface in support of cdev usage.
   (Yi Liu)

 - Fix a potential race between registering and unregistering vfio files
   in the kvm-vfio interface and extend use of a lock to avoid extra
   drop and acquires. (Dmitry Torokhov)

 - A new vfio-pci variant driver for the AMD/Pensando Distributed Services
   Card (PDS) Ethernet device, supporting live migration. (Brett Creeley)

 - Cleanups to remove redundant owner setup in cdx and fsl bus drivers,
   and simplify driver init/exit in fsl code. (Li Zetao)

 - Fix uninitialized hole in data structure and pad capability structures
   for alignment. (Stefan Hajnoczi)

vfio-v6.5-rc1

Toggle vfio-v6.5-rc1's commit message
VFIO updates for v6.5-rc1

 - Adjust log levels for common messages. (Oleksandr Natalenko,
   Alex Williamson)

 - Support for dynamic MSI-X allocation. (Reinette Chatre)

 - Enable and report PCIe AtomicOp Completer capabilities.
   (Alex Williamson)

 - Cleanup Kconfigs for vfio bus drivers. (Alex Williamson)

 - Add support for CDX bus based devices. (Nipun Gupta)

 - Fix race with concurrent mdev initialization. (Eric Farman)

vfio-v6.4-rc4

Toggle vfio-v6.4-rc4's commit message
VFIO fix for v6.4-rc4

 - Test for and return error for invalid pfns through the pin pages
   interface. (Yan Zhao)

vfio-v6.4-rc1

Toggle vfio-v6.4-rc1's commit message
VFIO updates for v6.4-rc1

 - Expose and allow R/W access to the PCIe DVSEC capability through
   vfio-pci, as we already do with the legacy vendor capability.
   (K V P Satyanarayana)

 - Fix kernel-doc issues with structure definitions. (Simon Horman)

 - Clarify ordering of operations relative to the kvm-vfio device for
   driver dependencies against the kvm pointer. (Yi Liu)

vfio-v6.3-rc4

Toggle vfio-v6.3-rc4's commit message
VFIO fixes for v6.3-rc4

 - Fix dirty size reporting for pre-copy in mlx5 variant driver (Yishai Hadas)

vfio-v6.3-rc1

Toggle vfio-v6.3-rc1's commit message
VFIO updates for v6.3-rc1

 - Remove redundant resource check in vfio-platform. (Angus Chen)

 - Use GFP_KERNEL_ACCOUNT for persistent userspace allocations, allowing
   removal of arbitrary kernel limits in favor of cgroup control.
   (Yishai Hadas)

 - mdev tidy-ups, including removing the module-only build restriction
   for sample drivers, Kconfig changes to select mdev support,
   documentation movement to keep sample driver usage instructions with
   sample drivers rather than with API docs, remove references to
   out-of-tree drivers in docs. (Christoph Hellwig)

 - Fix collateral breakages from mdev Kconfig changes. (Arnd Bergmann)

 - Make mlx5 migration support match device support, improve source
   and target flows to improve pre-copy support and reduce downtime.
   (Yishai Hadas)

 - Convert additional mdev sysfs case to use sysfs_emit(). (Bo Liu)

 - Resolve copy-paste error in mdev mbochs sample driver Kconfig.
   (Ye Xingchen)

 - Avoid propagating missing reset error in vfio-platform if reset
   requirement is relaxed by module option. (Tomasz Duszynski)

 - Range size fixes in mlx5 variant driver for missed last byte and
   stricter range calculation. (Yishai Hadas)

 - Fixes to suspended vaddr support and locked_vm accounting, excluding
   mdev configurations from the former due to potential to indefinitely
   block kernel threads, fix underflow and restore locked_vm on new mm.
   (Steve Sistare)

 - Update outdated vfio documentation due to new IOMMUFD interfaces in
   recent kernels. (Yi Liu)

 - Resolve deadlock between group_lock and kvm_lock, finally.
   (Matthew Rosato)

 - Fix NULL pointer in group initialization error path with IOMMUFD.
   (Yan Zhao)

vfio-v6.2-rc6

Toggle vfio-v6.2-rc6's commit message
VFIO fixes for v6.2-rc6

 - Honor reserved regions when testing for IOMMU find grained super
   page support, avoiding a regression on s390 for a firmware device
   where the existence of the mapping, even if unused can trigger
   an error state. (Niklas Schnelle)

 - Fix a deadlock in releasing KVM references by using the alternate
   .release() rather than .destroy() callback for the kvm-vfio device.
   (Yi Liu)

vfio-v6.2-rc1

Toggle vfio-v6.2-rc1's commit message
VFIO updates for v6.2-rc1

 - 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)

vfio-v6.1-rc6

Toggle vfio-v6.1-rc6's commit message
VFIO fixes for v6.1-rc6

 - Fixes for potential container registration leak for drivers not
   implementing a close callback, duplicate container de-registrations,
   and a regression in support for bus reset on last device close from
   a device set. (Anthony DeRossi)

vfio-v6.1-rc1

Toggle vfio-v6.1-rc1's commit message
VFIO updates for v6.1-rc1

 - Prune private items from vfio_pci_core.h to a new internal header,
   fix missed function rename, and refactor vfio-pci interrupt defines.
   (Jason Gunthorpe)

 - Create consistent naming and handling of ioctls with a function per
   ioctl for vfio-pci and vfio group handling, use proper type args
   where available. (Jason Gunthorpe)

 - Implement a set of low power device feature ioctls allowing userspace
   to make use of power states such as D3cold where supported.
   (Abhishek Sahu)

 - Remove device counter on vfio groups, which had restricted the page
   pinning interface to singleton groups to account for limitations in
   the type1 IOMMU backend.  Document usage as limited to emulated IOMMU
   devices, ie. traditional mdev devices where this restriction is
   consistent.  (Jason Gunthorpe)

 - Correct function prefix in hisi_acc driver incurred during previous
   refactoring. (Shameer Kolothum)

 - Correct typo and remove redundant warning triggers in vfio-fsl driver.
   (Christophe JAILLET)

 - Introduce device level DMA dirty tracking uAPI and implementation in
   the mlx5 variant driver (Yishai Hadas & Joao Martins)

 - Move much of the vfio_device life cycle management into vfio core,
   simplifying and avoiding duplication across drivers.  This also
   facilitates adding a struct device to vfio_device which begins the
   introduction of device rather than group level user support and fills
   a gap allowing userspace identify devices as vfio capable without
   implicit knowledge of the driver. (Kevin Tian & Yi Liu)

 - Split vfio container handling to a separate file, creating a more
   well defined API between the core and container code, masking IOMMU
   backend implementation from the core, allowing for an easier future
   transition to an iommufd based implementation of the same.
   (Jason Gunthorpe)

 - Attempt to resolve race accessing the iommu_group for a device
   between vfio releasing DMA ownership and removal of the device from
   the IOMMU driver.  Follow-up with support to allow vfio_group to
   exist with NULL iommu_group pointer to support existing userspace
   use cases of holding the group file open.  (Jason Gunthorpe)

 - Fix error code and hi/lo register manipulation issues in the hisi_acc
   variant driver, along with various code cleanups. (Longfang Liu)

 - Fix a prior regression in GVT-g group teardown, resulting in
   unreleased resources. (Jason Gunthorpe)

 - A significant cleanup and simplification of the mdev interface,
   consolidating much of the open coded per driver sysfs interface
   support into the mdev core. (Christoph Hellwig)

 - Simplification of tracking and locking around vfio_groups that
   fall out from previous refactoring. (Jason Gunthorpe)

 - Replace trivial open coded f_ops tests with new helper.
   (Alex Williamson)