[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170515142729.GE2935@codeblueprint.co.uk>
Date: Mon, 15 May 2017 15:27:29 +0100
From: Matt Fleming <matt@...eblueprint.co.uk>
To: Sai Praneeth Prakhya <sai.praneeth.prakhya@...el.com>
Cc: linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
Borislav Petkov <bp@...en8.de>,
Ricardo Neri <ricardo.neri@...el.com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Ravi Shankar <ravi.v.shankar@...el.com>
Subject: Re: [PATCH V2] x86/efi: Add EFI_PGT_DUMP support for x86_32, kexec
On Thu, 11 May, at 12:20:33PM, Sai Praneeth Prakhya wrote:
> From: Sai Praneeth <sai.praneeth.prakhya@...el.com>
>
> EFI_PGT_DUMP, as the name suggests dumps efi page tables to dmesg during
> kernel boot. This feature is very useful while debugging page
> faults/null pointer dereferences to efi related addresses. Presently,
> this feature is limited only to x86_64, so let's extend it to other efi
> configurations like kexec kernel, efi=old_map and to x86_32 as well.
> This doesn't effect normal boot path because this config option should
> be used only for debug purposes.
>
> Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@...el.com>
> Cc: Borislav Petkov <bp@...en8.de>
> Cc: Ricardo Neri <ricardo.neri@...el.com>
> Cc: Matt Fleming <matt@...eblueprint.co.uk>
> Cc: Ard Biesheuvel <ard.biesheuvel@...aro.org>
> Cc: Ravi Shankar <ravi.v.shankar@...el.com>
>
> Changes since v1:
> 1. Call efi_dump_pagetable() only once from efi_enter_virtual_mode() -
> as suggested by Boris
>
> ---
> arch/x86/platform/efi/efi.c | 3 ++-
> arch/x86/platform/efi/efi_32.c | 9 ++++++++-
> arch/x86/platform/efi/efi_64.c | 5 ++++-
> 3 files changed, 14 insertions(+), 3 deletions(-)
Thanks Sai, applied.
Powered by blists - more mailing lists