]> asedeno.scripts.mit.edu Git - linux.git/commit
dma-direct: implement complete bus_dma_mask handling
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Sep 2018 12:04:08 +0000 (14:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 1 Oct 2018 14:28:03 +0000 (07:28 -0700)
commitb4ebe6063204da58e48600b810a97c29ae9e5d12
tree5bf1cf53eeaa87f1bf0d89e8f55cf27d720599b9
parent7d21ee4c719f00896767ce19c4c01a56374c2ced
dma-direct: implement complete bus_dma_mask handling

Instead of rejecting devices with a too small bus_dma_mask we can handle
by taking the bus dma_mask into account for allocations and bounce
buffering decisions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-direct.h
kernel/dma/direct.c