diff options
author | Borislav Petkov <bp@suse.de> | 2014-01-18 12:48:15 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-03-04 16:17:17 +0000 |
commit | 11cc851254b4bc3bd4430be8db2a41469303a427 (patch) | |
tree | 490cfc91f4a07ae31e9cbef87c2a64dad742e2e0 /arch/x86/Kconfig.debug | |
parent | ef6bea6ddf0e76077d0798e57b374015b23a837e (diff) | |
download | linux-stable-11cc851254b4bc3bd4430be8db2a41469303a427.tar.gz linux-stable-11cc851254b4bc3bd4430be8db2a41469303a427.tar.bz2 linux-stable-11cc851254b4bc3bd4430be8db2a41469303a427.zip |
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 kernel. If in doubt, say "N" +config EFI_PGT_DUMP + bool "Dump the EFI pagetable" + depends on EFI && X86_PTDUMP + ---help--- + Enable this if you want to dump the EFI page table before + enabling virtual mode. This can be used to debug miscellaneous + issues with the mapping of the EFI runtime regions into that + table. + config DEBUG_RODATA bool "Write protect kernel read-only data structures" default y |