]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup ioremap function losing
authorGuo Ren <ren_guo@c-sky.com>
Thu, 15 Aug 2019 08:24:56 +0000 (16:24 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Thu, 15 Aug 2019 11:21:28 +0000 (19:21 +0800)
commit85b52cf7675567e2a7d0d8668403576d058a6ec5
tree867349276607a1584dd0480fa67beda89e0cc76f
parent66740e5864083eab9b7504aae9dc7270d08a6b64
csky: Fixup ioremap function losing

Implement the following apis to meet usage in different scenarios.

 - ioremap          (NonCache + StrongOrder)
 - ioremap_nocache  (NonCache + StrongOrder)
 - ioremap_wc       (NonCache + WeakOrder  )
 - ioremap_cache    (   Cache + WeakOrder  )

Also change flag VM_ALLOC to VM_IOREMAP in get_vm_area_caller.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christoph Hellwig <hch@infradead.org>
arch/csky/include/asm/io.h
arch/csky/mm/ioremap.c