[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y0vgq8q3AjVGcVCn@kroah.com>
Date: Sun, 16 Oct 2022 12:44:59 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Rishabh Bhatnagar <risbhat@...zon.com>
Cc: stable@...r.kernel.org, hch@....de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5.15 5.10] nvme-pci: set min_align_mask before
calculating max_hw_sectors
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@...zon.com>
> Signed-off-by: Christoph Hellwig <hch@....de>
> ---
> drivers/nvme/host/pci.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Now queued up, thanks.
greg k-h
Powered by blists - more mailing lists