Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-26 Thread Ingo Molnar
* Alexander van Heukelum <[EMAIL PROTECTED]> wrote: > > Either way, the code should be shared between 32 and 64 bits. There > > is nothing bitsize-specific about it! > > Of course. That's also why I already added the old-Dell case ;). But > one problem at a time, please! i've applied your

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-26 Thread Ingo Molnar
* Alexander van Heukelum [EMAIL PROTECTED] wrote: Either way, the code should be shared between 32 and 64 bits. There is nothing bitsize-specific about it! Of course. That's also why I already added the old-Dell case ;). But one problem at a time, please! i've applied your patch to

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread H. Peter Anvin
Alexander van Heukelum wrote: Hello hpa, I failed to find a comment referring to 0x413 or int 0x12 in arch/x86/kernel. I do know the comment in Documentation/i386/boot.txt, however, suggesting that "INT 12h" _should_ be used, but that it would be pointless for zImage and old bzImage kernels,

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread Alexander van Heukelum
On Mon, 25 Feb 2008 10:13:17 -0800, "H. Peter Anvin" <[EMAIL PROTECTED]> said: > Alexander van Heukelum wrote: > > > > arch/x86/kernel/head64.c | 45 > > +++-- > > 1 files changed, 27 insertions(+), 18 deletions(-) > > > > diff --git

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread H. Peter Anvin
Alexander van Heukelum wrote: arch/x86/kernel/head64.c | 45 +++-- 1 files changed, 27 insertions(+), 18 deletions(-) diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 38f32e7..b684552 100644 --- a/arch/x86/kernel/head64.c +++

[PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread Alexander van Heukelum
Explicitly reserve_early the whole address range from the end of conventional memory as reported by the bios data area up to the 1Mb mark. Regard the info retrieved from the BIOS data area with a bit of paranoia, though, because some biosses forget to register the EBDA correctly. Signed-off-by:

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread H. Peter Anvin
Alexander van Heukelum wrote: arch/x86/kernel/head64.c | 45 +++-- 1 files changed, 27 insertions(+), 18 deletions(-) diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 38f32e7..b684552 100644 --- a/arch/x86/kernel/head64.c +++

[PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread Alexander van Heukelum
Explicitly reserve_early the whole address range from the end of conventional memory as reported by the bios data area up to the 1Mb mark. Regard the info retrieved from the BIOS data area with a bit of paranoia, though, because some biosses forget to register the EBDA correctly. Signed-off-by:

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread Alexander van Heukelum
On Mon, 25 Feb 2008 10:13:17 -0800, H. Peter Anvin [EMAIL PROTECTED] said: Alexander van Heukelum wrote: arch/x86/kernel/head64.c | 45 +++-- 1 files changed, 27 insertions(+), 18 deletions(-) diff --git a/arch/x86/kernel/head64.c

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread H. Peter Anvin
Alexander van Heukelum wrote: Hello hpa, I failed to find a comment referring to 0x413 or int 0x12 in arch/x86/kernel. I do know the comment in Documentation/i386/boot.txt, however, suggesting that INT 12h _should_ be used, but that it would be pointless for zImage and old bzImage kernels,