xen: Break multiboot (v1) dependency and add multiboot2 support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest18 patches 42 repliesIn review
- v316 patches 35 repliesSuperseded
- v25 patches 20 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 7 patches | 31 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | xen/makefile: clean target should remove xen.efi binaryxen/ | +1 | 0 replies | |
| 2/18 | x86/boot: fix reloc.S build dependenciesxen/ xen/ | +7 | 5 replies | |
| 3/18 | x86: define cmdline_cook() loader_name argument as a constxen/ | +1 | 0 replies | |
| 4/18 | x86/boot: use constant in head.S instead of hardcoded valuexen/ xen/ | +4 | 5 replies | |
| 5/18 | x86/boot/reloc: create generic alloc and copy functionsxen/ | +33 | 3 replies | |
| 6/18 | x86: introduce MultiBoot Data (MBD) typexen/ xen/ xen/ +9 more | +241 | 1 reply | |
| 7/18 | x86/efi: add place_string_u32() functionxen/ | +19 | 0 replies | |
| 8/18 | x86: introduce boot_info structurexen/ xen/ xen/ +4 more | +96 | 1 reply | |
| 9/18 | x86: move boot_loader_name from mbi to boot_infoxen/ xen/ xen/ +2 more | +16 | 1 reply | |
| 10/18 | x86: move cmdline from mbi to boot_infoxen/ xen/ xen/ +2 more | +12 | 1 reply | |
| 11/18 | x86: move legacy BIOS memory map stuff to boot_infoxen/ xen/ xen/ +3 more | +135 | 1 reply | |
| 12/18 | x86: move modules data from mbi to boot_info and remove mbixen/ xen/ xen/ +10 more | +153 | 2 replies | |
| 13/18 | x86: move EFI memory map stuff to boot_infoxen/ xen/ xen/ +1 more | +24 | 0 replies | |
| 14/18 | x86: move MPS, ACPI and SMBIOS data to boot_infoxen/ xen/ xen/ +4 more | +61 | 1 reply | |
| 15/18 | x86: move video data to boot_infoxen/ xen/ xen/ +7 more | +157 | 1 reply | |
| 16/18 | x86: move HDD data to boot_infoxen/ xen/ xen/ +4 more | +56 | 1 reply | |
| 17/18 | x86/boot: use %ecx instead of %eaxxen/ | +14 | 0 replies | |
| 18/18 | xen/x86: add multiboot2 protocol supportxen/ xen/ xen/ +2 more | +401 | 1 reply |
Reviews trailers per patch
4 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Cooper |
|---|---|
| 1/18 | |
| 2/18 | |
| 3/18 | |
| 4/18 | |
| 5/18 | |
| 6/18 | |
| 7/18 | |
| 8/18 | |
| 9/18 | |
| 10/18 | R-b |
| 11/18 | |
| 12/18 | |
| 13/18 | |
| 14/18 | |
| 15/18 | R-b |
| 16/18 | R-b |
| 17/18 | R-b |
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-xen-4.5 v4 00/18] xen: Break multiboot (v1) dependency and add multiboot2 support
Hi all,
This patch series breaks multiboot (v1) protocol dependency and adds multiboot2 support. It lays down the foundation for EFI + GRUB2 + Xen development. Detailed description of ideas and thoughts you will find in commit message for every patch. If something is not obvious please drop me a line.
I took into account all suggestions sent to me up until now.
ARM build has been tested. However, I am not able to test generated binaries because I do not have a required hardware under my feet. Could you do some tests guys?
This is my last attempt to have this series in 4.5. If it will be not accepted for 4.5 I will continue multiboot2 + EFI development on the base of this patch series. Now I am almost sure that we are going in right direction. I hope that I will be able to post multiboot2 + EFI patches in about 1 month.
Daniel
xen/Makefile | 2 +- xen/arch/x86/Makefile | 1 + xen/arch/x86/boot/Makefile | 8 +- xen/arch/x86/boot/build32.mk | 3 +- xen/arch/x86/boot/cmdline.S | 9 +- xen/arch/x86/boot/head.S | 157 ++++++++++++++++++++++++++++++----- xen/arch/x86/boot/reloc.c | 223 ++++++++++++++++++++++++++++++++++++++++--------- xen/arch/x86/boot/x86_64.S | 10 ++- xen/arch/x86/boot_info.c | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xen/arch/x86/dmi_scan.c | 11 ++- xen/arch/x86/domain_build.c | 24 +++--- xen/arch/x86/efi/efi-boot.h | 173 +++++++++++++++++++------------------- xen/arch/x86/microcode.c | 39 ++++----- xen/arch/x86/mpparse.c | 13 ++- xen/arch/x86/platform_hypercall.c | 17 ++-- xen/arch/x86/setup.c | 369 +++++++++++++++++++++++++++------------------------------------------------------- xen/arch/x86/x86_64/asm-offsets.c | 15 +++- xen/common/efi/boot.c | 1 - xen/common/efi/efi.h | 11 +++ xen/common/efi/runtime.c | 55 +++++++++++-- xen/drivers/acpi/osl.c | 13 ++- xen/drivers/video/vesa.c | 7 +- xen/drivers/video/vga.c | 18 ++-- xen/include/asm-x86/boot_info.h | 124 ++++++++++++++++++++++++++++ xen/include/asm-x86/config.h | 2 - xen/include/asm-x86/e820.h | 8 -- xen/include/asm-x86/edd.h | 6 -- xen/include/asm-x86/mbd.h | 80 ++++++++++++++++++ xen/include/asm-x86/setup.h | 12 +-- xen/include/xen/efi.h | 7 ++ xen/include/xen/multiboot2.h | 153 ++++++++++++++++++++++++++++++++++ xen/include/xen/vga.h | 18 ---- xen/include/xsm/xsm.h | 16 ++-- xen/xsm/xsm_core.c | 6 +- xen/xsm/xsm_policy.c | 10 +-- 35 files changed, 1344 insertions(+), 534 deletions(-)
Daniel Kiper (18):
xen/makefile: clean target should remove xen.efi binary x86/boot: fix reloc.S build dependencies
x86: define cmdline_cook() loader_name argument as a const x86/boot: use constant in head.S instead of hardcoded value x86/boot/reloc: create generic alloc and copy functions
x86: introduce MultiBoot Data (MBD) type
x86/efi: add place_string_u32() function
x86: introduce boot_info structure
x86: move boot_loader_name from mbi to boot_info
x86: move cmdline from mbi to boot_info
x86: move legacy BIOS memory map stuff to boot_info
x86: move modules data from mbi to boot_info and remove mbi
x86: move EFI memory map stuff to boot_info
x86: move MPS, ACPI and SMBIOS data to boot_info
x86: move video data to boot_info
x86: move HDD data to boot_info
x86/boot: use %ecx instead of %eax
xen/x86: add multiboot2 protocol support