Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2635550ybl; Sun, 2 Feb 2020 03:12:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzk2Wbt6G9uxdpkESA4SuHzQucbZK2Xf0K5bbgPPF8ZiTloDkGa3MQn3A+Vmz2n4/rwii44 X-Received: by 2002:a9d:6b84:: with SMTP id b4mr14334830otq.190.1580641954418; Sun, 02 Feb 2020 03:12:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580641954; cv=none; d=google.com; s=arc-20160816; b=FBcm2dl6yKjULFIW0vQ5sPs/7yNdDII0vZkGvpgWEQGCdSyaGK6iACkXnRV6yVaNKg Z82c3QvHiKfNp5q6PuMI7giOS9bRMFRCMST7SGXemwZFVh5PnR5rIOakFl3LOStdvQtm nQGiN3nYV/qQVG8ITpbNWHbOSS1owXPOBw5DXMOX/YqvwfdxiCr1iUJE9INN+omiKysb 8fteRtQ2RlG0SZRcG0sM3eQUCQUazdihUNVS9fVS6/Q5pjPDMZCe2iljOaE9XdvrdsVO VnoRUohXSsLPVQn/qb4CiC3Qyeoi15mlIgExllqxXz4Wjm2KLEniavcluKA/shgyPvBd kdVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ap1iT7SLhLil8Jw+Ki2RQaJZCtXHtNEHLUsGTg71AVg=; b=PD9NzSoawlcOR+eXhJNVSVDy0U+OE5tPbu6y8DAe+DO1kUJCmmNl03gYkgiL/R4jwJ nf/nZyqgb59wZnSsQckWO8NuOPDa4O0GjDVO9BOwmQfIZFuI+qhwCPS1xvEPEIkSpntA Fdeq8T9sh+WpVtddWpoTfOkN7PJuIDkeKM9gbEwMvW92gf3LB0rXal2Pz4DGEnNu1xEf fKMm2KE0HIKkynSby+HOiE9PFL0VCfzOTh/vCuR41kZ/YB0AciU8XbVrYqMmprco0HPC aAwIz92Dk8apvVN11LJnro9HTP8pbeblLmnSm3/wrV0BgT0A6TED1Saf92IGEdapZczE 8mnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dcWdUf6V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si8040511otk.196.2020.02.02.03.12.22; Sun, 02 Feb 2020 03:12:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dcWdUf6V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726561AbgBBLHf (ORCPT + 99 others); Sun, 2 Feb 2020 06:07:35 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:45006 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbgBBLHf (ORCPT ); Sun, 2 Feb 2020 06:07:35 -0500 Received: by mail-lj1-f193.google.com with SMTP id q8so11606309ljj.11 for ; Sun, 02 Feb 2020 03:07:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ap1iT7SLhLil8Jw+Ki2RQaJZCtXHtNEHLUsGTg71AVg=; b=dcWdUf6Ve1Iyamlavd+vB1+W/HWa87sxZS70lJNeguTYxtcYz9kbcdXy8BLIYGbLw9 OGCJeYyhbEs5mNiJFzOSP0r14U8xW/Io+hJxUYx6lcQ5nWLz/taEapFvyHer9zGKAD6y CYAuakkaXI/syFc5G+abwykfV7TwLd4QfHvHHfrJsJa7BCYVueirSOSqe04c1hb3CeBf dqW/ahPVKGVCrLC+PPDFv89Lba6gm6yfLote5URFft0bkGXWCdAp8u9LlRCAE4bgX1PR 6Zuyg4jgd3vyGe66Sw/R0ffBkETlCPGlzVfTN0ZzEL1b2bRUxUqdfJQoGdm6ynOb0C5X 10PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ap1iT7SLhLil8Jw+Ki2RQaJZCtXHtNEHLUsGTg71AVg=; b=NWMHrg7gjwyELRyJnJCtMgtB+KHpeuyYwonY+EpWEx1aCq3O2hOQ+lG9VXLxLX/KL1 CbfzHwOnWWVdmvELNoND6GBkUdZgdzXK0W+WBgl69pLk0UWwpurjFnYgYtwA2Gw3bmVS 8wWDpkFZbPv4s/jJvNACLGPxLx7tK8Qk85Z636HCcBwwJjPu3q+Ey7nc8ejckVHs+UnF bCqt2j9gX0KeF5+CYxM9E9NELiprkInXxBvtQgryTTFCB4X970HXvAi4YdH0hym6DkhL VF/+NtRDEOkLEdUSoZJU7cCAFZl7UOsX3lAB4fO+ZHuAF1l0GuJOyUHeIg/ly7fvJdoF ib4w== X-Gm-Message-State: APjAAAU7V0/5yozRUdUPuM2a7IOBAevzEaSIq12M/wNbKTEr6UGUEM9F A/m7dLrh7m9KTttv6HQTsWpjU/U72nD/Uyu3/ZqY X-Received: by 2002:a2e:85cd:: with SMTP id h13mr11107177ljj.191.1580641651453; Sun, 02 Feb 2020 03:07:31 -0800 (PST) MIME-Version: 1.0 References: <20200131064327.GB130017@gmail.com> <20200131183658.GA71555@gmail.com> <20200202092255.GA72728@gmail.com> In-Reply-To: <20200202092255.GA72728@gmail.com> From: =?UTF-8?Q?J=C3=B6rg_Otte?= Date: Sun, 2 Feb 2020 12:07:20 +0100 Message-ID: Subject: Re: EFI boot crash regression (was: Re: 5.6-### doesn't boot) To: Ingo Molnar Cc: Ard Biesheuvel , Dan Williams , Ard Biesheuvel , Linus Torvalds , Linux Kernel Mailing List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am So., 2. Feb. 2020 um 10:22 Uhr schrieb Ingo Molnar : > > > * Ard Biesheuvel wrote: > > > Hello J=C3=B6rg, > > > > Could you please try whether the change below fixes the issue? > > > > diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c > > index 59f7f6d60cf6..ae923ee8e2b4 100644 > > --- a/arch/x86/platform/efi/efi.c > > +++ b/arch/x86/platform/efi/efi.c > > @@ -308,7 +308,7 @@ static void __init efi_clean_memmap(void) > > .phys_map =3D efi.memmap.phys_map, > > .desc_version =3D efi.memmap.desc_version, > > .desc_size =3D efi.memmap.desc_size, > > - .size =3D data.desc_size * (efi.memmap.nr_map -= n_removal), > > + .size =3D efi.memmap.desc_size * (efi.memmap.nr= _map - n_removal), > > .flags =3D 0, > > Oh, I actually noticed this one, but convinced myself that it's correct, > because GCC didn't warn about uninitialized data. > > But maybe in this weird case data.desc_size as used within its own > initializer is zero? > Patch makes my kernel booting again :) Thanks, J=C3=B6rg