Skip to content

Hyperlaunch device tree for dom0

Alejandro Vallejo xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest12 patches 20 repliesIn review
  2. v512 patches 10 repliesSuperseded
  3. v413 patches 32 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v316 patches111 repliesSuperseded

Changes in v6 from the cover letter

* Denis' suggestion to rename a few helpers to fdt_*
* Change to last patch to only pass CDF_iommu to domains with DOMAIN_CAPS_HARDWARE.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12kconfig: introduce CONFIG_DOMAIN_BUILDERxen/common/Kconfig xen/common/domain-builder/Kconfig+17 -00 replies
2/12common/hyperlaunch: introduce the domain builderxen/arch/x86/include/asm/bootinfo.h xen/arch/x86/setup.c xen/common/Makefile +5 more+146 -69 replies
3/12x86/hyperlaunch: initial support for hyperlaunch device treexen/arch/x86/include/asm/bootinfo.h xen/common/domain-builder/core.c xen/common/domain-builder/fdt.c +2 more+81 -03 replies
4/12x86/hyperlaunch: Add helpers to locate multiboot modulesxen/common/domain-builder/fdt.c xen/common/domain-builder/fdt.h xen/include/xen/domain-builder.h+177 -00 replies
5/12x86/hyperlaunch: locate dom0 kernel with hyperlaunchxen/arch/x86/setup.c xen/common/domain-builder/fdt.c+62 -30 replies
6/12x86/hyperlaunch: obtain cmdline from device treexen/arch/x86/include/asm/bootinfo.h xen/arch/x86/setup.c xen/common/domain-builder/core.c +4 more+108 -76 replies
7/12x86/hyperlaunch: locate dom0 initrd with hyperlaunchxen/arch/x86/setup.c xen/common/domain-builder/fdt.c+26 -20 replies
8/12x86/hyperlaunch: add domain id parsing to domain configxen/arch/x86/setup.c xen/common/domain-builder/fdt.c+54 -30 replies
9/12x86/hyperlaunch: specify dom0 mode with device treexen/arch/x86/include/asm/boot-domain.h xen/arch/x86/setup.c xen/common/domain-builder/fdt.c+28 -10 replies
10/12x86/hyperlaunch: add memory parsing to domain configxen/arch/x86/dom0_build.c xen/arch/x86/include/asm/boot-domain.h xen/arch/x86/setup.c +1 more+62 -10 replies
11/12x86/hyperlaunch: add max vcpu parsing of hyperlaunch device treexen/arch/x86/dom0_build.c xen/arch/x86/include/asm/boot-domain.h xen/common/domain-builder/fdt.c+16 -00 replies
12/12x86/hyperlaunch: add capabilities to boot domainxen/arch/x86/include/asm/boot-domain.h xen/arch/x86/setup.c xen/common/domain-builder/fdt.c+31 -20 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchDenis MukhinJason Andryuk
1/12R-b R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b R-b
9/12R-b R-b
10/12R-b R-b
11/12R-b R-b
12/12R-b

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

Read the v6 thread

Cover letter [PATCH v6 00/12] Hyperlaunch device tree for dom0

Hi,

Not very many changes here. Just:

v5->v6:
* Denis' suggestion to rename a few helpers to fdt_*
* Change to last patch to only pass CDF_iommu to domains with DOMAIN_CAPS_HARDWARE.

I _think_ this addresses all feedback I got so far and I don't expect anything major remaining before commit. If there's something I was asked and I haven't delivered yet, please bring it up again.

v5: https://lore.kernel.org/xen-devel/[email protected]/
v4: https://lore.kernel.org/xen-devel/[email protected]/
v3: https://lore.kernel.org/xen-devel/[email protected]/
v2: https://lore.kernel.org/xen-devel/[email protected]/
v1: https://lore.kernel.org/xen-devel/[email protected]/

========= Original cover letter:

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.

Alejandro Vallejo (1):
x86/hyperlaunch: Add helpers to locate multiboot modules

Daniel P. Smith (11):
kconfig: introduce CONFIG_DOMAIN_BUILDER common/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/dom0_build.c              |  11 +
 xen/arch/x86/include/asm/boot-domain.h |  14 +
 xen/arch/x86/include/asm/bootinfo.h    |  10 +-
 xen/arch/x86/setup.c                   |  66 +++-
 xen/common/Kconfig                     |   2 +
 xen/common/Makefile                    |   1 +
 xen/common/domain-builder/Kconfig      |  15 +
 xen/common/domain-builder/Makefile     |   2 +
 xen/common/domain-builder/core.c       |  86 +++++
 xen/common/domain-builder/fdt.c        | 512 +++++++++++++++++++++++++
 xen/common/domain-builder/fdt.h        |  40 ++
 xen/include/xen/domain-builder.h       |  37 ++
 xen/include/xen/libfdt/libfdt-xen.h    |  23 ++
 13 files changed, 801 insertions(+), 18 deletions(-)
 create mode 100644 xen/common/domain-builder/Kconfig
 create mode 100644 xen/common/domain-builder/Makefile
 create mode 100644 xen/common/domain-builder/core.c
 create mode 100644 xen/common/domain-builder/fdt.c
 create mode 100644 xen/common/domain-builder/fdt.h
 create mode 100644 xen/include/xen/domain-builder.h
Signature · 1 line
2.43.0