Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1641746 > unrolled thread

Re: [PATCH V2] x86/efi: Add EFI_PGT_DUMP support for x86_32, kexec

Started byMatt Fleming <matt@codeblueprint.co.uk>
First post2017-05-15 16:30 +0200
Last post2017-05-15 16:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V2] x86/efi: Add EFI_PGT_DUMP support for x86_32, kexec Matt Fleming <matt@codeblueprint.co.uk> - 2017-05-15 16:30 +0200

#1641746 — Re: [PATCH V2] x86/efi: Add EFI_PGT_DUMP support for x86_32, kexec

FromMatt Fleming <matt@codeblueprint.co.uk>
Date2017-05-15 16:30 +0200
SubjectRe: [PATCH V2] x86/efi: Add EFI_PGT_DUMP support for x86_32, kexec
Message-ID<tHpaz-Ra-29@gated-at.bofh.it>
On Thu, 11 May, at 12:20:33PM, Sai Praneeth Prakhya wrote:
> From: Sai Praneeth <sai.praneeth.prakhya@intel.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@intel.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Ricardo Neri <ricardo.neri@intel.com>
> Cc: Matt Fleming <matt@codeblueprint.co.uk>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Ravi Shankar <ravi.v.shankar@intel.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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web