Skip to content

x86 boot: 32-bit boot protocol

Huang, Ying lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

v6 from the cover letter

- The linked list of setup_data is copied to memory area right after the kernel _end during early kernel bootstrap to solve the issue that where the safe place is to place linked list of setup_data.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86 boot: setup dataarch/x86/boot/header.S arch/x86/kernel/e820_64.c arch/x86/kernel/head64.c +8 more+142 -100 replies
2/3x86 boot: boot parameters export via sysfsarch/x86/kernel/Makefile_32 arch/x86/kernel/Makefile_64 arch/x86/kernel/ksysfs.c +2 more+240 -20 replies
3/3x86 boot: document for 32 bit boot protocolDocumentation/i386/boot.txt Documentation/i386/zero-page.txt+97 -1000 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -v6 0/3] x86 boot: 32-bit boot protocol

This patchset defines a 32-bit boot protocol for x86 platform, adds an extensible boot parameter passing mechanism, export the boot parameters via sysfs.

The patchset has been tested against kernel of git version v2.6.23-6623-g55b70a0 on x86_64 and i386.

This patchset is based on the proposal of Peter Anvin.

v6:

- The linked list of setup_data is copied to memory area right after the kernel _end during early kernel bootstrap to solve the issue that where the safe place is to place linked list of setup_data.

v5:

- Use bt_ioremap/bt_iounmap in copy_setup_data.

v4:

- Reserve setup_data and boot parameters for accessing during runtime.
- Export boot parameters via sysfs.

v3:

- Move hd0_info and hd1_info back to zero page for compatibility.

v2:

- Increase the boot protocol version number
- Check version number before parsing setup data.
- Revise zero page description according to the source code and move them to zero-page.txt.

Best Regards,
Huang Ying