Re: [PATCH 1/2] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2017-11-27 Thread Suravee Suthikulpanit
Hi Alex, On 11/18/17 11:20 AM, Alex Williamson wrote: On Fri, 17 Nov 2017 14:51:52 -0700 Alex Williamson wrote: On Fri, 17 Nov 2017 15:11:19 -0600 Suravee Suthikulpanit wrote: From: Suravee

Re: [PATCH 1/2] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2017-11-27 Thread Suravee Suthikulpanit
Hi Alex, On 11/18/17 4:51 AM, Alex Williamson wrote: On Fri, 17 Nov 2017 15:11:19 -0600 Suravee Suthikulpanit wrote: From: Suravee Suthikulpanit VFIO IOMMU type1 currently upmaps IOVA pages synchronously, which requires IOTLB

Re: [PATCH 1/2] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2017-11-17 Thread Alex Williamson
On Fri, 17 Nov 2017 14:51:52 -0700 Alex Williamson wrote: > On Fri, 17 Nov 2017 15:11:19 -0600 > Suravee Suthikulpanit wrote: > > > From: Suravee Suthikulpanit > > > > VFIO IOMMU type1 currently upmaps

Re: [PATCH 1/2] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2017-11-17 Thread Alex Williamson
On Fri, 17 Nov 2017 15:11:19 -0600 Suravee Suthikulpanit wrote: > From: Suravee Suthikulpanit > > VFIO IOMMU type1 currently upmaps IOVA pages synchronously, which requires > IOTLB flushing for every unmapping. This results in large

[PATCH 1/2] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2017-11-17 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit VFIO IOMMU type1 currently upmaps IOVA pages synchronously, which requires IOTLB flushing for every unmapping. This results in large IOTLB flushing overhead when handling pass-through devices with a large number of mapped IOVAs (e.g.