File tree 11 files changed +9
-17
lines changed
11 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ offlining of memory being accessed by the ptdump code.
22
22
In order to dump the kernel page tables, enable the following
23
23
configurations and mount debugfs::
24
24
25
- CONFIG_GENERIC_PTDUMP=y
26
25
CONFIG_PTDUMP_CORE=y
27
26
CONFIG_PTDUMP_DEBUGFS=y
28
27
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ config ARM64
154
154
select GENERIC_IRQ_SHOW_LEVEL
155
155
select GENERIC_LIB_DEVMEM_IS_ALLOWED
156
156
select GENERIC_PCI_IOMAP
157
- select GENERIC_PTDUMP
157
+ select PTDUMP_CORE
158
158
select GENERIC_SCHED_CLOCK
159
159
select GENERIC_SMP_IDLE_THREAD
160
160
select GENERIC_TIME_VSYSCALL
Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ config PTDUMP_STAGE2_DEBUGFS
71
71
depends on KVM
72
72
depends on DEBUG_KERNEL
73
73
depends on DEBUG_FS
74
- depends on GENERIC_PTDUMP
75
- select PTDUMP_CORE
74
+ depends on PTDUMP_CORE
76
75
default n
77
76
help
78
77
Say Y here if you want to show the stage-2 kernel pagetables
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ config PPC
203
203
select GENERIC_IRQ_SHOW
204
204
select GENERIC_IRQ_SHOW_LEVEL
205
205
select GENERIC_PCI_IOMAP if PCI
206
- select GENERIC_PTDUMP
206
+ select PTDUMP_CORE
207
207
select GENERIC_SMP_IDLE_THREAD
208
208
select GENERIC_TIME_VSYSCALL
209
209
select GENERIC_VDSO_TIME_NS
Original file line number Diff line number Diff line change @@ -78,4 +78,3 @@ CONFIG_DEBUG_VM_PGTABLE=y
78
78
CONFIG_DETECT_HUNG_TASK=y
79
79
CONFIG_BDI_SWITCH=y
80
80
CONFIG_PPC_EARLY_DEBUG=y
81
- CONFIG_GENERIC_PTDUMP=y
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ config RISCV
111
111
select GENERIC_IRQ_SHOW_LEVEL
112
112
select GENERIC_LIB_DEVMEM_IS_ALLOWED
113
113
select GENERIC_PCI_IOMAP
114
- select GENERIC_PTDUMP if MMU
114
+ select PTDUMP_CORE if MMU
115
115
select GENERIC_SCHED_CLOCK
116
116
select GENERIC_SMP_IDLE_THREAD
117
117
select GENERIC_TIME_VSYSCALL if MMU && 64BIT
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ config S390
155
155
select GENERIC_CPU_VULNERABILITIES
156
156
select GENERIC_ENTRY
157
157
select GENERIC_GETTIMEOFDAY
158
- select GENERIC_PTDUMP
158
+ select PTDUMP_CORE
159
159
select GENERIC_SMP_IDLE_THREAD
160
160
select GENERIC_TIME_VSYSCALL
161
161
select GENERIC_VDSO_TIME_NS
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ config X86
173
173
select GENERIC_IRQ_RESERVATION_MODE
174
174
select GENERIC_IRQ_SHOW
175
175
select GENERIC_PENDING_IRQ if SMP
176
- select GENERIC_PTDUMP
176
+ select PTDUMP_CORE
177
177
select GENERIC_SMP_IDLE_THREAD
178
178
select GENERIC_TIME_VSYSCALL
179
179
select GENERIC_GETTIMEOFDAY
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ config EARLY_PRINTK_USB_XDBC
59
59
config EFI_PGT_DUMP
60
60
bool "Dump the EFI pagetable"
61
61
depends on EFI
62
- select PTDUMP_CORE
62
+ depends on PTDUMP_CORE
63
63
help
64
64
Enable this if you want to dump the EFI page table before
65
65
enabling virtual mode. This can be used to debug miscellaneous
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ CONFIG_DEBUG_VM=y
73
73
CONFIG_DEBUG_VM_PGFLAGS=y
74
74
CONFIG_DEBUG_VM_RB=y
75
75
CONFIG_DEBUG_VM_VMACACHE=y
76
- CONFIG_GENERIC_PTDUMP=y
77
76
CONFIG_KASAN=y
78
77
CONFIG_KASAN_GENERIC=y
79
78
CONFIG_KASAN_INLINE=y
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ config DEBUG_WX
187
187
bool "Warn on W+X mappings at boot"
188
188
depends on ARCH_HAS_DEBUG_WX
189
189
depends on MMU
190
- select PTDUMP_CORE
190
+ depends on PTDUMP_CORE
191
191
help
192
192
Generate a warning if any W+X mappings are found at boot.
193
193
@@ -212,18 +212,14 @@ config DEBUG_WX
212
212
213
213
If in doubt, say "Y".
214
214
215
- config GENERIC_PTDUMP
216
- bool
217
-
218
215
config PTDUMP_CORE
219
216
bool
220
217
221
218
config PTDUMP_DEBUGFS
222
219
bool "Export kernel pagetable layout to userspace via debugfs"
223
220
depends on DEBUG_KERNEL
224
221
depends on DEBUG_FS
225
- depends on GENERIC_PTDUMP
226
- select PTDUMP_CORE
222
+ depends on PTDUMP_CORE
227
223
help
228
224
Say Y here if you want to show the kernel pagetable layout in a
229
225
debugfs file. This information is only useful for kernel developers
You can’t perform that action at this time.
0 commit comments