diff options
author | Borislav Petkov <bp@suse.de> | 2014-01-18 06:48:15 -0500 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-03-04 11:17:17 -0500 |
commit | 11cc851254b4bc3bd4430be8db2a41469303a427 (patch) | |
tree | 490cfc91f4a07ae31e9cbef87c2a64dad742e2e0 /arch/x86/Kconfig.debug | |
parent | ef6bea6ddf0e76077d0798e57b374015b23a837e (diff) |
x86/efi: Dump the EFI page table
This is very useful for debugging issues with the recently added
pagetable switching code for EFI virtual mode.
Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 321a52ccf63a..61bd2ad94281 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -81,6 +81,15 @@ config X86_PTDUMP | |||
81 | kernel. | 81 | kernel. |
82 | If in doubt, say "N" | 82 | If in doubt, say "N" |
83 | 83 | ||
84 | config EFI_PGT_DUMP | ||
85 | bool "Dump the EFI pagetable" | ||
86 | depends on EFI && X86_PTDUMP | ||
87 | ---help--- | ||
88 | Enable this if you want to dump the EFI page table before | ||
89 | enabling virtual mode. This can be used to debug miscellaneous | ||
90 | issues with the mapping of the EFI runtime regions into that | ||
91 | table. | ||
92 | |||
84 | config DEBUG_RODATA | 93 | config DEBUG_RODATA |
85 | bool "Write protect kernel read-only data structures" | 94 | bool "Write protect kernel read-only data structures" |
86 | default y | 95 | default y |