public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hugh Dickins <hughd@google.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Hugh Dickins <hughd@google.com>,
	Dan Williams <dan.j.williams@intel.com>,
	Anjaneya Chagam <anjaneya.chagam@intel.com>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Mike Rapoport <rppt@kernel.org>
Subject: Re: 5.16-rc: "x86/boot: Pull up cmdline" breaks mem=
Date: Thu, 9 Dec 2021 09:25:30 -0800 (PST)	[thread overview]
Message-ID: <788e766-d391-addf-1d96-e27e35fa574d@google.com> (raw)
In-Reply-To: <YbH7Rlm4/mq0WuTN@zn.tnic>

On Thu, 9 Dec 2021, Borislav Petkov wrote:
> 
> Can you pls send me full dmesg and .config of the -rc1 kernel which
> still boots fine. I'd like to try to repro.

I see the action is now happening over in jdorminy's thread, thanks
for the Cc there, I'll look out for developments on that thread.

I judge that you guys understand it better by now, more thought
needed, but my dmesg and config just be noise at this stage; but of
course my testing can help when you've settled on a candidate to try.

So I'll skip sending dmesg and config now: but ask me again if they
would still be useful.

(I see efi issues prompted the failing commit: one of my machines is
legacy booted and CONFIG_EFI is not set, another is UEFI booted and
CONFIG_EFI=y: "mem=1G" is ineffective on both.)

> Next question: does it boot without having supplied "mem=" on the kernel
> cmdline?

No problem with booting whatsoever, mem=1G or not: boots fine, the problem
is just that "mem=1G" is ignored, and I'm given 8G or 16G or whatever the
machine has.

> 
> And just to make sure I understand correctly: this is 64-bit or 32-bit
> kernel?

64-bit kernel.  Until you asked, I assumed 32-bit kernel would behave
the same, but no: I just tried, and the 32-bit kernel respects "mem=1G"
as it should.

Hugh

      reply	other threads:[~2021-12-09 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  5:44 5.16-rc: "x86/boot: Pull up cmdline" breaks mem= Hugh Dickins
2021-12-09  5:49 ` Hugh Dickins
2021-12-09 10:03 ` Borislav Petkov
2021-12-09 12:49   ` Borislav Petkov
2021-12-09 17:25     ` Hugh Dickins [this message]

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=788e766-d391-addf-1d96-e27e35fa574d@google.com \
    --to=hughd@google.com \
    --cc=anjaneya.chagam@intel.com \
    --cc=bp@alien8.de \
    --cc=dan.j.williams@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rppt@kernel.org \
    --cc=x86@kernel.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