Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3091911ybb; Mon, 6 Apr 2020 01:45:04 -0700 (PDT) X-Google-Smtp-Source: APiQypIeJDJv+0kQqqS7Wu9GyRJ7kW3qA39/eq3FE5Bb61PNPTkTJlnSJve/7bL5V7R2B3NOJywJ X-Received: by 2002:a9d:3b6:: with SMTP id f51mr17532238otf.255.1586162704445; Mon, 06 Apr 2020 01:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586162704; cv=none; d=google.com; s=arc-20160816; b=AaKKmgiSoTuQPcfDXjRjbZxurlXVtareBhJDPEdqU7iGMiRHHIOlDVZZ9ADFpaQ5Kn 5HHPewdrNgVrrJraowhGUulkRrsnz5WvPKw/syqmc+WuqIKyg235BwZhJMLEuBf9QVse 8XmYyNPzm/ELKf82INlqWrF1l/SwOL3bVgvuxqsp2GePeBX6RIoInIUIaY1wLTPrVVbL TUh94DkSQ5a5T918yw4BTbGUaRibCbDipzX/Q6E+yG2T4a0lTE+DZZCETub0Wyl3cS6F kFbJEODTJwJQXoZ2O3PGVDJ8zSReM2eWfkScDzmal3oEOQ1W/wlDgIpZFuA7YUVQxHww CJWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=GMSN1Fphc0U27YnwyS5FIVCfGSyo0Vdyse+rVe68+u0=; b=tYdLcMPXvCdW6vvCQoXTFaGOB9ADblFRTddnWeZoZpOXdzhGxK7HGs4uDO1fhIkYnM scqcphXybJhoaGCD5AG5gND5waWSXyPtnV0FO1IXbGWe67FmU2m3NRK8cS7MK5pkZ6VE 8/gMoXs2Bd47Ax7z143rayQ9OWI4497stn3e8hPsMKaHZ7iV5cNhAG1jzeEviHKgkmG2 EkE7A0jsT/WjinYOFD5zsaAU8uoyH0OzU2NHrb7Ty/6thNjaVtXLRGWHhbppQmL8wHXp B0eRJCKoq06lco29MeSrtU/gJeBfiV+b6DwE9BurcyagCKwj7WeBfB73k0IELeZUjGmZ BqaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Hw9JZp+s; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si7868960oov.20.2020.04.06.01.44.52; Mon, 06 Apr 2020 01:45:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Hw9JZp+s; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726675AbgDFIoi (ORCPT + 99 others); Mon, 6 Apr 2020 04:44:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726514AbgDFIoh (ORCPT ); Mon, 6 Apr 2020 04:44:37 -0400 Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0ECAB206F8; Mon, 6 Apr 2020 08:44:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586162677; bh=GMSN1Fphc0U27YnwyS5FIVCfGSyo0Vdyse+rVe68+u0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Hw9JZp+sxmxwCLJOGybQgiAhE5dxZ9gQtevlNtRlL601yRe8EmkT3xKSGhOzd7jkr Q+BwRlEdRsRwwN2ZxOHXNu0VzOVTyxrVOOApTuOvXevxkvsQjQKGqnV6ethl+WG+rO K853If+U4eaiVjO1GA/O2MKnA/cRNyeD7cNBMi5A= Received: by mail-io1-f50.google.com with SMTP id u2so1415590iop.10; Mon, 06 Apr 2020 01:44:37 -0700 (PDT) X-Gm-Message-State: AGi0PuYTDwPMfscu0pofzH83G2HJwwmCvuS30LVVGL+RdMJfuXt5OvZq VrZCODM743ckF1puDnasNs6MFUeLMEmJK3wvqVo= X-Received: by 2002:a6b:f413:: with SMTP id i19mr18731580iog.203.1586162676498; Mon, 06 Apr 2020 01:44:36 -0700 (PDT) MIME-Version: 1.0 References: <20200109150218.16544-1-nivedita@alum.mit.edu> <20200405154245.11972-1-me@prok.pw> <20200405231845.GA3095309@rani.riverdale.lan> In-Reply-To: <20200405231845.GA3095309@rani.riverdale.lan> From: Ard Biesheuvel Date: Mon, 6 Apr 2020 10:44:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] x86/boot/compressed/64: Remove .bss/.pgtable from bzImage To: Arvind Sankar Cc: Sergey Shatunov , bp@alien8.de, hpa@zytor.com, Linux Kernel Mailing List , mingo@redhat.com, Thomas Gleixner , x86@kernel.org, linux-efi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 Apr 2020 at 01:18, Arvind Sankar wrote: > > On Sun, Apr 05, 2020 at 10:42:46PM +0700, Sergey Shatunov wrote: > > This patch causes some strange things happens with my laptop. > > > > Cold boot crashed in some early initilization logic with message 'Failed to execute /esp/.../linux.efi: Buffer Too Small'. > > After couple reboots into firmware setup (bios) or hot reboot from other working kernel (without that commit) helps it to boot. > > During bisecting couple times I saw different message: 'exit_efi() failed; efi_main() failed', but above tricks helps it too. Could you please try adding 'efi=no_disable_early_pci_dma' to the kernel command line? The lack of BSS zeroization may result in that option to get inadvertently enabled, and it is known to break exit_boot() on some systems.