diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2013-10-23 11:50:07 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-11-05 12:23:52 -0500 |
commit | 847264fb7e73ade5b5e4b6eea3daa243a1f5217e (patch) | |
tree | 3688d8bf1cd8f06e8bff978922d14c79406f5ce8 /Documentation/arm64 | |
parent | 122e2fa0d310d262cb85cf0b003032e5d2bc2ae7 (diff) |
arm64: Use 42-bit address space with 64K pages
This patch expands the VA_BITS to 42 when the 64K page configuration is
enabled allowing 2TB kernel linear mapping. Linux still uses 2 levels of
page tables in this configuration with pgd now being a full page.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Documentation/arm64')
-rw-r--r-- | Documentation/arm64/memory.txt | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Documentation/arm64/memory.txt b/Documentation/arm64/memory.txt index f28899d5c83e..5e054bfe4dde 100644 --- a/Documentation/arm64/memory.txt +++ b/Documentation/arm64/memory.txt | |||
@@ -21,7 +21,7 @@ The swapper_pgd_dir address is written to TTBR1 and never written to | |||
21 | TTBR0. | 21 | TTBR0. |
22 | 22 | ||
23 | 23 | ||
24 | AArch64 Linux memory layout: | 24 | AArch64 Linux memory layout with 4KB pages: |
25 | 25 | ||
26 | Start End Size Use | 26 | Start End Size Use |
27 | ----------------------------------------------------------------------- | 27 | ----------------------------------------------------------------------- |
@@ -46,6 +46,31 @@ ffffffbffc000000 ffffffbfffffffff 64MB modules | |||
46 | ffffffc000000000 ffffffffffffffff 256GB kernel logical memory map | 46 | ffffffc000000000 ffffffffffffffff 256GB kernel logical memory map |
47 | 47 | ||
48 | 48 | ||
49 | AArch64 Linux memory layout with 64KB pages: | ||
50 | |||
51 | Start End Size Use | ||
52 | ----------------------------------------------------------------------- | ||
53 | 0000000000000000 000003ffffffffff 4TB user | ||
54 | |||
55 | fffffc0000000000 fffffdfbfffeffff ~2TB vmalloc | ||
56 | |||
57 | fffffdfbffff0000 fffffdfbffffffff 64KB [guard page] | ||
58 | |||
59 | fffffdfc00000000 fffffdfdffffffff 8GB vmemmap | ||
60 | |||
61 | fffffdfe00000000 fffffdfffbbfffff ~8GB [guard, future vmmemap] | ||
62 | |||
63 | fffffdfffbc00000 fffffdfffbdfffff 2MB earlyprintk device | ||
64 | |||
65 | fffffdfffbe00000 fffffdfffbe0ffff 64KB PCI I/O space | ||
66 | |||
67 | fffffdfffbe10000 fffffdfffbffffff ~2MB [guard] | ||
68 | |||
69 | fffffdfffc000000 fffffdffffffffff 64MB modules | ||
70 | |||
71 | fffffe0000000000 ffffffffffffffff 2TB kernel logical memory map | ||
72 | |||
73 | |||
49 | Translation table lookup with 4KB pages: | 74 | Translation table lookup with 4KB pages: |
50 | 75 | ||
51 | +--------+--------+--------+--------+--------+--------+--------+--------+ | 76 | +--------+--------+--------+--------+--------+--------+--------+--------+ |