Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753549AbaATNiM (ORCPT ); Mon, 20 Jan 2014 08:38:12 -0500 Received: from arkanian.console-pimps.org ([212.110.184.194]:48542 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbaATNiK (ORCPT ); Mon, 20 Jan 2014 08:38:10 -0500 Date: Mon, 20 Jan 2014 13:38:02 +0000 From: Matt Fleming To: Borislav Petkov Cc: Linux EFI , LKML , Borislav Petkov , Matthew Garrett , "H. Peter Anvin" , Toshi Kani Subject: Re: [PATCH 2/5] efi: Dump the EFI page table Message-ID: <20140120133802.GA684@console-pimps.org> References: <1390045698-16882-1-git-send-email-bp@alien8.de> <1390045698-16882-3-git-send-email-bp@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1390045698-16882-3-git-send-email-bp@alien8.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Jan, at 12:48:15PM, Borislav Petkov wrote: > From: Borislav Petkov > > This is very useful for debugging issues with the recently added > pagetable switching code for EFI virtual mode. > > Signed-off-by: Borislav Petkov > Tested-by: Toshi Kani > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/