]> git.baikalelectronics.ru Git - kernel.git/commit
dma-direct: handle DMA_ATTR_NON_CONSISTENT in common code
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jun 2019 13:59:14 +0000 (15:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 12:27:58 +0000 (14:27 +0200)
commitaac2bbf9f30ddf01cb505952a6736efd64fb6083
tree01b1d3e6e2d3f0f93e01b15ce1fac97aed58e841
parentf6d24c9023f0f1dc91a293acdb32a7fd6e6917d4
dma-direct: handle DMA_ATTR_NON_CONSISTENT in common code

Only call into arch_dma_alloc if we require an uncached mapping,
and remove the parisc code manually doing normal cached
DMA_ATTR_NON_CONSISTENT allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Helge Deller <deller@gmx.de> # parisc
arch/parisc/kernel/pci-dma.c
kernel/dma/direct.c