diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-02-22 17:02:08 +0300 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-04 11:26:42 +0300 |
commit | 9ab9e4fce45379cb6a7dbf87cf8f8e6ba01853c2 (patch) | |
tree | 905b07720628e6a24a1f719f0af05543712ef66e /arch/arm/mm/proc-arm740.S | |
parent | c269cba35b061181bc23c470809c00e8f71e535a (diff) | |
download | linux-9ab9e4fce45379cb6a7dbf87cf8f8e6ba01853c2.tar.xz |
ARM: memremap: implement arch_memremap_wb()
The generic memremap() falls back to using ioremap_cache() to create
MEMREMAP_WB mappings if the requested region is not already covered
by the linear mapping, unless the architecture provides an implementation
of arch_memremap_wb().
Since ioremap_cache() is not appropriate on ARM to map memory with the
same attributes used for the linear mapping, implement arch_memremap_wb()
which does exactly that. Also, relax the WARN() check to allow MT_MEMORY_RW
mappings of pfn_valid() pages.
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'arch/arm/mm/proc-arm740.S')
0 files changed, 0 insertions, 0 deletions