scsi: mpt3sas: Force PCIe scatterlist allocations to be within same 4 GB region
[ Upstream commit d6adc251 ] According to the MPI specification, PCIe SGL buffers can not cross a 4 GB boundary. While allocating, if any buffer crosses the 4 GB boundary, then: - Release the already allocated memory pools; and - Reallocate them by changing the DMA coherent mask to 32-bit Link: https://lore.kernel.org/r/20210305102904.7560-2-suganath-prabu.subramani@broadcom.com Signed-off-by:Suganath Prabu S <suganath-prabu.subramani@broadcom.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Stable-dep-of: e0e0747d ("scsi: mpt3sas: Fix return value check of dma_get_required_mask()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
351f2d2c
Please register or sign in to comment