x86/boot: efistub: Assign global boot_params variable
authorArd Biesheuvel <ardb@kernel.org>
Tue, 17 Oct 2023 13:25:13 +0000 (15:25 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 18 Oct 2023 10:03:04 +0000 (12:03 +0200)
commit50dcc2e0d62e3c4a54f39673c4dc3dcde7c74d52
tree7b7b64ca438e2fd366a0449446c60be2f0d661c5
parentd55d5bc5d937743aa8ebb7ca3af25111053b5d8c
x86/boot: efistub: Assign global boot_params variable

Now that the x86 EFI stub calls into some APIs exposed by the
decompressor (e.g., kaslr_get_random_long()), it is necessary to ensure
that the global boot_params variable is set correctly before doing so.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org
drivers/firmware/efi/libstub/x86-stub.c