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)
commit2f2fef022c3e7a29680cb5cb45c460d0ae786d05
treeac9ad82bbd8ee4fbb7848a286069282d3e8c98cd
parent39aa56db50b9ca5cad597e561b4b160b6cbbb65b
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