diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-22 14:50:47 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 09:34:43 +0100 |
commit | 205e1b7f51e4af2643eb1d61a6503e415cd1e014 (patch) | |
tree | 378eab5560b61a7f479d9c9a35aed2415956a8e3 /arch/mips/loongson64/common/dma-swiotlb.c | |
parent | 4b1b62b67d8b341ca97308822671b330a2c48c10 (diff) | |
download | talos-obmc-linux-205e1b7f51e4af2643eb1d61a6503e415cd1e014.tar.gz talos-obmc-linux-205e1b7f51e4af2643eb1d61a6503e415cd1e014.zip |
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>
Diffstat (limited to 'arch/mips/loongson64/common/dma-swiotlb.c')
0 files changed, 0 insertions, 0 deletions