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>

Changed files
+5
arch
arm
mm
+5
arch/arm/mm/idmap.c
··· 9 9 #include <asm/sections.h> 10 10 #include <asm/system_info.h> 11 11 12 + /* 13 + * Note: accesses outside of the kernel image and the identity map area 14 + * are not supported on any CPU using the idmap tables as its current 15 + * page tables. 16 + */ 12 17 pgd_t *idmap_pgd; 13 18 phys_addr_t (*arch_virt_to_idmap) (unsigned long x); 14 19