OSDN Git Service

arc: remove the partial DMA_ATTR_NON_CONSISTENT support
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 10:52:47 +0000 (12:52 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 06:14:24 +0000 (08:14 +0200)
commit80e61fcd23946cb222f780a49ab2eeb7ef1d3749
treeb3b775066ec7062eccd1e0fd50d7be00475099c0
parent34ab03160eda51839be6dd5a939680963266707c
arc: remove the partial DMA_ATTR_NON_CONSISTENT support

The arc 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: Evgeniy Paltsev <paltsev@synopsys.com>
Tested-by: Evgeniy Paltsev <paltsev@synopsys.com>
arch/arc/mm/dma.c