lkml.org 
[lkml]   [2008]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] tip/x86_64: fix e820 merge issue which broke max_pfn_mapped
On Tue, Jul 8, 2008 at 4:08 PM, Suresh Siddha <suresh.b.siddha@intel.com> wrote:
> With out this 64bit tip/master doesn't boot using ACPI on my system.
> ---
>
> max_pfn_mapped should include all e820 entries.
> The direct mapping extends to max_pfn_mapped, so that we can directly access
> apertures, ACPI and other tables without having to play with fixmaps.
>
> With this, my system with 1GB memory boots fine with ACPI enabled.
>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
> ---

please check

[PATCH] x86: introduce page_size_mask for 64bit
http://lkml.org/lkml/2008/7/8/49
[PATCH] x86: not overmap than end in init_memory_mapping - 64bit
http://lkml.org/lkml/2008/7/8/50

with this patch, on system that support gbpages
change
last_map_addr: 1080000000 end: 1078000000
to
last_map_addr: 1078000000 end: 1078000000

/sys/kernel/debug/kernel_page_tables
0xffff881040000000-0xffff881074400000 836M RW PSE GLB NX pmd
0xffff881074400000-0xffff8810744b0000 704K RW GLB NX pte
0xffff8810744b0000-0xffff8810744c0000 64K RW PCD GLB NX pte
0xffff8810744c0000-0xffff881074600000 1280K RW GLB NX pte
0xffff881074600000-0xffff881080000000 186M RW PSE
GLB NX pmd ---> wrong
0xffff881080000000-0xffff888000000000 446G pud
0xffff888000000000-0xffffc20000000000 58880G pgd
===>
0xffff881040000000-0xffff881074400000 836M RW PSE GLB NX pmd
0xffff881074400000-0xffff8810744a0000 640K RW GLB NX pte
0xffff8810744a0000-0xffff8810744b0000 64K RW PCD GLB NX pte
0xffff8810744b0000-0xffff881074600000 1344K RW GLB NX pte
0xffff881074600000-0xffff881078000000 58M RW PSE GLB NX pmd
0xffff881078000000-0xffff881080000000 128M pmd
0xffff881080000000-0xffff888000000000 446G pud
0xffff888000000000-0xffffc20000000000 58880G pgd

YH


\
 
 \ /
  Last update: 2008-07-09 02:51    [W:0.042 / U:2.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site