Re: [PATCH resend] swiotlb: ensure that page-sized mappings are page-aligned

2017-01-15 Thread Konrad Rzeszutek Wilk
On Wed, Jan 11, 2017 at 09:56:31PM +0300, Nikita Yushchenko wrote: > 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 BUG() in nvme_

Re: [PATCH resend] swiotlb: ensure that page-sized mappings are page-aligned

2017-01-12 Thread Sagi Grimberg
Looks good, Reviewed-by: Sagi Grimberg

Re: [PATCH resend] swiotlb: ensure that page-sized mappings are page-aligned

2017-01-11 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH resend] swiotlb: ensure that page-sized mappings are page-aligned

2017-01-11 Thread Nikita Yushchenko
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 BUG() in nvme_setup_prps(), because that routine assumes page-aligned mappings. Signed-off-b