diff options
| author | Christoph Hellwig <[email protected]> | 2019-06-25 09:01:35 +0000 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2019-07-01 09:17:00 +0000 |
| commit | 69878ef47562f32e02d0b7975c990e1c0339320d (patch) | |
| tree | 8a33017b7cacf7905dc0c2a85c6b64d283c51610 /drivers/pci/controller/pci-host-common.c | |
| parent | m68k: Use the generic dma coherent remap allocator (diff) | |
| download | kernel-69878ef47562f32e02d0b7975c990e1c0339320d.tar.gz kernel-69878ef47562f32e02d0b7975c990e1c0339320d.zip | |
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 <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
