Re: [PATCH] iommu: Decouple iommu_map_sg from CPU page size

2014-12-02 Thread Joerg Roedel
On Tue, Nov 25, 2014 at 05:50:55PM +, Robin Murphy wrote: > If the IOMMU supports pages smaller than the CPU page size, segments > which lie at offsets within the CPU page may be mapped based on the > finer-grained IOMMU page boundaries. This minimises the amount of > non-buffer memory between

[PATCH] iommu: Decouple iommu_map_sg from CPU page size

2014-11-25 Thread Robin Murphy
If the IOMMU supports pages smaller than the CPU page size, segments which lie at offsets within the CPU page may be mapped based on the finer-grained IOMMU page boundaries. This minimises the amount of non-buffer memory between the CPU page boundary and the start of the segment which must be mappe