Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: <dinhngoc.tu@irit.fr>
To: 'Simon Horman' <horms@verge.net.au>
Cc: kexec@lists.infradead.org
Subject: RE: [PATCH] kexec-tools: multiboot2: Correct BASIC_MEMINFO memory units
Date: Tue, 5 Oct 2021 11:13:45 +0200	[thread overview]
Message-ID: <001601d7b9c9$4c8be2c0$e5a3a840$@irit.fr> (raw)
In-Reply-To: <20211005081832.GA23961@vergenet.net>

> Thanks,
> 
> I'm curious to know how the current code could have worked.
> Do we have some testing to verify this change?

Hi,

The current code is not actually used very often when loading Xen (which is
one of the few things that actually support Multiboot2), as Xen uses the
EBDA instead of the MB2 memory information on the MB2 boot path.
However this blows up on EFI systems without CSM (as EBDA is no longer
available).

I tested the loading of KVM->Xen and Xen->Xen with this patch and a patched
version of Xen that trusts the MB2 information, on a laptop and a server.

The Multiboot2 documentation at
https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html#Basic-mem
ory-information also supports the change.


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2021-10-05  9:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 17:03 [PATCH] kexec-tools: multiboot2: Correct BASIC_MEMINFO memory units dinhngoc.tu
2021-10-05  8:18 ` Simon Horman
2021-10-05  9:13   ` dinhngoc.tu [this message]
2021-10-20 10:01     ` Simon Horman

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='001601d7b9c9$4c8be2c0$e5a3a840$@irit.fr' \
    --to=dinhngoc.tu@irit.fr \
    --cc=horms@verge.net.au \
    --cc=kexec@lists.infradead.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