lkml.org 
[lkml]   [2020]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] Minimize the need to move the kernel in the EFI stub
Date
This series adds the ability to use the entire PE image space for
decompression, provides the preferred address to the PE loader via the
header, and finally restricts efi_relocate_kernel to cases where we
really need it rather than whenever we were loaded at something other
than preferred address.

Based on tip:efi/core + the cleanup series just posted [1]
[1] https://lore.kernel.org/linux-efi/20200301230436.2246909-1-nivedita@alum.mit.edu/

Arvind Sankar (5):
x86/boot/compressed/32: Save the output address instead of
recalculating it
efi/x86: Decompress at start of PE image load address
efi/x86: Add kernel preferred address to PE header
efi/x86: Remove extra headroom for setup block
efi/x86: Don't relocate the kernel unless necessary

arch/x86/boot/compressed/head_32.S | 42 +++++++++++++++--------
arch/x86/boot/compressed/head_64.S | 38 +++++++++++++++++++--
arch/x86/boot/header.S | 6 ++--
arch/x86/boot/tools/build.c | 44 ++++++++++++++++++-------
drivers/firmware/efi/libstub/x86-stub.c | 32 +++++++++++++++---
5 files changed, 127 insertions(+), 35 deletions(-)

--
2.24.1

\
 
 \ /
  Last update: 2020-03-02 00:06    [W:0.185 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site