Re: [Qemu-devel] [PATCH qemu v17 07/12] vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)

2016-06-06 Thread Alexey Kardashevskiy
On 07/06/16 03:20, Alex Williamson wrote: > On Mon, 6 Jun 2016 16:04:57 +1000 > Alexey Kardashevskiy wrote: > >> On 04/06/16 02:13, Alex Williamson wrote: >>> On Wed, 1 Jun 2016 18:57:38 +1000 >>> Alexey Kardashevskiy wrote: >>> This makes use of the new "memory registering" feature. Th

Re: [Qemu-devel] [PATCH qemu v17 07/12] vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)

2016-06-06 Thread Alex Williamson
On Mon, 6 Jun 2016 16:04:57 +1000 Alexey Kardashevskiy wrote: > On 04/06/16 02:13, Alex Williamson wrote: > > On Wed, 1 Jun 2016 18:57:38 +1000 > > Alexey Kardashevskiy wrote: > > > >> This makes use of the new "memory registering" feature. The idea is > >> to provide the userspace ability t

Re: [Qemu-devel] [PATCH qemu v17 07/12] vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)

2016-06-05 Thread Alexey Kardashevskiy
On 04/06/16 02:13, Alex Williamson wrote: > On Wed, 1 Jun 2016 18:57:38 +1000 > Alexey Kardashevskiy wrote: > >> This makes use of the new "memory registering" feature. The idea is >> to provide the userspace ability to notify the host kernel about pages >> which are going to be used for DMA. Ha

Re: [Qemu-devel] [PATCH qemu v17 07/12] vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)

2016-06-03 Thread Alex Williamson
On Wed, 1 Jun 2016 18:57:38 +1000 Alexey Kardashevskiy wrote: > This makes use of the new "memory registering" feature. The idea is > to provide the userspace ability to notify the host kernel about pages > which are going to be used for DMA. Having this information, the host > kernel can pin th

Re: [Qemu-devel] [PATCH qemu v17 07/12] vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)

2016-06-01 Thread David Gibson
On Wed, Jun 01, 2016 at 06:57:38PM +1000, Alexey Kardashevskiy wrote: > This makes use of the new "memory registering" feature. The idea is > to provide the userspace ability to notify the host kernel about pages > which are going to be used for DMA. Having this information, the host > kernel can p

[Qemu-devel] [PATCH qemu v17 07/12] vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)

2016-06-01 Thread Alexey Kardashevskiy
This makes use of the new "memory registering" feature. The idea is to provide the userspace ability to notify the host kernel about pages which are going to be used for DMA. Having this information, the host kernel can pin them all once per user process, do locked pages accounting (once) and not s