Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3302468ybb; Mon, 6 Apr 2020 06:21:17 -0700 (PDT) X-Google-Smtp-Source: APiQypK/tIJqyH9bnmG/BD28ctPZDLavbxRIF70wl3vJnc5z0l0srFJyYV16bGnfR3Ux2vd9T8ho X-Received: by 2002:a9d:7cd5:: with SMTP id r21mr2566456otn.346.1586179277614; Mon, 06 Apr 2020 06:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586179277; cv=none; d=google.com; s=arc-20160816; b=uQbs/YjvCT30jNYVC2aSWkH0OSUcs8ohQNBVr7z5f6QcMTBI+Qk+L7KiOB3qsRZwG5 ZJWNn7GtO+lBnHxdUJf1XX4AWhzgUlK/K5kNXvuKo7LLrjftNl1Gz/y1Pt2yJqYGy6Dt aCmkAhV57EI88I2iHwtikA7SitVVjpWh/drG/pRrXwbgotCULbIHHfZd3vxu7Z39iJ29 1CjHmtdhV4bVxPRS+HfiaBiysa5rF5/NWicLjGdccs1nBpwPXcTE/BOq/1KF007bJa4q UVbor0I53ZbYANxQPyK5PfJP7dcC141OX41I6/JxmhbOpG45haTRMGQDz514LtEgPi4H fFmQ== 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=/diuoYfDNps0PKm2EIWXg6vofs6Y/sYAPX1d3JHK3e0=; b=RuHAE7Zryfk2VWkrF3/szliqRs2FuJQ/CJK7o/TsskryvJ6/kCumApTzqdFZH1NF7T qqb7W8Icdmby3M50YeoILMCUbu3cFp+kuY6q7QpEphivCAcjzm1S3IR+8cPHYSL1iFdk qg+lL4hbEs69P2N5N91XDguIXy0/7vzZYdNUls+OJjKd2/Vtn9lYSi6zjIXF3NAibXIn m7SSVBR2+0QwJnOVWirjQhfzB1ffZQVCAiYUJ3JsD6cBkeGuyEv2Tb9yM10wVpNGdIKW 720wT4JdDdxv8Oc9rZZLXCV6Njs51V/2IRQP0bNUJlTSARDWnfNf2RUxVNS6A49kesCq utuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FArWIS8O; 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 f41si8025487otf.280.2020.04.06.06.21.04; Mon, 06 Apr 2020 06:21:17 -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=FArWIS8O; 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 S1728254AbgDFNUn (ORCPT + 99 others); Mon, 6 Apr 2020 09:20:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:57010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728018AbgDFNUm (ORCPT ); Mon, 6 Apr 2020 09:20:42 -0400 Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (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 D657F22525; Mon, 6 Apr 2020 13:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586179241; bh=/diuoYfDNps0PKm2EIWXg6vofs6Y/sYAPX1d3JHK3e0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FArWIS8OLKRTDCnIfmIbvUX4FgyIkn7NrYdAag0/m9S/xVCiz1+7C3pnFQ6/FJpjW aWAQmUv2qS9idelP1leM1rj+/KNw+Yx+GgWfVX9H1UXRrMlSXcQ7rpe8XJ+F6nDhT9 Kp8fF+mpqxCR6vlT6Ib1hAVZwGJWu1JfpSgBsImI= Received: by mail-io1-f45.google.com with SMTP id b12so15646810ion.8; Mon, 06 Apr 2020 06:20:41 -0700 (PDT) X-Gm-Message-State: AGi0PuZN+4UxCG0+nxvJtHWGC9kOwucu0pP0AeASLoG8iEYGHvVN9Sc1 Z6ZTUr6cowuLKDK0yCr/onUAFp3B/rAwtu1bOnU= X-Received: by 2002:a5d:8b83:: with SMTP id p3mr19192941iol.16.1586179241352; Mon, 06 Apr 2020 06:20:41 -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: From: Ard Biesheuvel Date: Mon, 6 Apr 2020 15:20:30 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] x86/boot/compressed/64: Remove .bss/.pgtable from bzImage To: Sergey Shatunov Cc: Arvind Sankar , Borislav Petkov , 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 15:14, Sergey Shatunov wrote: > > On Mon, 2020-04-06 at 10:44 +0200, Ard Biesheuvel wrote: > > 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. > > With 'efi=no_disable_early_pci_dma' it works again. > Thanks Sergey