]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: remove the partial DMA_ATTR_NON_CONSISTENT support
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 10:54:13 +0000 (12:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 06:14:39 +0000 (08:14 +0200)
commit1a8325df232628ab156c853faa5ceaa9df4dbe8c
tree21d68caded55e364bcea7e17bf349ec2566320f9
parent6161de2f35d7b4ec676bd633c70aae6406c92da3
openrisc: remove the partial DMA_ATTR_NON_CONSISTENT support

The openrisc 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>
Acked-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/dma.c