Re: [PATCH 0/3] x86_64 EFI runtime service support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <ak@...>
Cc: Yinghai Lu <yhlu.kernel@...>, H. Peter Anvin <hpa@...>, Huang, Ying <ying.huang@...>, Andrew Morton <akpm@...>, Eric W. Biederman <ebiederm@...>, Chandramouli Narayanan <mouli@...>, <linux-kernel@...>, Aaron Durbin <adurbin@...>
Date: Wednesday, August 22, 2007 - 10:23 am

On 8/22/07, Andi Kleen <ak@suse.de> wrote:

My proposal: Use Peter proposed "linked list of struct setup_data"
style boot protocol as long term goal.

To smooth the transforming process, the following back compatible
scheme can be taken:

1. Keep zero page as an informal external boot protocol, and marked it
as deprecated for external usage.
2. Add a magic number to standard boot protocol, which is set by
bootloader to indicate the new style or old style boot protocol is
used.
3. Add the pointer to "linked list of struct setup_data" to standard
boot protocol.
4. If kernel is booted with correct magic number, the kernel will
convert "linked list" to zero page, or use "linked list" directly. If
kernel is booted with incorrect magic number, the kernel will use the
"zero page" from bootloader or convert "zero page" to "linked list".

The current kexec/LinuxBIOS using "informal" zero page protocol can
boot the new kernel, because the "zero page" protocol is kept for
short term. New version of bootloader should use "linked list"
protocol instead of "zero page" protocol.

In the future, when all bootloaders use new protocol, the "zero page"
is made internal formally.

Any comment is welcome.

Best Regards,
Huang Ying
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Mon Aug 13, 3:30 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andrew Morton, (Wed Aug 15, 7:16 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Wed Aug 15, 7:22 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Thu Aug 16, 4:00 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Eric W. Biederman, (Sun Aug 19, 6:25 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Yinghai Lu, (Sun Aug 19, 7:46 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Mon Aug 20, 1:05 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, San Mehat, (Mon Aug 20, 1:20 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Matthew Garrett, (Mon Aug 20, 4:13 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Mon Aug 20, 1:14 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Thu Aug 16, 12:09 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Eric W. Biederman, (Sun Aug 19, 6:27 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Thu Aug 16, 3:52 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andrew Morton, (Wed Aug 15, 6:42 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Thu Aug 16, 3:51 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andi Kleen, (Thu Aug 16, 10:11 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Thu Aug 16, 9:25 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Fri Aug 17, 12:11 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Sun Aug 19, 11:20 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Mon Aug 20, 1:12 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andi Kleen, (Tue Aug 21, 7:33 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Tue Aug 21, 6:41 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andi Kleen, (Tue Aug 21, 7:45 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Yinghai Lu, (Tue Aug 21, 7:58 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andi Kleen, (Tue Aug 21, 9:22 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Yinghai Lu, (Wed Aug 22, 3:20 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Yinghai Lu, (Wed Aug 22, 2:43 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Andi Kleen, (Wed Aug 22, 7:11 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Eric W. Biederman, (Wed Aug 22, 10:41 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Wed Aug 22, 12:44 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, huang ying, (Wed Aug 22, 10:23 am)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Wed Aug 22, 12:28 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Wed Aug 22, 10:21 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Wed Aug 22, 10:46 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Mon Aug 20, 9:44 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, H. Peter Anvin, (Mon Aug 20, 11:54 pm)
Re: [PATCH 0/3] x86_64 EFI runtime service support, Huang, Ying, (Tue Aug 21, 12:53 am)