Skip to content

x86: multiboot2 protocol support

Daniel Kiper xen-devel 17 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v16 Latest9 patches 38 repliesIn review
  2. v1510 patches 9 repliesSuperseded
  3. v149 patches 10 repliesSuperseded
Earlier versions · 14
VersionPostedPatchesRepliesStatus
v139 patches5 repliesSuperseded
v1210 patches40 repliesSuperseded
v1113 patches49 repliesSuperseded
v1013 patches6 repliesSuperseded
v913 patches26 repliesSuperseded
v813 patches9 repliesSuperseded
v714 patches36 repliesSuperseded
v615 patches53 repliesSuperseded
v516 patches53 repliesSuperseded
v419 patches30 repliesSuperseded
v316 patches77 repliesSuperseded
v2 posting 2/223 patches161 repliesSuperseded
v2 posting 1/20 of 23 patches0 repliesSuperseded
v118 patches141 repliesSuperseded

Patches in v16 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9x86: add multiboot2 protocol supportxen/arch/x86/boot/Makefile xen/arch/x86/boot/head.S xen/arch/x86/boot/reloc.c +2 more+432 -100 replies
2/9efi: build xen.gz with EFI codexen/arch/x86/Makefile xen/arch/x86/efi/Makefile xen/arch/x86/xen.lds.S +2 more+21 -110 replies
3/9efi: create new early memory allocatorxen/arch/x86/efi/efi-boot.h xen/arch/x86/setup.c xen/common/efi/boot.c+54 -100 replies
4/9x86: add multiboot2 protocol support for EFI platformsxen/arch/x86/boot/head.S xen/arch/x86/boot/reloc.c xen/arch/x86/efi/efi-boot.h +6 more+405 -2225 replies
5/9x86: change default load address from 1 MiB to 2 MiBxen/arch/x86/Makefile xen/arch/x86/Rules.mk xen/arch/x86/boot/head.S +3 more+10 -137 replies
6/9x86/setup: use XEN_IMG_OFFSET instead of...xen/arch/x86/setup.c+1 -30 replies
7/9x86: make Xen early boot code relocatablexen/arch/x86/boot/head.S xen/arch/x86/boot/trampoline.S xen/arch/x86/boot/x86_64.S +3 more+158 -576 replies
8/9x86/boot: rename sym_phys() to sym_offs()xen/arch/x86/boot/head.S xen/arch/x86/boot/trampoline.S xen/arch/x86/boot/wakeup.S +1 more+31 -310 replies
9/9x86: add multiboot2 protocol support for relocatable imagesxen/arch/x86/boot/head.S xen/arch/x86/x86_64/asm-offsets.c xen/include/xen/multiboot2.h+30 -00 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchJan BeulichDoug GoldsteinAndrew CooperJulien Grall
1/9R-b R-b T-b R-b
2/9A-b R-b
3/9A-b R-b T-b A-b
4/9
5/9R-b R-b
6/9A-b R-b
7/9R-b
8/9A-b R-b
9/9A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v16 thread

Cover letter [PATCH v16 0/9] x86: multiboot2 protocol support

Hi,

I am sending sixteenth version of multiboot2 protocol support for legacy BIOS and EFI platforms. This patch series release contains fixes for all known/confirmed issues.

The final goal is xen.efi binary file which could be loaded by EFI loader, multiboot (v1) protocol (only on legacy BIOS platforms) and multiboot2 protocol. This way we will have:
- smaller Xen code base,
- one code base for xen.gz and xen.efi,
- one build method for xen.gz and xen.efi;
xen.efi will be extracted from xen(-syms)
file using objcopy or special custom tool,
- xen.efi build will not so strongly depend
on a given GCC and binutils version.

Here is short list of changes since v15:
- changed patch: 4.

If you are not interested in this patch series at all please drop me a line and I will remove you from distribution list.

Daniel

 xen/arch/x86/Makefile             |    4 +-
 xen/arch/x86/Rules.mk             |    3 +
 xen/arch/x86/boot/Makefile        |    3 +-
 xen/arch/x86/boot/head.S          |  584 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 xen/arch/x86/boot/reloc.c         |  154 +++++++++++++++++++++-
 xen/arch/x86/boot/trampoline.S    |    7 +-
 xen/arch/x86/boot/wakeup.S        |    4 +-
 xen/arch/x86/boot/x86_64.S        |   44 +++----
 xen/arch/x86/efi/Makefile         |   14 +-
 xen/arch/x86/efi/efi-boot.h       |   60 +++++++--
 xen/arch/x86/efi/stub.c           |   39 ++++++
 xen/arch/x86/setup.c              |   24 ++--
 xen/arch/x86/x86_64/asm-offsets.c |   15 +++
 xen/arch/x86/xen.lds.S            |   13 +-
 xen/common/efi/boot.c             |   64 +++++++++
 xen/common/efi/runtime.c          |    9 ++
 xen/include/asm-x86/config.h      |    5 +
 xen/include/asm-x86/page.h        |    2 +-
 xen/include/xen/config.h          |    1 +
 xen/include/xen/multiboot2.h      |  182 ++++++++++++++++++++++++++
 20 files changed, 1108 insertions(+), 123 deletions(-)

Daniel Kiper (9):
x86: add multiboot2 protocol support
efi: build xen.gz with EFI code
efi: create new early memory allocator
x86: add multiboot2 protocol support for EFI platforms
x86: change default load address from 1 MiB to 2 MiB x86/setup: use XEN_IMG_OFFSET instead of...
x86: make Xen early boot code relocatable x86/boot: rename sym_phys() to sym_offs()
x86: add multiboot2 protocol support for relocatable images

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel