diff options
author | John David Anglin <dave.anglin@bell.net> | 2022-03-30 16:42:30 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-05-23 13:44:24 +0200 |
commit | 1fc7db2401d62df5a0b19250ddf3bb89d430dd86 (patch) | |
tree | 821739050a04c307d8e6fcba3dda433be2fff7d5 /arch/parisc/include | |
parent | parisc: video: fbdev: stifb: Add sti_dump_font() to dump STI font (diff) | |
download | linux-1fc7db2401d62df5a0b19250ddf3bb89d430dd86.tar.xz linux-1fc7db2401d62df5a0b19250ddf3bb89d430dd86.zip |
parisc: Don't enforce DMA completion order in cache flushes
The only place we need to ensure all outstanding cache coherence
operations are complete is in invalidate_kernel_vmap_range. All
parisc drivers synchronize DMA operations internally and do not
call invalidate_kernel_vmap_range. We only need this for non-coherent
I/O operations.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/cache.h b/arch/parisc/include/asm/cache.h index 5032e758594e..e23d06b51a20 100644 --- a/arch/parisc/include/asm/cache.h +++ b/arch/parisc/include/asm/cache.h @@ -54,6 +54,7 @@ void parisc_setup_cache_timing(void); #define asm_io_sync() asm volatile("sync" \ ALTERNATIVE(ALT_COND_NO_DCACHE, INSN_NOP) \ ALTERNATIVE(ALT_COND_NO_IOC_FDC, INSN_NOP) :::"memory") +#define asm_syncdma() asm volatile("syncdma" :::"memory") #endif /* ! __ASSEMBLY__ */ |