diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-09-12 20:32:05 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-09-26 12:15:00 +0200 |
commit | c33ce984435bb6142792802d75513a71e55d1969 (patch) | |
tree | 9328947a552433c26291f844fa86c6485606d214 /LICENSES | |
parent | b8b39bff3c7c07a5a8c85ebfd25d5b3ab3b3e2a1 (diff) | |
download | linux-c33ce984435bb6142792802d75513a71e55d1969.tar.bz2 |
efi/x86: Call efi_parse_options() from efi_main()
Before this commit we were only calling efi_parse_options() from
make_boot_params(), but make_boot_params() only gets called if the
kernel gets booted directly as an EFI executable. So when booted through
e.g. grub we ended up not parsing the commandline in the boot code.
This makes the drivers/firmware/efi/libstub code ignore the "quiet"
commandline argument resulting in the following message being printed:
"EFI stub: UEFI Secure Boot is enabled."
Despite the quiet request. This commits adds an extra call to
efi_parse_options() to efi_main() to make sure that the options are
always processed. This fixes quiet not working.
This also fixes the libstub code ignoring nokaslr and efi=nochunk.
Reported-by: Peter Robinson <pbrobinson@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions