Skip to content

Hyperlaunch device tree for dom0

Daniel P. Smith xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 40 repliesIn review
  2. v115 patches 70 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15x86/boot: introduce boot domainxen/arch/x86/dom0_build.c xen/arch/x86/hvm/dom0_build.c xen/arch/x86/include/asm/bootdomain.h +5 more+69 -535 replies
2/15x86/boot: introduce domid field to struct boot_domainxen/arch/x86/include/asm/bootdomain.h xen/arch/x86/setup.c+9 -51 reply
3/15x86/boot: add cmdline to struct boot_domainxen/arch/x86/hvm/dom0_build.c xen/arch/x86/include/asm/bootdomain.h xen/arch/x86/pv/dom0_build.c +1 more+66 -324 replies
4/15kconfig: introduce option to independently enable libfdtxen/common/Kconfig xen/common/Makefile+5 -11 reply
5/15kconfig: introduce domain builder config optionxen/arch/x86/Kconfig xen/arch/x86/domain-builder/Kconfig+17 -03 replies
6/15x86/hyperlaunch: introduce the domain builderxen/arch/x86/Kconfig xen/arch/x86/Makefile xen/arch/x86/domain-builder/Makefile +6 more+143 -76 replies
7/15x86/hyperlaunch: initial support for hyperlaunch device treexen/arch/x86/domain-builder/core.c xen/arch/x86/domain-builder/fdt.c xen/arch/x86/domain-builder/fdt.h +1 more+85 -13 replies
8/15x86/hyperlaunch: locate dom0 kernel with hyperlaunchxen/arch/x86/domain-builder/core.c xen/arch/x86/domain-builder/fdt.c xen/arch/x86/domain-builder/fdt.h +2 more+208 -54 replies
9/15x86/hyperlaunch: obtain cmdline from device treexen/arch/x86/domain-builder/core.c xen/arch/x86/domain-builder/fdt.c xen/arch/x86/domain-builder/fdt.h +4 more+105 -62 replies
10/15x86/hyperlaunch: locate dom0 initrd with hyperlaunchxen/arch/x86/domain-builder/fdt.c xen/arch/x86/setup.c+45 -162 replies
11/15x86/hyperlaunch: add domain id parsing to domain configxen/arch/x86/domain-builder/fdt.c xen/arch/x86/setup.c xen/include/xen/libfdt/libfdt-xen.h+73 -41 reply
12/15x86/hyperlaunch: specify dom0 mode with device treexen/arch/x86/domain-builder/fdt.c xen/arch/x86/include/asm/bootdomain.h xen/arch/x86/setup.c+26 -12 replies
13/15x86/hyperlaunch: add memory parsing to domain configxen/arch/x86/dom0_build.c xen/arch/x86/domain-builder/fdt.c xen/arch/x86/include/asm/bootdomain.h +1 more+55 -02 replies
14/15x86/hyperlaunch: add max vcpu parsing of hyperlaunch device treexen/arch/x86/dom0_build.c xen/arch/x86/domain-builder/fdt.c xen/arch/x86/include/asm/bootdomain.h+16 -02 replies
15/15x86/hyperlaunch: add capabilities to boot domainxen/arch/x86/domain-builder/core.c xen/arch/x86/domain-builder/fdt.c xen/arch/x86/include/asm/bootdomain.h +1 more+22 -12 replies

Reviews trailers per patch

11 of 15 patches have a Reviewed-by or Acked-by.

PatchJason Andryuk
1/15R-b
2/15R-b
3/15
4/15R-b
5/15R-b
6/15R-b
7/15
8/15R-b
9/15R-b
10/15
11/15
12/15R-b
13/15R-b
14/15R-b
15/15R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/15] Hyperlaunch device tree for dom0

The Hyperlaunch device tree for dom0 series is the second split out for the introduction of the Hyperlaunch domain builder logic. These changes focus on introducing the ability to express a domain configuration that is then used to populate the struct boot_domain structure for dom0. This ability to express a domain configuration provides the next step towards a general domain builder.

The splitting of Hyperlaunch into a set of series are twofold, to reduce the effort in reviewing a much larger series, and to reduce the effort in handling the knock-on effects to the construction logic from requested review changes.

Much thanks to AMD for supporting this work.

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

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

V/r,
Daniel P. Smith

Daniel P. Smith (15):
x86/boot: introduce boot domain
x86/boot: introduce domid field to struct boot_domain x86/boot: add cmdline to struct boot_domain
kconfig: introduce option to independently enable libfdt
kconfig: introduce domain builder config option x86/hyperlaunch: introduce the domain builder x86/hyperlaunch: initial support for hyperlaunch device tree x86/hyperlaunch: locate dom0 kernel with hyperlaunch x86/hyperlaunch: obtain cmdline from device tree x86/hyperlaunch: locate dom0 initrd with hyperlaunch x86/hyperlaunch: add domain id parsing to domain config x86/hyperlaunch: specify dom0 mode with device tree x86/hyperlaunch: add memory parsing to domain config x86/hyperlaunch: add max vcpu parsing of hyperlaunch device tree x86/hyperlaunch: add capabilities to boot domain

 xen/arch/x86/Kconfig                     |   2 +
 xen/arch/x86/Makefile                    |   2 +
 xen/arch/x86/dom0_build.c                |  19 +-
 xen/arch/x86/domain-builder/Kconfig      |  15 +
 xen/arch/x86/domain-builder/Makefile     |   3 +
 xen/arch/x86/domain-builder/core.c       | 112 +++++++
 xen/arch/x86/domain-builder/fdt.c        | 389 +++++++++++++++++++++++
 xen/arch/x86/domain-builder/fdt.h        |  53 +++
 xen/arch/x86/hvm/dom0_build.c            |  37 +--
 xen/arch/x86/include/asm/bootdomain.h    |  49 +++
 xen/arch/x86/include/asm/bootinfo.h      |  15 +-
 xen/arch/x86/include/asm/dom0_build.h    |   6 +-
 xen/arch/x86/include/asm/domainbuilder.h |  12 +
 xen/arch/x86/include/asm/setup.h         |   4 +-
 xen/arch/x86/pv/dom0_build.c             |  28 +-
 xen/arch/x86/setup.c                     | 162 ++++++----
 xen/common/Kconfig                       |   4 +
 xen/common/Makefile                      |   2 +-
 xen/include/xen/libfdt/libfdt-xen.h      | 118 +++++++
 19 files changed, 922 insertions(+), 110 deletions(-)
 create mode 100644 xen/arch/x86/domain-builder/Kconfig
 create mode 100644 xen/arch/x86/domain-builder/Makefile
 create mode 100644 xen/arch/x86/domain-builder/core.c
 create mode 100644 xen/arch/x86/domain-builder/fdt.c
 create mode 100644 xen/arch/x86/domain-builder/fdt.h
 create mode 100644 xen/arch/x86/include/asm/bootdomain.h
 create mode 100644 xen/arch/x86/include/asm/domainbuilder.h
Signature · 1 line
2.30.2