diff options
| author | John David Anglin <dave.anglin@bell.net> | 2022-03-30 14:42:30 +0000 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2022-05-23 13:44:24 +0200 |
| commit | 1fc7db2401d62df5a0b19250ddf3bb89d430dd86 (patch) | |
| tree | 821739050a04c307d8e6fcba3dda433be2fff7d5 /arch/parisc/kernel/pacache.S | |
| parent | 41dc0b53bcb1be3840bd616aea67f5b73400c169 (diff) | |
| download | linux-next-1fc7db2401d62df5a0b19250ddf3bb89d430dd86.tar.gz linux-next-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/kernel/pacache.S')
| -rw-r--r-- | arch/parisc/kernel/pacache.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S index b4c3f01e2399..8569141e3e67 100644 --- a/arch/parisc/kernel/pacache.S +++ b/arch/parisc/kernel/pacache.S @@ -300,7 +300,6 @@ fdoneloop2: fdce,m %arg1(%sr1, %arg0) /* Fdce for one loop */ fdsync: - syncdma sync mtsm %r22 /* restore I-bit */ 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP) @@ -1098,7 +1097,6 @@ ENTRY_CFI(flush_kernel_dcache_range_asm) sync 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP) - syncdma bv %r0(%r2) nop ENDPROC_CFI(flush_kernel_dcache_range_asm) @@ -1140,7 +1138,6 @@ ENTRY_CFI(purge_kernel_dcache_range_asm) sync 89: ALTERNATIVE(88b, 89b, ALT_COND_NO_DCACHE, INSN_NOP) - syncdma bv %r0(%r2) nop ENDPROC_CFI(purge_kernel_dcache_range_asm) |
