arm64: Use Normal NonCacheable memory for writecombine
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 29 Nov 2013 10:56:14 +0000 (10:56 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 14 May 2014 11:17:58 +0000 (12:17 +0100)
commite850da006c7ca131c8aa1ef614bd1bcee4a3e929
treed4f3ee188b029a5a953936fce7043af684405f15
parentb67a42ee58fa4e5a2d5a20a9009b160e77e132a7
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>
(cherry picked from commit 3655a197b1ea3ce989d34868768c5f4b6205061c)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/include/asm/pgtable.h