xtensa: make dma_cache_sync a no-op
authorChristoph Hellwig <hch@lst.de>
Sun, 27 Aug 2017 08:27:49 +0000 (10:27 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:37:40 +0000 (16:37 +0200)
commitd708e71ed78f56330325e8de304e2fb1e38ccf1c
tree536fad8bfebbff728c3b21a8f1b6303d7105d92b
parenta535bb801036268c3d057d7584e9c8f35f69aad4
xtensa: make dma_cache_sync a no-op

xtensa does not implement DMA_ATTR_NON_CONSISTENT allocations, so it
doesn't make any sense to do any work in dma_cache_sync given that it
must be a no-op when dma_alloc_attrs returns coherent memory.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/xtensa/include/asm/dma-mapping.h
arch/xtensa/kernel/pci-dma.c