Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2876417pxb; Sun, 29 Aug 2021 06:24:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyR/vJl8+9vKk3PkXHYV/cEx1KfUuExpeYQVul137OiEr74Nd8BU6rAODNBCOPfsA1zBDF X-Received: by 2002:a92:c601:: with SMTP id p1mr12885064ilm.284.1630243472809; Sun, 29 Aug 2021 06:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630243472; cv=none; d=google.com; s=arc-20160816; b=y+QTaanH3sLRIt00c9jPPTNpGMkxeOROTK6A1TsAR8thzTJMi/9KZdt3bGhp4eWW2j NEFbLbJ2B04yrUaygWz9Ji1TA6vUmjQ29KGuDR45l5zEtyqIP2nyF/3MoTguZMyXLFOI ioip+dg7Nlwi8mLLvaRM5t1eYrXXfB4vM1SIvX+EGgXT9f8GcmTQRjIYUY1i7OQDdHe9 /cPOx/H1FZcoUUqTwAvqTDGEc4KwBjgbXg++6wPgTGhwTx46kg/DxHu+Zqx7v4Ksx946 9aTFxUzxpBQoXH7amzXnyw7Ab1luc9jWiJfRpVBtqhO5s6DC9STgkkLG+YX2Op/8h0gm ufGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Lck8ieg/DRVz0Gp1/fiKpkSJ54XkbC9/gukX6sShCVA=; b=QyVx8diry1Og3qm7QFHzgF6ts15L2kIPVvUO69+zqebwJ/Sewds0GYA2sjHUuG3wYD D0u4/y4SW7VYlc5B4RTCDOJoYY9vo19uBES5t3ohsFYqwxtNsH9WkCUh6yeolN95beel HcyxWDREexhPbRIJf0+6mPGYXAPliqE0I5+NwjNLdtKeeqUn2NhxynV1tGF6Wz/JHmFL bYkmBjEjeNvC+4xZw5lmpPNSX0L5PnYLcx8hl/seMX2wnFTPYyOPqnEew4dZIATK1dY4 DoSTdGnZunIjdxDJEIb3Y0Lm989JjOppe24ytkce8qN3VhU9LcfUOF213v0l5wOCr0K+ ynLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Xp1+St3j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay32si12328326jab.33.2021.08.29.06.24.21; Sun, 29 Aug 2021 06:24:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Xp1+St3j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235491AbhH2NYJ (ORCPT + 99 others); Sun, 29 Aug 2021 09:24:09 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:43814 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235376AbhH2NYI (ORCPT ); Sun, 29 Aug 2021 09:24:08 -0400 Received: from workstation5.fritz.box (ip-88-152-144-157.hsi03.unitymediagroup.de [88.152.144.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 837F83F0B8; Sun, 29 Aug 2021 13:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1630243395; bh=Lck8ieg/DRVz0Gp1/fiKpkSJ54XkbC9/gukX6sShCVA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Xp1+St3j8flp394JKP8Spx5GM1WW090lOQ+G4xpW6rDhipjXBx9PgWIzACu/iLKI6 8sA+O6ChILCe5f3/6KctodaZJPIkewqXgSpjhLhO0c4ymArYMkmfV8w40jZN84NQvK sAXvJU8qj2d8lBshtY1Cyub/FKqhHM3vknVFFi2zpQZpkj3syIiut3/NyHsntnXlmJ thcrmh0QZ1ps2rVv2fsq/maaICMvN+XO0PpSCeGbEvAtHKxXoCv7LpFbDXFtu+x687 xo9yGOYv3Fn4dgx9NCnV8QKGdegV4ToqqyIgardHYtj3GCoJIirHzWqPDpP+emG0ZF zABBFVbNl3tPg== From: Heinrich Schuchardt To: Ard Biesheuvel Cc: Atish Patra , Heinrich Schuchardt , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt Subject: [PATCH v2: 1/1] efi/libstub: "Exiting bootservices" message Date: Sun, 29 Aug 2021 15:23:10 +0200 Message-Id: <20210829132310.75687-1-heinrich.schuchardt@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- v2: reduce complexity, use same message irrespective of efi_novamap --- drivers/firmware/efi/libstub/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/libstub/fdt.c b/drivers/firmware/efi/libstub/fdt.c index 365c3a43a198..fe567be0f118 100644 --- a/drivers/firmware/efi/libstub/fdt.c +++ b/drivers/firmware/efi/libstub/fdt.c @@ -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); -- 2.30.2