On Tue, Oct 11, 2022 at 02:12:27PM -0700, Bhatnagar, Rishabh wrote:
Hi
The following patch is needed in 5.10 and 5.15 stable trees.
Commit: 61ce339f19fabbc3e51237148a7ef6f2270e44fa Subject: nvme-pci: set min_align_mask before calculating max_hw_sectors
This patch fixes the swiotlb usecase for nvme driver where if dma_min_align is not considered the requested buffer size overflows the swiotlb buffer. Patch applies cleanly for 5.15/5.10 stable trees.
The patch does not apply cleanly at all, how did you test this? Please provide a working backport for those trees if you wish to have it applied there.
thanks,
greg k-h
linux-stable-mirror@lists.linaro.org