nvme-pci: set min_align_mask
[linux-2.6-microblaze.git] / drivers / nvme / host / pci.c
index 81e6389..83303e4 100644 (file)
@@ -2629,6 +2629,7 @@ static void nvme_reset_work(struct work_struct *work)
         * Don't limit the IOMMU merged segment size.
         */
        dma_set_max_seg_size(dev->dev, 0xffffffff);
+       dma_set_min_align_mask(dev->dev, NVME_CTRL_PAGE_SIZE - 1);
 
        mutex_unlock(&dev->shutdown_lock);