linux-stable/drivers/scsi/mpt3sas
Suganath Prabu S 2e4e858732 scsi: mpt3sas: Force reply post buffer allocations to be within same 4 GB region
According to the MPI specification, reply post 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-6-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 scsi: mpt3sas: Fix spelling mistake in Kconfig "compatiblity" -> "compatibility" 2021-01-05 23:25:07 -05:00
Makefile
mpt3sas_base.c scsi: mpt3sas: Force reply post 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 scsi: mpt3sas: Additional diagnostic buffer query interface 2021-02-08 22:02:07 -05:00
mpt3sas_debug.h
mpt3sas_debugfs.c
mpt3sas_scsih.c scsi: mpt3sas: Move a little data from the stack onto the heap 2021-03-15 22:14:54 -04:00
mpt3sas_transport.c scsi: mpt3sas: Fix a couple of misdocumented functions/params 2021-03-15 22:28:57 -04:00
mpt3sas_trigger_diag.c scsi: mpt3sas: Additional diagnostic buffer query interface 2021-02-08 22:02:07 -05:00
mpt3sas_trigger_diag.h
mpt3sas_trigger_pages.h
mpt3sas_warpdrive.c