diff options
author | Suganath Prabu S <suganath-prabu.subramani@broadcom.com> | 2021-03-05 15:59:02 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-18 22:18:08 -0400 |
commit | 2e4e8587327b37431e3205d09f541420d9d19266 (patch) | |
tree | acb655999a75544644f2d65e4ea77fbf0c6de8cf /drivers/iommu/mtk_iommu.h | |
parent | 58501fd9375f76369c602a0b751a95d3376878e2 (diff) | |
download | linux-2e4e8587327b37431e3205d09f541420d9d19266.tar.gz |
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>
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
0 files changed, 0 insertions, 0 deletions