Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1375076ybb; Sat, 11 Apr 2020 01:50:59 -0700 (PDT) X-Google-Smtp-Source: APiQypI/+6rsXtXT2SwXlvF98Dvg4ePDjCW7rUBYgjf0TuDfzcBmuV7nwiotVRAuo+97tfSbkrP9 X-Received: by 2002:a05:620a:5f1:: with SMTP id z17mr4280323qkg.21.1586595059292; Sat, 11 Apr 2020 01:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586595059; cv=none; d=google.com; s=arc-20160816; b=vgGKMf1TGLWHEwy5fpYsfHzjgMv6FlSj7+mSwGlarBerAlmLRW9WuxwxcdlQ8gvt1A JQq6r4Jin7SMKVSaRjs4khWS1KJJwEg7f7Hr5zuV5tf1Jc5r40DpHbrZ3xrQkZlCe+PB h9UgMThXOrpz2ZsXRDbhGKjiBE9ftDryKtMEynu1FY8e1/FQlzyNasGYdQl1g14eta6C QelV4ZmT/DhrkCFG7/sXiqGbEVvkJcVb2fVDTpK7MevmVaICKIXbJzuKo2P/EnmLR+H9 mXS0ZPYFm9GjgqswHcbYxjHfxSRtDi/8n8ePrewB475klh475hos/lxybiC8GcIfWDoa mjrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FkqY+NVkfMFkZ8eSTByWtBEJyPDiNIhHvu0UX1+a5PA=; b=koKPHo/N293i0eBENhBJhh2XNutm2oBZNb2BDjVkrpdBtAREf07VU5ryi/EHCUrjf/ VqkRLyiQ3GquiNd/S63xCyvJdxqFOnATaw30JmDqS2EfGiXjL4m+ZkTn57QLNkXhr3X4 6hAaX+vi/sRuJwgbXxuqXZUPtGdBEUY2j5Y5YrEFcXcleZqfju3ul5mL9I5bXlRlJ79/ 5FvJqwDKrU4tJZA7vNJXCoq8d1S8ScngOWRWxZGlcorfIdLD3psG5LszL6bwNaCYeMOj +t52Abgtn3aBybv6GzQN0uHg0fzjGmmolgkkf5hK8wSHWqHTIMmnkDZeJwDxLc2wHt1d ufiw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si2325280qvo.115.2020.04.11.01.50.44; Sat, 11 Apr 2020 01:50:59 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725945AbgDKIuH (ORCPT + 99 others); Sat, 11 Apr 2020 04:50:07 -0400 Received: from www17.your-server.de ([213.133.104.17]:46416 "EHLO www17.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgDKIuH (ORCPT ); Sat, 11 Apr 2020 04:50:07 -0400 Received: from sslproxy01.your-server.de ([78.46.139.224]) by www17.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jNBpy-0002q9-Rm; Sat, 11 Apr 2020 10:50:02 +0200 Received: from [2a02:908:4c22:ec00:8ad5:993:4cda:a89f] (helo=localhost.localdomain) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNBpy-000Byu-EZ; Sat, 11 Apr 2020 10:50:02 +0200 Date: Sat, 11 Apr 2020 10:50:01 +0200 From: Thomas Meyer To: Arvind Sankar Cc: Ard Biesheuvel , Borislav Petkov , Sergey Shatunov , hpa@zytor.com, Linux Kernel Mailing List , mingo@redhat.com, Thomas Gleixner , x86@kernel.org, linux-efi , initramfs@vger.kernel.org, Donovan Tremura , Harald Hoyer Subject: Re: [PATCH 1/2] efi/x86: Move efi stub globals from .bss to .data Message-ID: <20200411085001.GA28742@localhost.localdomain> References: <20200406180614.429454-1-nivedita@alum.mit.edu> <20200410112605.GA3344@localhost.localdomain> <20200410143821.GB936997@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200410143821.GB936997@rani.riverdale.lan> X-Authenticated-Sender: thomas@m3y3r.de X-Virus-Scanned: Clear (ClamAV 0.102.2/25778/Fri Apr 10 13:52:37 2020) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 10, 2020 at 10:38:21AM -0400, Arvind Sankar wrote: > On Fri, Apr 10, 2020 at 01:26:05PM +0200, Thomas Meyer wrote: > > On Mon, Apr 06, 2020 at 02:06:13PM -0400, Arvind Sankar wrote: > > > > Hi, > > > > I did write an email to x86@kernel.org, which sadly seems to have no > > mailing list archive, I wonder if my problem has anything to do with the > > patches you are discussing here: > > > > I found this reply, which contains my original email in my inbox: > > > > Subject: Kernel v5.5 doesn't boot on my x86 laptop > > > > Hi, > > > > I'm using an old MacBookPro1,1 to run Fedora 30 (the last one to support > > x86) and a upstream up-to-date kernel, currently 5.4.16. > > > > I'm using sd-boot to boot into an EFI-enabled kernel which contains > > an embedded initram cpio image (because loading the image from kernel's > > EFI stub doesn't seem to work for some unknown reason, I tried to debug > > this but my early debugging foo is too weak). > > > > Kernel 5.4.x works correctly with this setup (but resuming from disk > > seems to have broken in 5.4.x or maybe even earlier - when resuming from > > disk I get all kind of funky OOPSes/errors, but that's another story, hopefully > > 5.5.x was fixed in this regards). > > > > So I did have a look at the commits under arch/x86/boot and "x86/boot: > > Introduce setup_indirect" (b3c72fc9a78e74161f9d05ef7191706060628f8c) did > > talk about "bump setup_header version in arch/x86/boot/header.S", so I > > did revert above commit and I was finally able to boot into v5.5 kernel! > > > > So either sd-boot also needs an upgrade or this commit does break > > something. > > Any help is welcome, don't hesitate to get in contact with me if you > > have any questions. > > > > mfg > > thomas > > > > If it is a problem with 5.5, it would be unrelated to this thread, which > is about problems introduced by patches for the upcoming 5.7. okay, ping me if I should test something on real hardware. > > Thanks.