[PATCH V2 3/3] Adding device_dma_parameters->offset_preserve_mask to NVMe driver.

Andy Shevchenko andriy.shevchenko at linux.intel.com
Tue Feb 2 06:21:09 EST 2021


On Mon, Feb 01, 2021 at 04:25:55PM -0800, Jianxiong Gao wrote:

> +       if (dma_set_min_align_mask(dev->dev, NVME_CTRL_PAGE_SIZE - 1))

Side note: we have DMA_BIT_MASK(), please use it.

> +               dev_warn(dev->dev, "dma_set_min_align_mask failed to
> set offset\n");

-- 
With Best Regards,
Andy Shevchenko





More information about the Linux-nvme mailing list