OSDN Git Service

arm64: Use Normal NonCacheable memory for writecombine
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 29 Nov 2013 10:56:14 +0000 (10:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:24:27 +0000 (12:24 -0800)
commit3655a197b1ea3ce989d34868768c5f4b6205061c
tree110f0a7959a8de4636c9f7055758a64cd9a9678f
parentfc54900e08d840fcfec9e5d2fba2c6f233aa49b9
arm64: Use Normal NonCacheable memory for writecombine

commit 4f00130b70e5eee813cc7bc298e0f3fdf79673cc upstream.

This provides better performance compared to Device GRE and also allows
unaligned accesses. Such memory is intended to be used with standard RAM
(e.g. framebuffers) and not I/O.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/pgtable.h