On Thu, Oct 13, 2022 at 05:58:27PM +0000, Rishabh Bhatnagar wrote: > commit 61ce339f19fabbc3e51237148a7ef6f2270e44fa upstream. > > If swiotlb is force enabled dma_max_mapping_size ends up calling > swiotlb_max_mapping_size which takes into account the min align mask for > the device. Set the min align mask for nvme driver before calling > dma_max_mapping_size while calculating max hw sectors. > > Signed-off-by: Rishabh Bhatnagar <risbhat@xxxxxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/nvme/host/pci.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Now queued up, thanks. greg k-h