efi/libstub/x86: Permit cmdline data to be allocated above 4 GB
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:40 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commit1e45bf7372c48c78e1f7e538fd3e612946f6ad20
tree0f80d1de04faa33c4a0d1bc55d435d35f02d4bf1
parent8166ec091573fad528d884ede291fd1ec02d0298
efi/libstub/x86: Permit cmdline data to be allocated above 4 GB

We now support cmdline data that is 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>
arch/x86/include/asm/efi.h
drivers/firmware/efi/libstub/arm-stub.c
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/x86-stub.c