[ARM] Feroceon: Feroceon-specific WA-cache compatible {copy,clear}_user_page()
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 24 Apr 2008 05:31:45 +0000 (01:31 -0400)
committerNicolas Pitre <nico@cam.org>
Mon, 28 Apr 2008 20:06:51 +0000 (16:06 -0400)
commit0ed1507183adea174bc4b6611b50d90e044730c2
treec6f917503593997467052dcc5963e8387fb67f94
parent6b29e681aa7e80792e6e6be4ac2577014018c2fd
[ARM] Feroceon: Feroceon-specific WA-cache compatible {copy,clear}_user_page()

This patch implements a set of Feroceon-specific
{copy,clear}_user_page() routines that perform more optimally than
the generic implementations.  This also deals with write-allocate
caches (Feroceon can run L1 D in WA mode) which otherwise prevents
Linux from booting.

[nico: optimized the code even further]

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Tested-by: Sylver Bruneau <sylver.bruneau@googlemail.com>
Tested-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mm/Kconfig
arch/arm/mm/Makefile
arch/arm/mm/copypage-feroceon.S [new file with mode: 0644]
arch/arm/mm/proc-feroceon.S
include/asm-arm/page.h