mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
Revert "Revert "nvme-pci: set min_align_mask""
This reverts commit abc5254824.
Bring back the commit in 5.10.35 that broke the kabi.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ib6f6163ef625ac0bcbff1c1be4fdf00294743e7a
This commit is contained in:
committed by
Todd Kjos
parent
c53986ee8b
commit
10823e5b1e
@@ -2634,6 +2634,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user