]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: pmcraid: don't allocate a dma coherent buffer for sense data
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:05:36 +0000 (15:05 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 02:31:29 +0000 (21:31 -0500)
commit69d62c567a148238588f8df53c97913ce0d3568e
treeb2a240579dc8ddf20a65896e1bdd8802b2bdac3f
parent7a7092ba212366208d0d30ea8c505434b8d6bd6e
scsi: pmcraid: don't allocate a dma coherent buffer for sense data

We can just dma map the sense buffer passed with the scsi command,
and that gets us out of the nasty business of doing dma coherent
allocations from irq context.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pmcraid.c