mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: instant reboot caused by 194a9749c73d650c0
Date: Mon, 16 Apr 2018 08:07:09 +0200	[thread overview]
Message-ID: <20180416060709.mnzk7fb5y45dnpmg@gmail.com> (raw)
In-Reply-To: <5ecfeb13-84e4-f1ef-bd30-391674b2050a@gmail.com>


* Eric Dumazet <eric.dumazet@gmail.com> wrote:

> Hi Kirill
> 
> For some reason, my hosts instantly crash at boot time, with absolutely no log on console.
> 
> Bisection pointed to :
> 
> $ git bisect bad
> 194a9749c73d650c0b1dfdee04fb0bdf0a888ba8 is the first bad commit
> commit 194a9749c73d650c0b1dfdee04fb0bdf0a888ba8
> Author: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> Date:   Mon Mar 12 13:02:46 2018 +0300
> 
>     x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

Could you please send your .config? These early boot problems are sometimes build 
and Kconfig environment sensitive.

A high level description of your hardware and the distro you are using would also 
be useful.

Kirill, I'm curious about this change:

-       /* Calculate address we are running at */
-       call    1f
-1:     popl    %edi
-       subl    $1b, %edi
+       /* Calculate address of paging_enabled() once we are executing in the 
trampoline */
+       leal    paging_enabled - trampoline_32bit_src + TRAMPOLINE_32BIT_CODE_OFFSET(%ecx), %eax

Here we change the calculation from a "discover where we are executing" method to 
a calculation method (which is fundamentally more fragile) - why?

Thanks,

	Ingo

  reply	other threads:[~2018-04-16  6:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-15  4:39 Eric Dumazet
2018-04-16  6:07 ` Ingo Molnar [this message]
2018-04-16  9:15   ` Kirill A. Shutemov
2018-04-16 15:36     ` Eric Dumazet
2018-04-16 17:37       ` Kirill A. Shutemov
2018-04-16 18:16         ` Kirill A. Shutemov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180416060709.mnzk7fb5y45dnpmg@gmail.com \
    --to=mingo@kernel.org \
    --cc=eric.dumazet@gmail.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome