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:
parent
c53986ee8b
commit
10823e5b1e
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue