]> 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)
commit409ac37af8f6b3c2fbb96e05015035f11b8d86ae
tree913804962b54cac275b6b2112c202b976265e19e
parentbedf0289017b62250a8238477220f9321de93453
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