Skip to content

EFI mixed mode fixes

Ard Biesheuvel linux-efi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/efistub: Call mixed mode boot services on the firmware's stackarch/x86/boot/compressed/efi_mixed.S+9 -10 replies
2/2x86/efistub: Don't clear BSS twice in mixed modedrivers/firmware/efi/libstub/x86-stub.c+2 -10 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/2] EFI mixed mode fixes

From: Ard Biesheuvel <[email protected]>

Two fixes for mixed mode:
- run EFI boot services from the firmware's stack, to avoid overruns
- don't wipe BSS twice in mixed mode

Whether or not this fixes Clayton's issue remains to be seen, but these need to be fixed in any case.

Cc Clayton Craft <[email protected]>

Ard Biesheuvel (2):
x86/efistub: Call mixed mode boot services on the firmware's stack x86/efistub: Don't clear BSS twice in mixed mode

 arch/x86/boot/compressed/efi_mixed.S    | 10 +++++++++-
 drivers/firmware/efi/libstub/x86-stub.c |  3 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)
Signature · 1 line
2.44.0.396.g6e790dbe36-goog