aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2019-07-30 06:43:22 +0000
committerGuo Ren <[email protected]>2019-07-31 03:05:25 +0000
commit7f80fe207de9602aaff028c79345caa68c90cd31 (patch)
tree4052003f821439f67f8be27a26c016075cf48e7d /net/unix/af_unix.c
parentcsky: Fixup mb() synchronization problem (diff)
downloadkernel-7f80fe207de9602aaff028c79345caa68c90cd31.tar.gz
kernel-7f80fe207de9602aaff028c79345caa68c90cd31.zip
csky: Fixup dma_alloc_coherent with PAGE_SO attribute
This bug is from commit: 2b070ccdf8c0 (fixup abiv2 mmap(... O_SYNC) failed). In that patch we remove the _PAGE_SO for memory noncache mapping and this will cause problem when drivers use dma descriptors to control the transcations without dma_w/rmb(). After referencing other archs' implementation, pgprot_writecombine is introduced for mmap(... O_SYNC). Signed-off-by: Guo Ren <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions