Skip to content

v2: Boot modules for Hyperlaunch

Christopher Clark xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11x86 setup: move x86 boot module counting into a new boot_info structxen/arch/x86/setup.c xen/include/xen/bootinfo.h+55 -230 replies
2/11x86 setup: per-arch bootmodule structure, headroom fieldxen/arch/x86/bzimage.c xen/arch/x86/hvm/dom0_build.c xen/arch/x86/include/asm/bootinfo.h +4 more+55 -150 replies
3/11x86 setup: change bootstrap map to accept new boot module structuresxen/arch/x86/cpu/microcode/core.c xen/arch/x86/hvm/dom0_build.c xen/arch/x86/include/asm/boot.h +5 more+58 -150 replies
4/11x86 setup: porting dom0 construction logic to boot module structuresxen/arch/x86/dom0_build.c xen/arch/x86/hvm/dom0_build.c xen/arch/x86/include/asm/boot.h +6 more+254 -1410 replies
5/11xsm: switch XSM init to boot info structuresxen/arch/x86/guest/xen/pvh-boot.c xen/arch/x86/setup.c xen/include/xsm/xsm.h +2 more+77 -600 replies
6/11x86 setup, microcode: switch to the new bootinfo structuresxen/arch/x86/cpu/microcode/core.c xen/arch/x86/include/asm/boot.h xen/arch/x86/include/asm/microcode.h +1 more+89 -870 replies
7/11x86 boot: define paddr_t and add macros for typedefing struct pointersxen/arch/x86/boot/defs.h xen/arch/x86/include/asm/bootinfo.h xen/include/xen/bootinfo.h +1 more+16 -30 replies
8/11types, x86 boot: define DEFINE_PTR_TYPE and char_ptr_txen/arch/x86/boot/defs.h xen/arch/x86/include/asm/bootinfo.h xen/include/xen/bootinfo.h +1 more+12 -20 replies
9/11x86, arm, riscv: add per-arch bootinfo headers to allow x86 boot includexen/arch/arm/include/asm/bootinfo.h xen/arch/riscv/include/asm/bootinfo.h xen/include/xen/bootinfo.h+42 -50 replies
10/11arm setup: include <xen/bootinfo> for bootmod defns, replacing enumxen/arch/arm/include/asm/setup.h+2 -90 replies
11/11x86 setup: refactor entrypoints to new boot infoxen/arch/arm/efi/efi-boot.h xen/arch/x86/boot/defs.h xen/arch/x86/boot/reloc.c +7 more+278 -1790 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/11] v2: Boot modules for Hyperlaunch

This is a v2 series of work for Hyperlaunch for the Xen hypervisor, implementing a subset of the v1 series and functionality, with changes made to address the community feedback provided on the patches in v1.

The patches in this series are primarily derived from patches 2-4 of the v1 full series, in a series of smaller patches for ease of review.

Thanks to AMD for supporting this work.

Documentation on Hyperlaunch:
https://wiki.xenproject.org/wiki/Hyperlaunch

v1 Hyperlaunch patch series:
https://lists.xenproject.org/archives/html/xen-devel/2022-07/msg00345.html

thanks

Christopher

Christopher Clark (11):
x86 setup: move x86 boot module counting into a new boot_info struct x86 setup: per-arch bootmodule structure, headroom field x86 setup: change bootstrap map to accept new boot module structures x86 setup: porting dom0 construction logic to boot module structures
xsm: switch XSM init to boot info structures
x86 setup, microcode: switch to the new bootinfo structures x86 boot: define paddr_t and add macros for typedefing struct pointers types, x86 boot: define DEFINE_PTR_TYPE and char_ptr_t x86, arm, riscv: add per-arch bootinfo headers to allow x86 boot
include
arm setup: include <xen/bootinfo> for bootmod defns, replacing enum x86 setup: refactor entrypoints to new boot info

 xen/arch/arm/efi/efi-boot.h               |   6 +
 xen/arch/arm/include/asm/bootinfo.h       |  20 ++
 xen/arch/arm/include/asm/setup.h          |  11 +-
 xen/arch/riscv/include/asm/bootinfo.h     |  20 ++
 xen/arch/x86/boot/defs.h                  |  10 +
 xen/arch/x86/boot/reloc.c                 | 192 ++++++++++++------
 xen/arch/x86/bzimage.c                    |  10 +-
 xen/arch/x86/cpu/microcode/core.c         | 149 ++++++++------
 xen/arch/x86/dom0_build.c                 |  10 +-
 xen/arch/x86/efi/efi-boot.h               |  95 +++++----
 xen/arch/x86/guest/xen/pvh-boot.c         |  65 ++++--
 xen/arch/x86/hvm/dom0_build.c             |  44 ++--
 xen/arch/x86/include/asm/boot.h           |  55 +++++
 xen/arch/x86/include/asm/bootinfo.h       |  47 +++++
 xen/arch/x86/include/asm/bzimage.h        |   2 +-
 xen/arch/x86/include/asm/dom0_build.h     |  13 +-
 xen/arch/x86/include/asm/guest/pvh-boot.h |   6 +-
 xen/arch/x86/include/asm/microcode.h      |   7 +-
 xen/arch/x86/include/asm/setup.h          |   7 +-
 xen/arch/x86/pv/dom0_build.c              |  32 +--
 xen/arch/x86/setup.c                      | 232 ++++++++++++----------
 xen/common/efi/boot.c                     |   4 +-
 xen/include/xen/bootinfo.h                |  62 ++++++
 xen/include/xen/types.h                   |  11 +
 xen/include/xsm/xsm.h                     |  28 +--
 xen/xsm/xsm_core.c                        |  47 +++--
 xen/xsm/xsm_policy.c                      |  58 +++---
 27 files changed, 821 insertions(+), 422 deletions(-)
 create mode 100644 xen/arch/arm/include/asm/bootinfo.h
 create mode 100644 xen/arch/riscv/include/asm/bootinfo.h
 create mode 100644 xen/arch/x86/include/asm/boot.h
 create mode 100644 xen/arch/x86/include/asm/bootinfo.h
 create mode 100644 xen/include/xen/bootinfo.h
Signature · 1 line
2.25.1