Searched hist:fde46e968258500fdf94ab9a450a958e4062174b (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/scsi/ |
H A D | wd719x.h | diff fde46e968258500fdf94ab9a450a958e4062174b Fri Nov 09 16:54:05 CET 2018 Christoph Hellwig <hch@lst.de> 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>
|
H A D | wd719x.c | diff fde46e968258500fdf94ab9a450a958e4062174b Fri Nov 09 16:54:05 CET 2018 Christoph Hellwig <hch@lst.de> 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>
|