linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Handle DMA allocations in same 4G region.
@ 2021-03-18  9:11 Suganath Prabu S
  2021-03-18  9:11 ` [PATCH V2 1/7] mpt3sas: Handle PCIe sgl's " Suganath Prabu S
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Suganath Prabu S @ 2021-03-18  9:11 UTC (permalink / raw)
  To: linux-scsi, martin.petersen
  Cc: Sathya.Prakash, sreekanth.reddy, Suganath Prabu S

[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]

According to MPI Specification PCIe SGL, Sense pool, Chain pool,
reply pool, reply post pool & reply post array buffers should not cross
4GB boundary. So while allocating these buffers, if any of these
pool buffer crosses the 4GB boundary then,
* Release the already allocated memory pools and
* Reallocate them by changing the DMA coherent mask to 32 bit.

Patch V2:
Fixed inconsistent indenting warning in patch 0002 

Suganath Prabu S (7):
  mpt3sas: Handle PCIe sgl's in same 4G region.
  mpt3sas: Handle chain buffer DMA allocations in same 4G region
  mpt3sas: Handle sense buffer DMA allocations in same 4G region
  mpt3sas: Handle reply pool DMA allocations in same 4G region
  mpt3sas: Handle Reply post queue DMA allocations in same 4G region
  mpt3sas: Handle reply post array DMA allocations in same 4G region
  mpt3sas : Update driver version to 37.101.00.00

 drivers/scsi/mpt3sas/mpt3sas_base.c | 503 ++++++++++++++++++----------
 drivers/scsi/mpt3sas/mpt3sas_base.h |   5 +-
 2 files changed, 332 insertions(+), 176 deletions(-)

-- 
2.27.0


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4245 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-18  9:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18  9:11 [PATCH 0/7] Handle DMA allocations in same 4G region Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 1/7] mpt3sas: Handle PCIe sgl's " Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 2/7] mpt3sas: Handle chain buffer DMA allocations " Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 3/7] mpt3sas: Handle sense " Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 4/7] mpt3sas: Handle reply pool " Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 5/7] mpt3sas: Handle Reply post queue " Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 6/7] mpt3sas: Handle reply post array " Suganath Prabu S
2021-03-18  9:11 ` [PATCH V2 7/7] mpt3sas : Update driver version to 37.101.00.00 Suganath Prabu S

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).