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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexander van Heukelum
Date: Monday, February 25, 2008 - 12:46 pm

On Mon, 25 Feb 2008 10:13:17 -0800, "H. Peter Anvin" <hpa@zytor.com>
said:

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, because they _have_
to be started from 0x90000 anyway. New bzImage kernels do not have
this limitation, and smart bootloaders simply put them at much
lower addresses, like 0x40000. (I know: you know.) My point is just
that the argument not to use 0x413 in the bootloader is not valid
for this case.

That leaves the possibility that code/data is inserted at the top of
conventional memory by either the BIOS or some kind of bootloader.
My view on this is that this code/data should be preserved: it
was specifically asked from us by lowering 0x413. One just loses
a tiny bit of usable memory, and if the program booting the kernel
knows better it can unload the driver if it wants to. It's just
not a kernel problem.


Of course. That's also why I already added the old-Dell case ;).
But one problem at a time, please!

Greetings,
    Alexander
-- 
  Alexander van Heukelum
  heukelum@fastmail.fm

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?

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

Messages in current thread:
[PATCH] Fix alignment of early reservation for EBDA, Alexander van Heukelum, (Sun Feb 24, 10:46 am)
Re: [PATCH] Fix alignment of early reservation for EBDA, Ingo Molnar, (Sun Feb 24, 12:41 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA, Alexander van Heukelum, (Sun Feb 24, 1:53 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA, H. Peter Anvin, (Sun Feb 24, 7:18 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA, Alexander van Heukelum, (Mon Feb 25, 9:54 am)
Re: [PATCH] Fix alignment of early reservation for EBDA, Ingo Molnar, (Mon Feb 25, 10:01 am)
[PATCH] reserve_early end-of-conventional-memory to 1MB, Alexander van Heukelum, (Mon Feb 25, 11:07 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB, H. Peter Anvin, (Mon Feb 25, 11:13 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB, Alexander van Heukelum, (Mon Feb 25, 12:46 pm)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ..., Alexander van Heukelum, (Wed Feb 27, 1:01 pm)
[PATCH] reserve end-of-conventional-memory to 1MB on 32-bit, Alexander van Heukelum, (Thu Feb 28, 6:13 am)
[RFC] use realmode code to reserve end-of-conventional-mem ..., Alexander van Heukelum, (Thu Feb 28, 6:28 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Fri Feb 29, 4:49 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Fri Feb 29, 11:38 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Fri Feb 29, 11:56 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Fri Feb 29, 3:26 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Sat Mar 1, 9:09 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 6 ..., Alexander van Heukelum, (Sat Mar 1, 9:12 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Tue Mar 4, 6:31 am)
Re: [RFC] use realmode code to reserve end-of-conventional ..., Jeremy Fitzhardinge, (Tue Mar 4, 8:13 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Jeremy Fitzhardinge, (Tue Mar 4, 8:18 am)
Re: [RFC] use realmode code to reserve end-of-conventional ..., Jeremy Fitzhardinge, (Tue Mar 4, 9:02 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Alexander van Heukelum, (Tue Mar 4, 9:51 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ..., Jeremy Fitzhardinge, (Tue Mar 4, 10:11 am)
Re: [RFC] use realmode code to reserve end-of-conventional ..., Jeremy Fitzhardinge, (Tue Mar 4, 10:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB, 32- ..., Alexander van Heukelum, (Tue Mar 4, 11:57 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB, 64- ..., Alexander van Heukelum, (Tue Mar 4, 12:12 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ..., Jeremy Fitzhardinge, (Wed Mar 5, 9:38 am)
Re: [RFC] use realmode code to reserve end-of-conventional ..., Jeremy Fitzhardinge, (Wed Mar 5, 10:28 am)