summaryrefslogtreecommitdiff
path: root/arch/mips/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-18 15:18:23 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-11 08:13:49 +0200
commitcbf1449ba5aec9cf4c68b69f899391a8d42e9b8f (patch)
tree4fef104dc1a79294bc1a731c785d1da9da482c16 /arch/mips/include
parentec91ccb27408abd842faf6137b3a0df8d6ebbdbb (diff)
MIPS: make dma_sync_*_for_cpu a little less overzealous
When transferring DMA ownership back to the CPU there should never be any writeback from the cache, as the buffer was owned by the device until now. Instead it should just be invalidated for the mapping directions where the device could have written data. Note that the changes rely on the fact that kmap_atomic is stubbed out for the !HIGHMEM case to simplify the code a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include')
0 files changed, 0 insertions, 0 deletions