Re: [PATCH 16/20] iommu/amd: Optimize map_sg and unmap_sg

2016-07-12 Thread Robin Murphy
On 08/07/16 12:45, Joerg Roedel wrote: > From: Joerg Roedel > > Optimize these functions so that they need only one call > into the address alloctor. This also saves a couple of > io-tlb flushes in the unmap_sg path. > > Signed-off-by: Joerg Roedel > --- >

[PATCH 16/20] iommu/amd: Optimize map_sg and unmap_sg

2016-07-08 Thread Joerg Roedel
From: Joerg Roedel Optimize these functions so that they need only one call into the address alloctor. This also saves a couple of io-tlb flushes in the unmap_sg path. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 77