1. 22 Sep, 2020 1 commit
  2. 21 Sep, 2020 1 commit
    • Yan Zhao's avatar
      vfio: add a singleton check for vfio_group_pin_pages · 7ef32e52
      Yan Zhao authored
      Page pinning is used both to translate and pin device mappings for DMA
      purpose, as well as to indicate to the IOMMU backend to limit the dirty
      page scope to those pages that have been pinned, in the case of an IOMMU
      backed device.
      To support this, the vfio_pin_pages() interface limits itself to only
      singleton groups such that the IOMMU backend can consider dirty page
      scope only at the group level.  Implement the same requirement for the
      vfio_group_pin_pages() interface.
      
      Fixes: 95fc87b4 ("vfio: Selective dirty page tracking if IOMMU backed device pins pages")
      Signed-off-by: default avatarYan Zhao <yan.y.zhao@intel.com>
      Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
      7ef32e52
  3. 20 Sep, 2020 20 commits
  4. 19 Sep, 2020 18 commits