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.
Unified · Split
| @@ -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 | */ | ||
| 12 | pgd_t *idmap_pgd; | 17 | pgd_t *idmap_pgd; |
| 13 | phys_addr_t (*arch_virt_to_idmap) (unsigned long x); | 18 | phys_addr_t (*arch_virt_to_idmap) (unsigned long x); |
| 14 | 19 | ||