History

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.

Russell King committed 12 years ago

Commit c5cc87f1 parent 811a2401 file · +5 −0Browse files

Unified · Split

arch/arm/mm/idmap.c+5−0
@@ -9,6 +9,11 @@ · 8 unmodified lines
9#include <asm/sections.h>9#include <asm/sections.h>
10#include <asm/system_info.h>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 */
12pgd_t *idmap_pgd;17pgd_t *idmap_pgd;
13phys_addr_t (*arch_virt_to_idmap) (unsigned long x);18phys_addr_t (*arch_virt_to_idmap) (unsigned long x);
14 19