]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: allow ioremap_cache() to use existing RAM mappings
authorMark Salter <msalter@redhat.com>
Thu, 24 Oct 2013 14:54:17 +0000 (15:54 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 30 Oct 2013 12:10:37 +0000 (12:10 +0000)
commit407b030071ac3bdca4a69d48cc6afeb14ccd50ef
tree913804962b54cac275b6b2112c202b976265e19e
parent4e7ea95ff15a2c17e2816f3ed9055993806de2b6
arm64: allow ioremap_cache() to use existing RAM mappings

Some drivers (ACPI notably) use ioremap_cache() to map an area which could
either be outside of kernel RAM or in an already mapped reserved area of
RAM. To avoid aliases with different caching attributes, ioremap() does
not allow RAM to be remapped. But for ioremap_cache(), the existing kernel
mapping may be used.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/io.h
arch/arm64/mm/ioremap.c