efi: libstub: Drop randomization of runtime memory map
authorArd Biesheuvel <ardb@kernel.org>
Tue, 11 Oct 2022 08:21:20 +0000 (10:21 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 9 Nov 2022 11:42:01 +0000 (12:42 +0100)
commit085e2ff9aeb03b591946fda422c25d6933f8948d
tree111bb8f0f0d120aafb724777b7b3595e2707aa82
parentf0c4d9fc9cc9462659728d168387191387e903cc
efi: libstub: Drop randomization of runtime memory map

Randomizing the UEFI runtime memory map requires the use of the
SetVirtualAddressMap() EFI boot service, which we prefer to avoid. So
let's drop randomization, which was already problematic in combination
with hibernation, which means that distro kernels never enabled it in
the first place.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efi-stub.c