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)
commit34ab03160eda51839be6dd5a939680963266707c
tree3c6810a7c739a86ea785d2707a2a6b5dedf754c9
parentab746573c4055ae1fa226715502fb9bb9be29a79
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