More E820 brokenness

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <jkeating@...>, Joerg Pommnitz <pommnitz@...>, Jordan Crouse <jordan.crouse@...>, Chuck Ebbert <cebbert@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Andi Kleen <ak@...>
Date: Thursday, September 27, 2007 - 6:17 pm

As luck would have it, it's not just an obscure Geode system which has a
broken E820 implementation.  Today I received a bug report about a Dell
system (XPS M1330) with broken E820.

Unfortunately, the workaround for the Geode breaks this system, because
x86-64 doesn't fall back to the e801/88 information like the i386 kernel
does.

I wonder if the relevant people could test out this patch to see how it
works on their respective system.  This patch reverts to 2.6.23-rc8
behaviour of simply truncating the map, but still makes e801/88 info
available to the kernel; this hopefully should match 2.6.22 behaviour.

I want to emphasize that this is seriously broken.  Using a partial e820
map could have disastrous results, since the kernel will have partial
memory map information and not know about reserved areas, etc.  Part of
me feels that the right thing to do is what the current git kernel does
-- either fall back to e801, or stop and error.

(Andi: I would particularly appreciate your opinion on this issue.)

	-hpa
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
More E820 brokenness, H. Peter Anvin, (Thu Sep 27, 6:17 pm)
Re: More E820 brokenness, Jordan Crouse, (Thu Sep 27, 6:33 pm)
Re: More E820 brokenness, H. Peter Anvin, (Thu Sep 27, 6:47 pm)
Re: More E820 brokenness, Jordan Crouse, (Thu Sep 27, 7:15 pm)
Re: More E820 brokenness, H. Peter Anvin, (Thu Sep 27, 7:27 pm)
Re: More E820 brokenness, Jordan Crouse, (Thu Sep 27, 7:34 pm)
Re: More E820 brokenness, H. Peter Anvin, (Thu Sep 27, 7:36 pm)
Re: More E820 brokenness, Jordan Crouse, (Thu Sep 27, 7:54 pm)
Re: More E820 brokenness, H. Peter Anvin, (Thu Sep 27, 8:12 pm)
Re: More E820 brokenness, Rafael J. Wysocki, (Fri Sep 28, 9:05 am)
Re: More E820 brokenness, H. Peter Anvin, (Thu Sep 27, 7:22 pm)