commit | f068fe3170bcf06f14fd0a9eec0be12be04ff012 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Apr 27 09:02:55 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon May 28 12:46:54 2018 +0200 |
tree | bc3e751c6a163515ada11ccd4e08465413c63b71 | |
parent | 884571f0de7b02bb784be3a5c870eabce62cdaeb [diff] |
core, dma-direct: add a flag 32-bit dma limits 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 get to it) to flag such devices and reject larger DMA to them. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>