Skip to content

EFI memmap fix v2

Borislav Petkov linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 25 repliesIn review

Changelog from the cover letter

* v1:

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86, ptdump: Add the functionality to dump an arbitrary pagetablearch/x86/include/asm/pgtable.h arch/x86/mm/dump_pagetables.c+53 -2718 replies
2/4efi: Dump the EFI page tablearch/x86/platform/efi/efi.c+11 -02 replies
3/4x86, pageattr: Export page unmapping interfacearch/x86/include/asm/pgtable_types.h arch/x86/mm/pageattr.c+33 -130 replies
4/4efi: Make efi virtual runtime map passing more robustarch/x86/include/asm/efi.h arch/x86/platform/efi/efi.c arch/x86/platform/efi/efi_32.c +1 more+80 -223 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] EFI memmap fix v2

From: Borislav Petkov <[email protected]>

Ok, here's v2 rebased and rediffed against tip (which has the relevant efi branches).

Toshi, I'm pushing it to:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git#efi-fixes

so that you can give it another run and so that the build robot can poke at it.

Thanks.

Changelog:

* v1:

this is the result of Toshi and me debugging a #GP on one of his big HP boxes sporting UEFI. Each commit message should be self-explanatory so please look there.

This has more or less an RFC nature thus I'm sending it now to collect feedback. It is going to wait in the EFI queue anyway after the kexec stuff gets sorted out first.

Comments and suggestions as always are very much appreciated.

Borislav Petkov (4):
x86, ptdump: Add the functionality to dump an arbitrary pagetable
efi: Dump the EFI page table
x86, pageattr: Export page unmapping interface
efi: Make efi virtual runtime map passing more robust

 arch/x86/include/asm/efi.h           |  3 +-
 arch/x86/include/asm/pgtable.h       |  3 +-
 arch/x86/include/asm/pgtable_types.h |  2 +
 arch/x86/mm/dump_pagetables.c        | 77 ++++++++++++++++++++++++------------
 arch/x86/mm/pageattr.c               | 44 +++++++++++++++------
 arch/x86/platform/efi/efi.c          | 73 ++++++++++++++++++++++++++--------
 arch/x86/platform/efi/efi_32.c       |  6 ++-
 arch/x86/platform/efi/efi_64.c       | 31 +++++++++++++--
 8 files changed, 177 insertions(+), 62 deletions(-)
Signature · 1 line
1.8.5.2.192.g7794a68