On Fri, May 25, 2018 at 04:35:06PM +0200, Christoph Hellwig wrote: > Various PCI bridges (VIA PCI, Xilinx PCIe) limit DMA to only 32-bits > even if the device itself supports more. Add a single bit flag to > struct device (to be moved into the dma extension once we around it)
"once we around it"? I don't understand, sorry. > to flag such devices and reject larger DMA to them. > > Signed-off-by: Christoph Hellwig <h...@lst.de> > --- > include/linux/device.h | 3 +++ > lib/dma-direct.c | 6 ++++++ > 2 files changed, 9 insertions(+) For the patch, no objection from me: Reviewed-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>