Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3265263ybb; Mon, 6 Apr 2020 05:38:42 -0700 (PDT) X-Google-Smtp-Source: APiQypIL9l7MMKbOgy/9+MIFfLKkVTy+fN/cDTaZaVgP6j2OOKSzhERjGr/wvWg61zL7KUxRF5Ui X-Received: by 2002:a05:6830:158e:: with SMTP id i14mr18118445otr.103.1586176722457; Mon, 06 Apr 2020 05:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586176722; cv=none; d=google.com; s=arc-20160816; b=kfowt6UVvx85Y4ax9ETDT+2KzKRSEYj+nzlALkVvByx4JC8TipWhxjVf0HVlhEzVke itosU1DpSzHQdRyboFfBhZssJZVZJZ+WANK0T2PboH/tHfQWMc+Eo8WTxLTwGanAtjsh mgzPdTkLDl31Z0b7DMbucteiU+RxBIno3hNggDTacK+COB7QrtGpcEBFO2BufJNB8P63 jLXKa6wcox+O+uIqIwzcs0ULpWdY14BF9BWYyccG8bUj2lP+QA2SbDZf7w09xSLLFYUN yxk+tkkKK6XhoH/ThMT2jpfU0PDvfRrgit+KY8w41Lf5W2OyhnQ0BgoplOz2vnkwUqbH Hbdg== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=iiNfHbyZdz43eY/ca1ZTDKaSuSr+HPfVBFPF8k2SFn4=; b=r4sgpsjNua6iJ0wPgYGkMjUeMSZA49m/wzMCRHumLdGqzlPEh5mGFfmer+S/ORGxde srpOCWFW//gemWuJMWeKzrISoIMUb4NbsZeu+d5CEBRT+wzRCW3xlQ8v6Sz7WbJb/N2y PIQRVONizGRkrEAgGPXPiUhuqJRX48TjtbqSxkjecHtpW1ITl1UZ+XF9vrLhY2Gzc+2a n8RtPoJCr54O86nOG6jsXYHcuf0G8ZzWrVu+wSKmfIX4avrctFJ9rI5/WOm06xsWk917 Qvz9OZEzhFHIrpc/9aT8cgJ8gXLuwQkSCz7THEpWyYK8v8sum4EZWJ3Fy7fguFbMA6zU kKzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@prok.pw header.s=mailru header.b=bMzBCQCX; 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 r20si7537133oog.74.2020.04.06.05.38.29; Mon, 06 Apr 2020 05:38:42 -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=@prok.pw header.s=mailru header.b=bMzBCQCX; 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 S1728018AbgDFMhG (ORCPT + 99 others); Mon, 6 Apr 2020 08:37:06 -0400 Received: from smtp17.mail.ru ([94.100.176.154]:36636 "EHLO smtp17.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727989AbgDFMhG (ORCPT ); Mon, 6 Apr 2020 08:37:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=prok.pw; s=mailru; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID; bh=iiNfHbyZdz43eY/ca1ZTDKaSuSr+HPfVBFPF8k2SFn4=; b=bMzBCQCXt7YcOnWEiuhQXHkHpXme3hxQbJAlobZMGZw+aeYrz/mPui9HSIugXP8UadagmbMKI20AZj4XGVDFimnewZ39tt+ZDRgBm2X6gtof/SSdP5mVIAbFMew58FNAe/ZG76W7pVr8pFEQZezGgA66R/U58zR9BuHoi1BapQI=; Received: by smtp17.mail.ru with esmtpa (envelope-from ) id 1jLQzt-0000PQ-Fc; Mon, 06 Apr 2020 15:37:02 +0300 Message-ID: Subject: Re: [PATCH 1/2] x86/boot/compressed/64: Remove .bss/.pgtable from bzImage From: Sergey Shatunov To: Ard Biesheuvel , Arvind Sankar Cc: bp@alien8.de, hpa@zytor.com, Linux Kernel Mailing List , mingo@redhat.com, Thomas Gleixner , x86@kernel.org, linux-efi Date: Mon, 06 Apr 2020 19:36:57 +0700 In-Reply-To: References: <20200109150218.16544-1-nivedita@alum.mit.edu> <20200405154245.11972-1-me@prok.pw> <20200405231845.GA3095309@rani.riverdale.lan> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Authentication-Results: smtp17.mail.ru; auth=pass smtp.auth=me@prok.pw smtp.mailfrom=me@prok.pw X-7564579A: 78E4E2B564C1792B X-77F55803: 0A44E481635329DB0E1AA8A03B392317D32E5E48865217365060145B739F5F5C7141CD936E95A8CDF688BCB05C26794D00EEFFA3BE1FE4186B5281BCEF864E538028E4E492F5D27DF3F88509D94693E6 X-7FA49CB5: 0D63561A33F958A580C73DA523369336E96807BD70808086B9B34D7F4F05369A8941B15DA834481FA18204E546F3947CEDCF5861DED71B2F389733CBF5DBD5E9C8A9BA7A39EFB7666BA297DBC24807EA117882F446042972877693876707352033AC447995A7AD18CB629EEF1311BF91D2E47CDBA5A965834E70A05D1297E1BBBA3038C0950A5D3613377AFFFEAFD269176DF2183F8FC7C0207D9C0C136568F07B076A6E789B0E97A8DF7F3B2552694A0E14360347543F5849FD398EE364050F140C956E756FBB7A287C8E22D4AE2A51B3661434B16C20AC446828A5085A663B75ECD9A6C639B01B78DA827A17800CE7F2C1598F50A6BE78731C566533BA786A40A5AABA2AD371193C9F3DD0FB1AF5EB82E77451A5C57BD33C9F3DD0FB1AF5EB4E70A05D1297E1BBCB5012B2E24CD356 X-D57D3AED: Y8kq8+OzVozcFQziTi/Zi1xwo7H2ZNxGP5qz8aO2mjTJzjHGC4ogvVuzB3zfVUBtENeZ6b5av1fnCBE34JUDkWdM6QxE+Ga5d8voMtmXfSo0zU/dgAo80gyxHfUpwjuv X-Mailru-Internal-Actual: A:0.8248366176939 X-Mailru-Sender: C70B145DBB19DC3370B3FB291950C1B52184C016B27618789BBACE8634A6DD1B21401CF93FD6FA558BA0E2A9D6159BD266FEC6BF5C9C28D9A91CF0FA91B32267255DC5169939796B8DAAFE1477B51D223453F38A29522196 X-Mras: Ok Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.