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 13 repliesIn review

v7 from the cover letter

- Rebase on Rusty's git tree.
- Revise the 32-bit boot protocol document.

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+137 -1010 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+106 -1000 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchH. Peter Anvin
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

The patch set has been tested against kernel of git version v2.6.23-6623-g55b70a0 (with Rusty's git tree pulled) on x86_64 and i386.

This patch set is based on the proposal of Peter Anvin.

v7:

- Rebase on Rusty's git tree.
- Revise the 32-bit boot protocol document.

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