Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2902433pxb; Sun, 29 Aug 2021 07:10:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzooAm9vGY+nEzJqoF/yqyLzK7kJF7kpOVceY7Xqv0t+aKHzocznoCTYevvHBO1sIQKm9PA X-Received: by 2002:a17:906:4784:: with SMTP id cw4mr20119479ejc.160.1630246222539; Sun, 29 Aug 2021 07:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630246222; cv=none; d=google.com; s=arc-20160816; b=k/D26HCoX99mnS9q/YpUUgmTxckEsEd7K5hPn86AyLTSxVA8bYaIj59ZLQYvcOk32X G4uSmwsVjNwG+04jm6StuuVjtY/QknX2DD4LTBQ6dNjR9CIGr4ahwZcBVjSGccFzXuIL VnfnT1BXJyFC8LLkd5EwdC6jUT1skDWPxsFQ9w8KOHORwnLGkZYQkWCtqjsVug1135/u mcnDHBnOu2yoCpAuPz/15fVftOqBVfgylj/lo5sI3ZSoSNzkqPWBbRIce101Y8UXBqZx 5bDybkKyWEhG0kYDZL1FdTnfmbgHfeE+AX5l9jlDXwiDivLr9S7FQXWspwDJiDre+6Xp 36fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=YBJo+urgJxxDWtATEKFT6X9pj7EWNg3qwfWOKxEma7Y=; b=Kxehknhu+0jRw+FVZuKWyTRrN2qXAZ330LhUmKZaYI+cDmT+W2nvsJkLtlX2evVEUd 6gNKEQmex7OZTB3hny4yTEcCvH+lJh5zjrAOi7iz7lSKDlu+m7cySsfiG6dsVard3Hgi p7OU93OHv3RxsThtl6NBoznGtxCbGDF5LSbzfz68KH1PigsLbGFmenu7zGMMGCGMljQT s8CrMUZcVjKOi2oTOm7Vpyh5b50fw9OgCZlRfluAGEm9YpD/48c2iWQvJCOKDffuygWn 7fWbDoE1Guw9pv139/l9cLY6/fljIiNA9q7O6gt/ad1m0G09XlNQGu5/OUEiwha9rn5R 5Q4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tDladQOd; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si12522329eja.706.2021.08.29.07.09.11; Sun, 29 Aug 2021 07:10:22 -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=@kernel.org header.s=k20201202 header.b=tDladQOd; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232062AbhH2OA6 (ORCPT + 99 others); Sun, 29 Aug 2021 10:00:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:36062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhH2OA6 (ORCPT ); Sun, 29 Aug 2021 10:00:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 31A9F60F39; Sun, 29 Aug 2021 14:00:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630245606; bh=mgK01xy87hSjH3l7m4l0m0nsFd/lEgiW70qMYmQvsC4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tDladQOdBbzp+rnr3Jn1DZWDEtzXbVETtHMN1aLHWtNdVHJqsSdq4GllYFeDOQWZ7 nV8/7RrhGV/9VztZHjP9Qj+JFs3EUIkEKZoSzbyCS41ZaYicMmYWY+n0/c04tq+WlX fDT2oM4s1P5nLLS7DcZBVu6vSTcrWjo3Wt7NrfbyCYD2Qv2+b8SR86eSOVnGf224Mi O3+3y+hU6kbhK+N7Yf9zACDp/OrRBJMctyovUx2YRE6arqRd1ZC2CblExdYMCdn7W+ WMDapqvZ8S8wYR7NR3uK6JxZbhNQqLV+8+YYkiDUVp6vKMRRdhHHiYHiP/GE3GxGsP COeVfmam52RKg== Received: by mail-ot1-f43.google.com with SMTP id i8-20020a056830402800b0051afc3e373aso14843007ots.5; Sun, 29 Aug 2021 07:00:06 -0700 (PDT) X-Gm-Message-State: AOAM532CZpjJnERa20JpnpxSurhH7ciLyDV7iJmQ+NSxItvx+FteguuP WBLBSUzrN/BL6GbEzUIbJtvecbK/sfC2QhKRrvU= X-Received: by 2002:a05:6830:444:: with SMTP id d4mr15709583otc.108.1630245605549; Sun, 29 Aug 2021 07:00:05 -0700 (PDT) MIME-Version: 1.0 References: <20210829132310.75687-1-heinrich.schuchardt@canonical.com> In-Reply-To: <20210829132310.75687-1-heinrich.schuchardt@canonical.com> From: Ard Biesheuvel Date: Sun, 29 Aug 2021 15:59:54 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2: 1/1] efi/libstub: "Exiting bootservices" message To: Heinrich Schuchardt Cc: Atish Patra , Heinrich Schuchardt , linux-efi , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 29 Aug 2021 at 15:23, Heinrich Schuchardt wrote: > > 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 Queued up now, thanks. > --- > 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 >