diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-07-30 09:08:07 +0300 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-07-31 06:04:29 +0300 |
commit | 81b23ba645e6b2b446093b2d927c261a17f7dee3 (patch) | |
tree | 2f2b5cbb6afd1653fd4ac1ef330d05f8b84b3a06 /arch/csky/mm | |
parent | 609488bc979f99f805f34e9a32c1e3b71179d10b (diff) | |
download | linux-81b23ba645e6b2b446093b2d927c261a17f7dee3.tar.xz |
csky: Fixup mb() synchronization problem
The mb() is the superset of dma and smp. Using bar.xxx to implement
mb() will cause problem when sync data with dma device, becasue
bar.xxx couldn't guarantee bus transactions finished at outside bus
level.
We must use sync.s instead of bar.xxx for dma data synchronization
and it will guarantee retirement after getting the bus bresponse.
Changes for V2:
- Use sync.s for all mb, rmb, wmb, dma_wmb, dma_rmb.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/mm')
0 files changed, 0 insertions, 0 deletions