]> git.baikalelectronics.ru Git - kernel.git/commit
arm-nommu: remove the partial DMA_ATTR_NON_CONSISTENT support
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 10:48:57 +0000 (12:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 06:12:42 +0000 (08:12 +0200)
commit237c788c841e640585bb60354d04112322651f41
tree3c6810a7c739a86ea785d2707a2a6b5dedf754c9
parent4beffb994be4306586067ff6c49e73ede18fdf91
arm-nommu: remove the partial DMA_ATTR_NON_CONSISTENT support

The arm-nommu DMA code supports DMA_ATTR_NON_CONSISTENT allocations, but
does not provide a cache_sync operation.  This means any user of it
will never be able to actually transfer cache ownership and thus cause
coherency bugs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
arch/arm/mm/dma-mapping-nommu.c