efi/libstub: Simplify "Exiting bootservices" message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 29 Aug 2021 13:23:10 +0000 (15:23 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 5 Oct 2021 11:05:58 +0000 (13:05 +0200)
The message

    "Exiting boot services and installing virtual address map...\n"

is even shown if we have efi=novamap on the command line or the firmware
does not provide EFI_RT_SUPPORTED_SET_VIRTUAL_ADDRESS_MAP.

To avoid confusion just print

    "Exiting boot services...\n"

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/fdt.c

index 365c3a4..fe567be 100644 (file)
@@ -271,7 +271,7 @@ efi_status_t allocate_new_fdt_and_exit_boot(void *handle,
                return status;
        }
 
-       efi_info("Exiting boot services and installing virtual address map...\n");
+       efi_info("Exiting boot services...\n");
 
        map.map = &memory_map;
        status = efi_allocate_pages(MAX_FDT_SIZE, new_fdt_addr, ULONG_MAX);