efi/libstub/x86: Permit bootparams struct to be allocated above 4 GB
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:39 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commit6a4db9bfdd56ede30686d8e1cfadedc8b22a6bf5
tree9f49070a773ff9e2060c1b78491d12ac19ad0548
parenta46a290a01149120f40f83a694d3e6041bcf8f70
efi/libstub/x86: Permit bootparams struct to be allocated above 4 GB

We now support bootparams structures that are located in memory that
is not 32-bit addressable, so relax the allocation limit on systems
where this feature is enabled.

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