Re: [PATCH 1/2] x86/boot/compressed/64: Remove .bss/.pgtable from bzImage

From: Ard Biesheuvel
Date: Mon Apr 06 2020 - 04:44:39 EST


On Mon, 6 Apr 2020 at 01:18, Arvind Sankar <nivedita@xxxxxxxxxxxx> 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.