Joerg Roedel 38ec010d9b iommu: Do more input validation in iommu_map_sg()
The IOMMU-API works on page boundarys, unlike the DMA-API
which can work with sub-page buffers. The sg->offset
field does not make sense on the IOMMU level, so force it to
be 0. Do some error-path consolidation while at it.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
2014-11-04 14:53:51 +01:00
..
2014-10-08 17:37:16 -04:00
2014-10-07 21:29:18 -04:00
2014-10-15 06:58:16 +02:00
2014-11-02 14:45:52 -08:00
2014-10-31 18:48:29 -07:00
2014-10-21 08:17:43 -07:00
2014-10-08 17:37:16 -04:00
2014-10-29 09:24:42 -07:00
2014-10-15 07:23:49 +02:00