]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67e47cbf598946e65f87264077a535719d2248be
treefb28dbe4e100c5d4127f59ca37d432722b35d81d
parentc31eadb457af4029b6f974e2d3b882ca66c56c0e
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