commit | 69878ef47562f32e02d0b7975c990e1c0339320d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jun 25 11:01:35 2019 +0200 |
committer | Geert Uytterhoeven <geert@linux-m68k.org> | Mon Jul 01 11:17:00 2019 +0200 |
tree | 8a33017b7cacf7905dc0c2a85c6b64d283c51610 | |
parent | 34dc63a5fb9b7f5dcb49f61552226c6314f347f6 [diff] |
m68k: Implement arch_dma_prep_coherent() When we remap memory as non-cached, to be used as a DMA coherent buffer, we should writeback all cache and invalidate the cache lines so that we make sure we have a clean slate. Implement this using the cache_push() helper. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>