summaryrefslogtreecommitdiff
path: root/drivers/scsi/hisi_sas
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-09 16:54:05 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-15 14:27:08 -0500
commitfde46e968258500fdf94ab9a450a958e4062174b (patch)
tree005272b8de47f88daba5d0be10812173c0268a1b /drivers/scsi/hisi_sas
parentd9c30dbca7994859d14eef51813454adaff1a9a0 (diff)
scsi: wd719x: use per-command private data
Add the SCB onto the scsi command allocation and use dma streaming mappings for it only when in use. This avoid possibly calling dma_alloc_coherent under a lock or even in irq context, while also making the code simpler. Thanks to Ondrej Zary for testing and various bug fixes. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions