aboutsummaryrefslogtreecommitdiffstats
path: root/nvdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'nvdebug.h')
-rw-r--r--nvdebug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/nvdebug.h b/nvdebug.h
index 7564f8c..9e0058d 100644
--- a/nvdebug.h
+++ b/nvdebug.h
@@ -1015,19 +1015,19 @@ typedef union {
1015 Page Table Entry (PTE) (13 bits) <--------------+ | 1015 Page Table Entry (PTE) (13 bits) <--------------+ |
1016 Page Directory Entry (PDE) (13 bits) <-+ | | 1016 Page Directory Entry (PDE) (13 bits) <-+ | |
1017 ^ ^ ^ 1017 ^ ^ ^
1018 Virtual address: [39, 25] [24, 12] [11, 0] 1018 Virtual address: [39, 26] [25, 12] [11, 0]
1019 1019
1020 == Figure 2: 128 KiB mode == 1020 == Figure 2: 128 KiB mode ==
1021 Page Offset (12 bits) <----------------------------------+ 1021 Page Offset (12 bits) <----------------------------------+
1022 Page Table Entry (PTE) (14 bits) <--------------+ | 1022 Page Table Entry (PTE) (14 bits) <--------------+ |
1023 Page Directory Entry (PDE) (12 bits) <-+ | | 1023 Page Directory Entry (PDE) (12 bits) <-+ | |
1024 ^ ^ ^ 1024 ^ ^ ^
1025 Virtual address: [39, 26] [25, 12] [11, 0] 1025 Virtual address: [39, 27] [26, 12] [11, 0]
1026 1026
1027 1027
1028 Support: Fermi, Kepler, Maxwell, Pascal* 1028 Support: Fermi, Kepler, Maxwell, Pascal*
1029 Note: *Pascal introduces Version 2 Page Tables, but is backwards-compatible. 1029 Note: *Pascal introduces Version 2 Page Tables, but is backwards-compatible.
1030 Note: We only implement the 64-KiB-large-page mode in nvdebug. 1030 Note: We only implement the 128-KiB-large-page mode in nvdebug.
1031 1031
1032 See also: mm_gk20a.c in nvgpu (Jetson GPU driver) and kern_gmmu_fmt_gm10x.c 1032 See also: mm_gk20a.c in nvgpu (Jetson GPU driver) and kern_gmmu_fmt_gm10x.c
1033 in open-gpu-kernel-modules (open-source NVRM variant). This is 1033 in open-gpu-kernel-modules (open-source NVRM variant). This is
@@ -1046,9 +1046,9 @@ typedef union {
1046 from the page table development process, and have no meaning now. 1046 from the page table development process, and have no meaning now.
1047*/ 1047*/
1048// Number of entries in the PDE and PTE levels 1048// Number of entries in the PDE and PTE levels
1049static const int NV_MMU_PT_V1_SZ[2] = {8192, 8192}; 1049static const int NV_MMU_PT_V1_SZ[2] = {4096, 16384}; // 2^12 and 2^14
1050// Which bit index is the least significant in indexing each page level 1050// Which bit index is the least significant in indexing each page level
1051static const int NV_MMU_PT_V1_LSB[2] = {25, 12}; 1051static const int NV_MMU_PT_V1_LSB[2] = {27, 12};
1052 1052
1053// V1 Page Directory Entry target 1053// V1 Page Directory Entry target
1054enum V1_PD_TARGET { 1054enum V1_PD_TARGET {