mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Fleming <matt@console-pimps.org>
To: Borislav Petkov <bp@alien8.de>
Cc: Linux EFI <linux-efi@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>, Borislav Petkov <bp@suse.de>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	"H. Peter Anvin" <hpa@zytor.com>, Toshi Kani <toshi.kani@hp.com>
Subject: Re: [PATCH 2/5] efi: Dump the EFI page table
Date: Mon, 20 Jan 2014 13:38:02 +0000	[thread overview]
Message-ID: <20140120133802.GA684@console-pimps.org> (raw)
In-Reply-To: <1390045698-16882-3-git-send-email-bp@alien8.de>

On Sat, 18 Jan, at 12:48:15PM, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
> 
> 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>
> ---
>  arch/x86/Kconfig               | 9 +++++++++
>  arch/x86/include/asm/efi.h     | 1 +
>  arch/x86/platform/efi/efi.c    | 1 +
>  arch/x86/platform/efi/efi_32.c | 1 +
>  arch/x86/platform/efi/efi_64.c | 9 +++++++++
>  5 files changed, 21 insertions(+)
> 
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 02241d8dcab6..ba0d86cca926 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -1614,6 +1614,15 @@ config EFI_STUB
>  
>  	  See Documentation/efi-stub.txt for more information.
>  
> +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.
> +

Would this be more suitable in arch/x86/Kconfig.debug?

-- 
Matt Fleming, Intel Open Source Technology Center

  reply	other threads:[~2014-01-20 13:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18 11:48 [PATCH 0/5] EFI memmap and other fixes, v3 Borislav Petkov
2014-01-18 11:48 ` [PATCH 1/5] x86, ptdump: Add the functionality to dump an arbitrary pagetable Borislav Petkov
2014-01-18 11:48 ` [PATCH 2/5] efi: Dump the EFI page table Borislav Petkov
2014-01-20 13:38   ` Matt Fleming [this message]
2014-01-20 13:41     ` Borislav Petkov
2014-01-18 11:48 ` [PATCH 3/5] x86, pageattr: Export page unmapping interface Borislav Petkov
2014-01-18 11:48 ` [PATCH 4/5] efi: Make efi virtual runtime map passing more robust Borislav Petkov
2014-01-18 11:48 ` [PATCH 5/5] efi: Split efi_enter_virtual_mode Borislav Petkov
2014-01-20 13:44   ` Matt Fleming
2014-01-20 13:46     ` Borislav Petkov
2014-01-20 14:48       ` Matt Fleming
2014-01-23  9:06 ` [PATCH 0/5] EFI memmap and other fixes, v3 Matt Fleming
2014-01-23 16:30   ` Toshi Kani
2014-01-23 16:51     ` Borislav Petkov
2014-01-23 16:56       ` Toshi Kani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140120133802.GA684@console-pimps.org \
    --to=matt@console-pimps.org \
    --cc=bp@alien8.de \
    --cc=bp@suse.de \
    --cc=hpa@zytor.com \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=toshi.kani@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome