Re: c88d71508e ("x86/boot/64: Rewrite startup_64() in C"): BUG: kernel reboot-without-warning in early-boot stage, last printk: Booting the kernel.

From: Kirill A. Shutemov
Date: Fri Jun 16 2017 - 07:30:57 EST


On Fri, Jun 16, 2017 at 10:16:30AM +0200, Ingo Molnar wrote:
>
> * kernel test robot <fengguang.wu@xxxxxxxxx> wrote:
>
> > Greetings,
> >
> > 0day kernel testing robot got the below dmesg and the first bad commit is
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> >
> > commit c88d71508e36b514413464bd2e01f96f34583a0e
> > Author: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> > AuthorDate: Tue Jun 6 14:31:26 2017 +0300
> > Commit: Ingo Molnar <mingo@xxxxxxxxxx>
> > CommitDate: Tue Jun 13 08:56:54 2017 +0200
> >
> > x86/boot/64: Rewrite startup_64() in C
> >
> > The patch write most of startup_64 logic in C.
> >
> > This is preparation for 5-level paging enabling.
> >
> > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
>
> Kirill, should I drop the 5-level paging series for now, or is there a fix in the
> works?

The patch below works for me, but I don't really understant all details of
how linking kernel image works.

Please double check that it makes sense.