linux-stable/drivers/scsi/mpt3sas
Suganath Prabu S 7dd847dae1 scsi: mpt3sas: Force chain buffer allocations to be within same 4 GB region
According to the MPI specification, chain 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-3-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>
2021-03-18 22:18:08 -04:00
..
mpi scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one 2021-03-17 00:04:40 -04:00
Kconfig
Makefile
mpt3sas_base.c scsi: mpt3sas: Force chain buffer allocations to be within same 4 GB region 2021-03-18 22:18:08 -04:00
mpt3sas_base.h scsi: mpt3sas: Force PCIe scatterlist allocations to be within same 4 GB region 2021-03-17 00:04:41 -04:00
mpt3sas_config.c scsi: mpt3sas: Fix a bunch of potential naming doc-rot 2021-03-15 22:28:56 -04:00
mpt3sas_ctl.c scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one 2021-03-17 00:04:40 -04:00
mpt3sas_ctl.h
mpt3sas_debug.h
mpt3sas_debugfs.c
mpt3sas_scsih.c
mpt3sas_transport.c scsi: mpt3sas: Fix a couple of misdocumented functions/params 2021-03-15 22:28:57 -04:00
mpt3sas_trigger_diag.c
mpt3sas_trigger_diag.h
mpt3sas_trigger_pages.h
mpt3sas_warpdrive.c