xen-devel
[Xen-devel] Re: [PATCH 04/10] i386: clean up bzImage generation
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Subject: |
[Xen-devel] Re: [PATCH 04/10] i386: clean up bzImage generation |
From: |
"H. Peter Anvin" <hpa@xxxxxxxxx> |
Date: |
Fri, 15 Jun 2007 09:51:15 -0700 |
Cc: |
Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, v12n <virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx>, Vivek Goyal <vgoyal@xxxxxxxxxx>, "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx> |
Delivery-date: |
Tue, 19 Jun 2007 08:54:43 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4672BF82.9050101@xxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20070615004818.424726597@xxxxxxxx> <20070615005012.962196819@xxxxxxxx> <4672BC3E.6080308@xxxxxxxxx> <4672BF82.9050101@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070419) |
Jeremy Fitzhardinge wrote:
> H. Peter Anvin wrote:
>> Jeremy Fitzhardinge wrote:
>>
>>> -setup_move_size: .word 0x8000 # size to move, when setup is
>>> not
>>> +setup_move_size: .word _setup_size # size to move, when setup is
>>> not
>>> # loaded at 0x90000. We will move setup
>>> # to 0x90000 then just before jumping
>>> # into the kernel. However, only the
>>>
>> This is WRONG and will break 2.00 protocol bootloaders, if any still
>> exist, and quite possibly some 2.01 protocol bootloaders. There are
>> definitiely bootloaders in the field that rely on this implicit value.
>
> Ah, I see. I didn't see any documentation saying that this must be
> 0x8000. Or does _setup_size just have to be <= 0x8000?
>
The default for unaware bootloaders has been 0x8000 since the boot
protocol was created, and bootloaders are known to (improperly) rely on
it. _setup_size does have to be <= 0x8000, but that's another issue.
>>> @@ -246,7 +246,6 @@ setup2:
>>> jnz 1f
>>> movw $0xfffc, %sp # Make sure we're not zero
>>> 1: movzwl %sp, %esp # Clear upper half of %esp
>>> - sti
>>>
>> Motivation, please?
>>
>
> We talked about this, and you said it was a mistake. It needn't be in
> this patch; it could be separate, or just dropped as far as I'm concerned.
>
I said it probably wouldn't hurt to drop it. I don't believe you ever
actually explained why you wanted it dropped.
-hpa
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 03/10] define ELF notes for adding to a boot image, (continued)
[Xen-devel] [PATCH 01/10] update boot spec to 2.07, Jeremy Fitzhardinge
[Xen-devel] [PATCH 02/10] allow linux/elf.h to be included in assembler, Jeremy Fitzhardinge
[Xen-devel] [PATCH 04/10] i386: clean up bzImage generation, Jeremy Fitzhardinge
[Xen-devel] [PATCH 06/10] add WEAK() for creating weak asm labels, Jeremy Fitzhardinge
[Xen-devel] [PATCH 07/10] always allocate space for notes, Jeremy Fitzhardinge
[Xen-devel] [PATCH 09/10] ask the hypervisor how much space it needs reserved, Jeremy Fitzhardinge
[Xen-devel] [PATCH 08/10] i386: paravirt boot sequence, Jeremy Fitzhardinge
[Xen-devel] [PATCH 10/10] xen: use boot protocol to boot xen kernel, Jeremy Fitzhardinge
[Xen-devel] [PATCH 05/10] i386: make the bzImage payload an ELF file, Jeremy Fitzhardinge
|
|
|