From: Ingo Molnar <mingo@elte.hu>
To: "Huang, Ying" <ying.huang@intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
andi@firstfloor.org, mingo@redhat.com, tglx@linutronix.de,
Paul Jackson <pj@sgi.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm 0/4] x86_64 boot: Add linked listof struct setup_data to boot protocol
Date: Thu, 27 Mar 2008 09:32:21 +0100 [thread overview]
Message-ID: <20080327083221.GD15626@elte.hu> (raw)
In-Reply-To: <1206601743.3067.20.camel@caritas-dev.intel.com>
* Huang, Ying <ying.huang@intel.com> wrote:
> This patchset adds the linked list of struct setup_data to boot
> protocol. This is needed by EDD information and some SGI machine with
> E820 entry number > 128.
what happens with the SGI machine - does it crash (because we overflow
the e820 array) - or does it boot up with less memory available and we
get this bootup warning:
Ooops! Too many entries in the memory map!
?
I guess we should we raise E820MAX from 128 to 256 (patch below), but if
we do something worse (crash), we should fix that side-effect as well.
> Now, only the x86_64 is supported. The i386 can be supported after
> early reservation mechanism for x86 is available.
could you try to do that nevertheless? We generally prefer feature
patches after sensible unification has been done.
Ingo
-------------->
Subject: x86: more e820
From: Ingo Molnar <mingo@elte.hu>
Date: Thu Mar 27 09:18:44 CET 2008
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
include/asm-x86/e820.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: linux-x86.q/include/asm-x86/e820.h
===================================================================
--- linux-x86.q.orig/include/asm-x86/e820.h
+++ linux-x86.q/include/asm-x86/e820.h
@@ -1,8 +1,9 @@
#ifndef __ASM_E820_H
#define __ASM_E820_H
-#define E820MAP 0x2d0 /* our map */
-#define E820MAX 128 /* number of entries in E820MAP */
-#define E820NR 0x1e8 /* # entries in E820MAP */
+
+#define E820MAP 0x2d0 /* our map */
+#define E820MAX 256 /* number of entries in E820MAP */
+#define E820NR 0x1e8 /* # entries in E820MAP */
#define E820_RAM 1
#define E820_RESERVED 2
next prev parent reply other threads:[~2008-03-27 8:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 7:09 [PATCH -mm 0/4] x86_64 boot: Add linked listof struct setup_data to boot protocol Huang, Ying
2008-03-27 8:32 ` Ingo Molnar [this message]
2008-03-27 9:02 ` Paul Jackson
2008-03-27 9:09 ` Ingo Molnar
2008-03-27 9:21 ` Paul Jackson
2008-03-27 9:46 ` Ingo Molnar
2008-03-27 9:25 ` Huang, Ying
2008-03-27 9:47 ` Ingo Molnar
2008-03-27 16:36 ` H. Peter Anvin
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=20080327083221.GD15626@elte.hu \
--to=mingo@elte.hu \
--cc=andi@firstfloor.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pj@sgi.com \
--cc=tglx@linutronix.de \
--cc=ying.huang@intel.com \
/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