]> git.baikalelectronics.ru Git - kernel.git/commit
aha1542: use a local bounce buffer
authorChristoph Hellwig <hch@lst.de>
Wed, 31 Mar 2021 07:29:54 +0000 (09:29 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Apr 2021 15:28:17 +0000 (09:28 -0600)
commit214ac6b9bac4fefa46951db027ecaf866c3c35a4
treeac9ad82bbd8ee4fbb7848a286069282d3e8c98cd
parent80eae875f52ac31f4ff9657940bbf557b97bde2a
aha1542: use a local bounce buffer

To remove the last user of the unchecked_isa_dma flag and thus the block
layer ISA bounce buffering switch this driver to use its own local bounce
buffer.  This has the effect of not needing the chain indirection and
supporting and unlimited number of segments.  It does however limit the
transfer size for each command to something that can be reasonable
allocated by dma_alloc_coherent like 8K.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20210331073001.46776-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/aha1542.c