Re: [PATCH v4] iommu/iova: Optimise attempts to allocate iova from 32bit address range

2018-09-25 Thread Joerg Roedel
On Wed, Sep 05, 2018 at 09:57:36AM +0530, Ganapatrao Kulkarni wrote: > drivers/iommu/iova.c | 22 +++--- > include/linux/iova.h | 1 + > 2 files changed, 16 insertions(+), 7 deletions(-) Applied, thanks. ___ iommu mailing list iommu@lis

Re: [PATCH v4] iommu/iova: Optimise attempts to allocate iova from 32bit address range

2018-09-18 Thread Ganapatrao Kulkarni
Hi Joerg, can you please pull this patch? On Wed, Sep 5, 2018 at 9:58 AM Ganapatrao Kulkarni wrote: > > As an optimisation for PCI devices, there is always first attempt > been made to allocate iova from SAC address range. This will lead > to unnecessary attempts, when there are no free ranges >

[PATCH v4] iommu/iova: Optimise attempts to allocate iova from 32bit address range

2018-09-04 Thread Ganapatrao Kulkarni
As an optimisation for PCI devices, there is always first attempt been made to allocate iova from SAC address range. This will lead to unnecessary attempts, when there are no free ranges available. Adding fix to track recently failed iova address size and allow further attempts, only if requested s