Re: [RFC V2 PATCH] dma-iommu: allow devices to set IOVA range dynamically

2020-08-10 Thread Christoph Hellwig
On Mon, Aug 10, 2020 at 11:28:12PM +0530, Ajay Kumar wrote: > Currently, there is no other option to change the lower limit of > IOVA for any device than calling iova_init_domain(), but the > said function will re-init whole domain and also doesn't track > the previously allocated IOVA before

[RFC V2 PATCH] dma-iommu: allow devices to set IOVA range dynamically

2020-08-10 Thread Ajay Kumar
Currently, there is no other option to change the lower limit of IOVA for any device than calling iova_init_domain(), but the said function will re-init whole domain and also doesn't track the previously allocated IOVA before re-initing the domain. There are cases where the device might not