Re: [PATCH] Fix alignment of early reservation for EBDA

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Andi Kleen <ak@...>, Thomas Gleixner <tglx@...>, LKML <linux-kernel@...>, Alexander van Heukelum <heukelum@...>
Date: Sunday, February 24, 2008 - 4:53 pm

On Sun, 24 Feb 2008 20:41:21 +0100, "Ingo Molnar" <mingo@elte.hu> said:

It's 1024 bytes below, but yes, the EBDA starts there. Then the first
two
bytes of the EBDA contain the value 0x0001, which means that its size is
1kb, so the BIOS is correct.


Correct. I thought it was new code, but looking more closely, the
behaviour
has indeed not changed recently (note to self: git log -p somefile.c
does
not indicate in any way that code was moved from some other place.)


No regressions, it's just cosmetic.


Not really: ebda_addr is just a local variable. If the system needs to
find the start of the EBDA, it will just have to look at the 16 bit
value
at address 0x40E again.


The patch is exactly trying to do that. The code that was there seemed
to
imply that the author wanted to allocate whole pages, in such a way that
the allocation contained the whole EBDA. I think that is what it does
after this patch.

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

-- 
http://www.fastmail.fm - And now for something completely different…

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