]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: cxlflash: Remove unnecessary DMA mapping
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Wed, 12 Apr 2017 19:15:02 +0000 (14:15 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 14 Apr 2017 02:55:41 +0000 (22:55 -0400)
commitabe5881aa4d018cc876ca6300387c41c28932b4f
treec2df9481419a8efbc021a1e61352e3e9b893f1df
parent16454f5439008f785eb72793f8765267dcb43d2a
scsi: cxlflash: Remove unnecessary DMA mapping

Devices supported by the cxlflash driver are fully coherent and do not require
a bus address mapping. Avoid unnecessary path length by using the virtual
address and length already present in the scatter-gather entry.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c