mbox

[0/2] *** support IOMMU for DMA device ***

Message ID 20210901053044.109901-1-xuan.ding@intel.com (mailing list archive)
Headers

Message

Ding, Xuan Sept. 1, 2021, 5:30 a.m. UTC
  This series adds support for DMA device to use vfio.
The first patch is to extend current vfio dma mapping API to
allow partial unmapping for adjacent memory if the
platform does not support partial unmapping.

Xuan Ding (2):
  vfio: allow partially unmapping adjacent memory
  vhost: enable IOMMU for async vhost

 lib/eal/linux/eal_vfio.c | 338 ++++++++++++++++++++++++++-------------
 lib/vhost/vhost_user.c   |  46 +++++-
 2 files changed, 273 insertions(+), 111 deletions(-)