File tree Expand file tree Collapse file tree 11 files changed +9
-17
lines changed
Expand file tree Collapse file tree 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.
2222In order to dump the kernel page tables, enable the following
2323configurations and mount debugfs::
2424
25- CONFIG_GENERIC_PTDUMP=y
2625 CONFIG_PTDUMP_CORE=y
2726 CONFIG_PTDUMP_DEBUGFS=y
2827
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ config ARM64
154154 select GENERIC_IRQ_SHOW_LEVEL
155155 select GENERIC_LIB_DEVMEM_IS_ALLOWED
156156 select GENERIC_PCI_IOMAP
157- select GENERIC_PTDUMP
157+ select PTDUMP_CORE
158158 select GENERIC_SCHED_CLOCK
159159 select GENERIC_SMP_IDLE_THREAD
160160 select GENERIC_TIME_VSYSCALL
Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ config PTDUMP_STAGE2_DEBUGFS
7171 depends on KVM
7272 depends on DEBUG_KERNEL
7373 depends on DEBUG_FS
74- depends on GENERIC_PTDUMP
75- select PTDUMP_CORE
74+ depends on PTDUMP_CORE
7675 default n
7776 help
7877 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
203203 select GENERIC_IRQ_SHOW
204204 select GENERIC_IRQ_SHOW_LEVEL
205205 select GENERIC_PCI_IOMAP if PCI
206- select GENERIC_PTDUMP
206+ select PTDUMP_CORE
207207 select GENERIC_SMP_IDLE_THREAD
208208 select GENERIC_TIME_VSYSCALL
209209 select GENERIC_VDSO_TIME_NS
Original file line number Diff line number Diff line change @@ -78,4 +78,3 @@ CONFIG_DEBUG_VM_PGTABLE=y
7878CONFIG_DETECT_HUNG_TASK=y
7979CONFIG_BDI_SWITCH=y
8080CONFIG_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
111111 select GENERIC_IRQ_SHOW_LEVEL
112112 select GENERIC_LIB_DEVMEM_IS_ALLOWED
113113 select GENERIC_PCI_IOMAP
114- select GENERIC_PTDUMP if MMU
114+ select PTDUMP_CORE if MMU
115115 select GENERIC_SCHED_CLOCK
116116 select GENERIC_SMP_IDLE_THREAD
117117 select GENERIC_TIME_VSYSCALL if MMU && 64BIT
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ config S390
155155 select GENERIC_CPU_VULNERABILITIES
156156 select GENERIC_ENTRY
157157 select GENERIC_GETTIMEOFDAY
158- select GENERIC_PTDUMP
158+ select PTDUMP_CORE
159159 select GENERIC_SMP_IDLE_THREAD
160160 select GENERIC_TIME_VSYSCALL
161161 select GENERIC_VDSO_TIME_NS
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ config X86
173173 select GENERIC_IRQ_RESERVATION_MODE
174174 select GENERIC_IRQ_SHOW
175175 select GENERIC_PENDING_IRQ if SMP
176- select GENERIC_PTDUMP
176+ select PTDUMP_CORE
177177 select GENERIC_SMP_IDLE_THREAD
178178 select GENERIC_TIME_VSYSCALL
179179 select GENERIC_GETTIMEOFDAY
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ config EARLY_PRINTK_USB_XDBC
5959config EFI_PGT_DUMP
6060 bool "Dump the EFI pagetable"
6161 depends on EFI
62- select PTDUMP_CORE
62+ depends on PTDUMP_CORE
6363 help
6464 Enable this if you want to dump the EFI page table before
6565 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
7373CONFIG_DEBUG_VM_PGFLAGS=y
7474CONFIG_DEBUG_VM_RB=y
7575CONFIG_DEBUG_VM_VMACACHE=y
76- CONFIG_GENERIC_PTDUMP=y
7776CONFIG_KASAN=y
7877CONFIG_KASAN_GENERIC=y
7978CONFIG_KASAN_INLINE=y
You can’t perform that action at this time.
0 commit comments