]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: add generic ioremap optimization by reusing static mappings
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 16 Sep 2011 05:14:23 +0000 (01:14 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Fri, 18 Nov 2011 18:54:04 +0000 (13:54 -0500)
commit3afb51f744b6975dc805d209ad5b068375966901
treec8710ef8fcd2198a6dd41919a9a0e5f024e751bd
parente40229c93b87a2441e5dcb32bfaf7869d84c76f4
ARM: add generic ioremap optimization by reusing static mappings

Now that we have all the static mappings from iotable_init() located
in the vmalloc area, it is trivial to optimize ioremap by reusing those
static mappings when the requested physical area fits in one of them,
and so in a generic way for all platforms.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Tested-by: Jamie Iles <jamie@jamieiles.com>
arch/arm/mm/ioremap.c
arch/arm/mm/mm.h
arch/arm/mm/mmu.c