]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6161de2f35d7b4ec676bd633c70aae6406c92da3
treeb3b775066ec7062eccd1e0fd50d7be00475099c0
parent237c788c841e640585bb60354d04112322651f41
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