ARM: idmap: add identity mapping usage note
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Jul 2014 11:18:34 +0000 (12:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Aug 2014 14:20:26 +0000 (15:20 +0100)
commitc5cc87fa8ddf971682fc5dd112e2dfacb11f30cd
tree58fbb35b4c2fe14941c7d8c21f2053cf46addbd7
parent811a2407a3cf7bbd027fbe92d73416f17485a3d8
ARM: idmap: add identity mapping usage note

Add a note about the usage of the identity mapping; we do not support
accesses outside of the identity map region and kernel image while a
CPU is using the identity map.  This is because the identity mapping
may overwrite vmalloc space, IO mappings, the vectors pages, etc.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/idmap.c