commit | 205e1b7f51e4af2643eb1d61a6503e415cd1e014 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Dec 22 14:50:47 2017 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Mon Jan 15 09:34:43 2018 +0100 |
tree | 378eab5560b61a7f479d9c9a35aed2415956a8e3 | |
parent | 4b1b62b67d8b341ca97308822671b330a2c48c10 [diff] |
dma-mapping: warn when there is no coherent_dma_mask These days all devices should have a DMA coherent mask, and most dma_ops implementations rely on that fact. But just to be sure add an assert to ring the warning bell if that is not the case. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>