Skip to content

x86, ptdump: a EFI related fix + enhancements

Mathias Krause lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 29 repliesIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- re-add pt_dump prefix to macros (and ignore checkpatch warnings) as suggested by Ingo

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86, ptdump: Add section for EFI runtime servicesarch/x86/include/asm/pgtable_64_types.h arch/x86/mm/dump_pagetables.c arch/x86/platform/efi/efi_64.c+6 -221 replies
2/3x86, ptdump: Simplify page flag evaluation codearch/x86/mm/dump_pagetables.c+40 -678 replies
3/3x86, ptdump: Take parent page flags into accountarch/x86/mm/dump_pagetables.c+48 -240 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/3] x86, ptdump: a EFI related fix + enhancements

This series slightly simplifies (patch 2) and then enhances (patch 3) the page table dump code to respect the page table attributes of the whole page table walk when determining the effective access rights. It also fixes the regression that the EFI runtime service mappings are no longer visible when CONFIG_X86_ESPFIX64 is set (patch 1).

Please apply!

Changelog:
v2:
- re-add pt_dump prefix to macros (and ignore checkpatch warnings) as suggested by Ingo

Mathias Krause (3):
x86, ptdump: Add section for EFI runtime services x86, ptdump: Simplify page flag evaluation code x86, ptdump: Take parent page flags into account

 arch/x86/include/asm/pgtable_64_types.h |    2 +
 arch/x86/mm/dump_pagetables.c           |  176 +++++++++++------------
 arch/x86/platform/efi/efi_64.c          |    3 +-
 3 files changed, 91 insertions(+), 90 deletions(-)
Signature · 1 line
1.7.10.4