lkml.org 
[lkml]   [2013]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/2] vfio: type1 iommu hugepage support
From
Date
This series let's the vfio type1 iommu backend take advantage of iommu
large page support. See patch 2/2 for the details. This has been
tested on both amd_iommu and intel_iommu, but only my AMD system has
large page support. I'd appreciate any testing and feedback on other
systems, particularly vt-d systems supporting large pages. Mapping
efficiency should be improved a bit without iommu hugepages, but I
hope that it's much more noticeable with huge pages, especially for
very large QEMU guests.

This change includes a clarification to the mapping expectations for
users of the type1 iommu, but is compatible with known users and works
with existing QEMU userspace supporting vfio. Thanks,

Alex

---

Alex Williamson (2):
vfio: Convert type1 iommu to use rbtree
vfio: hugepage support for vfio_iommu_type1


drivers/vfio/vfio_iommu_type1.c | 607 ++++++++++++++++++++++++---------------
include/uapi/linux/vfio.h | 8 -
2 files changed, 387 insertions(+), 228 deletions(-)


\
 
 \ /
  Last update: 2013-05-24 20:01    [W:0.078 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site