[PATCH 3.16 006/254] iommu/vt-d: Fix scatterlist offset handling

2018-02-28 Thread Ben Hutchings
3.16.55-rc1 review patch. If anyone has any objections, please let me know. -- From: Robin Murphy commit 29a90b70893817e2f2bb3cea40a29f5308e21b21 upstream. The intel-iommu DMA ops fail to correctly handle scatterlists where sg->offset is greater than

[PATCH 3.16 006/254] iommu/vt-d: Fix scatterlist offset handling

2018-02-28 Thread Ben Hutchings
3.16.55-rc1 review patch. If anyone has any objections, please let me know. -- From: Robin Murphy commit 29a90b70893817e2f2bb3cea40a29f5308e21b21 upstream. The intel-iommu DMA ops fail to correctly handle scatterlists where sg->offset is greater than PAGE_SIZE - the IOVA