ide: kill ide_toggle_bounce
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 17:11:46 +0000 (19:11 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 7 May 2018 05:15:41 +0000 (07:15 +0200)
commit1d3b9917df9725382f4e0005ecaddee114ebc847
treefb28dbe4e100c5d4127f59ca37d432722b35d81d
parent21e07dba9fb1179148089d611fc9e6e70d1887c3
ide: kill ide_toggle_bounce

ide_toggle_bounce did select various strange block bounce limits, including
not bouncing at all as soon as an iommu is present in the system.  Given
that the dma_map routines now handle any required bounce buffering except
for ISA DMA, and the ide code already must handle either ISA DMA or highmem
at least for iommu equipped systems we can get rid of the block layer
bounce limit setting entirely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
drivers/ide/ide-dma.c
drivers/ide/ide-lib.c
drivers/ide/ide-probe.c
include/linux/ide.h