[PATCH for v4.9 LTS 76/86] swiotlb: ensure that page-sized mappings are page-aligned

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Nikita Yushchenko [ Upstream commit 602d9858f07c72eab64f5f00e2fae55f9902cfbe ] Some drivers do depend on page mappings to be page aligned. Swiotlb already enforces such alignment for mappings greater than page, extend that to page-sized mappings as well.

[PATCH for v4.9 LTS 76/86] swiotlb: ensure that page-sized mappings are page-aligned

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Nikita Yushchenko [ Upstream commit 602d9858f07c72eab64f5f00e2fae55f9902cfbe ] Some drivers do depend on page mappings to be page aligned. Swiotlb already enforces such alignment for mappings greater than page, extend that to page-sized mappings as well. Without this fix, nvme hits