diff options
author | Guo Ren <ren_guo@c-sky.com> | 2019-07-30 11:02:26 +0200 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2019-08-06 09:12:59 +0200 |
commit | 4af9027d3f4061992c0b065102a0a666b72f073b (patch) | |
tree | f47e24a32f8519e1eeb5e721051eadc92fbfba7f /drivers/char/xillybus/xillybus.h | |
parent | csky: Fixup dma_alloc_coherent with PAGE_SO attribute (diff) | |
download | linux-4af9027d3f4061992c0b065102a0a666b72f073b.tar.xz linux-4af9027d3f4061992c0b065102a0a666b72f073b.zip |
csky/dma: Fixup cache_op failed when cross memory ZONEs
If the paddr and size are cross between NORMAL_ZONE and HIGHMEM_ZONE
memory range, cache_op will panic in do_page_fault with bad_area.
Optimize the code to support the range which cross memory ZONEs.
Changes for V2:
- Revert back to postcore_initcall
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/char/xillybus/xillybus.h')
0 files changed, 0 insertions, 0 deletions