Skip to content

EFI 1:1 mapping

Borislav Petkov linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 49 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4efi: Convert runtime services function ptrsarch/x86/boot/compressed/eboot.c arch/x86/include/asm/efi.h include/linux/efi.h+29 -293 replies
2/4x86, cpa: Map in an arbitrary pgdarch/x86/include/asm/pgtable_types.h arch/x86/mm/pageattr.c+65 -184 replies
3/4x86, efi: Add an efi= kernel command line parameterarch/x86/platform/efi/efi.c+16 -017 replies
4/4x86, efi: Map runtime services 1:1arch/x86/include/asm/efi.h arch/x86/platform/efi/efi.c arch/x86/platform/efi/efi_stub_64.S+180 -317 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 1:1 mapping

From: Borislav Petkov <[email protected]>

Hi all,

this one is 64-bit only for now and it has been tested only in kvm with OVMF.

Keeping in mind the ihnerent efi b0rkedness left and right, I'd like to be very cautious and conservative with this and not hurry anything until it has been actually very well tested on a variety of baremetal boxes.

Please take a closer look and let me know.

Thanks.

Borislav Petkov (4):
efi: Convert runtime services function ptrs x86, cpa: Map in an arbitrary pgd
x86, efi: Add an efi= kernel command line parameter x86, efi: Map runtime services 1:1

 arch/x86/boot/compressed/eboot.c     |   2 +-
 arch/x86/include/asm/efi.h           |  30 +++---
 arch/x86/include/asm/pgtable_types.h |   3 +-
 arch/x86/mm/pageattr.c               |  80 ++++++++++++----
 arch/x86/platform/efi/efi.c          | 177 +++++++++++++++++++++++++++++------
 arch/x86/platform/efi/efi_stub_64.S  |  48 ++++++++++
 include/linux/efi.h                  |  28 +++---
 7 files changed, 290 insertions(+), 78 deletions(-)
Signature · 1 line
1.8.3.rc1.25.g423ecb0