[PATCH v3 0/6] Fix ARM domcreate

Julian Vetter posted 6 patches 1 week ago
Only 1 patches received!
CHANGELOG.md                                  |  3 ++
.../include/xen-tools/arm-arch-capabilities.h | 16 ++++++++++
tools/libs/light/libxl.c                      |  1 +
tools/libs/light/libxl_arm.c                  | 30 ++++++++++++++++---
tools/libs/light/libxl_types.idl              |  1 +
tools/ocaml/libs/xc/xenctrl.ml                |  1 -
tools/ocaml/libs/xc/xenctrl.mli               |  1 -
tools/python/xen/lowlevel/xc/xc.c             | 20 ++++++++++++-
xen/arch/arm/dom0less-build.c                 |  3 +-
xen/arch/arm/domain.c                         | 29 +++++++-----------
xen/arch/arm/domain_build.c                   |  3 +-
xen/arch/arm/domctl.c                         |  2 ++
xen/arch/arm/firmware/sci.c                   |  2 +-
xen/arch/arm/firmware/scmi-smc.c              |  2 +-
xen/arch/arm/gic.c                            | 16 ++++++++++
xen/arch/arm/include/asm/firmware/sci.h       |  6 ++--
xen/arch/arm/include/asm/gic.h                |  6 ++++
xen/arch/arm/include/asm/vtimer.h             |  3 +-
xen/arch/arm/sysctl.c                         | 29 ++++++++++++++++++
xen/arch/arm/vtimer.c                         |  4 +--
xen/arch/ppc/stubs.c                          |  2 +-
xen/arch/riscv/domain.c                       |  2 +-
xen/arch/x86/domain.c                         | 16 +++++-----
xen/include/public/arch-arm.h                 | 17 +----------
xen/include/public/domctl.h                   |  4 +--
xen/include/public/sysctl.h                   | 23 +++++++++++++-
xen/include/xen/sched.h                       |  6 ++--
27 files changed, 180 insertions(+), 68 deletions(-)
[PATCH v3 0/6] Fix ARM domcreate
Posted by Julian Vetter 1 week ago
Hello Jan and Andrew,
thank you for your feedback! And sorry for the mess with the patches
somee being send twice. I'm still fighting against our mailserver.
As you suggested Andrew, I have taken ownership of the 2 patches, and I
have split the changes to the tools part and the changes to Xen into 2
separate patches.
Jan, I have added a _hz to the frequency to make it clear that this is
in Hz. Also, I have updated the comment, that the actual field in the DT
is also only a single cell of 32 bit. So, for now there is no need to
widen this in the ABI. I have also added how/if this value is used when
the system boots via ACPI.

Signed-off-by: Julian Vetter <julian.vetter@vates.tech>
---
Changes in v3:
- Added Reviewed-by to patch 1 and 6
- Changed ownership of patches 3 and 4
- Split patch 3 into two patches as suggested by Andrew
- Updated CHANGELOG.md to report the changes to the ABI
- Addressed Jan's comments in regards to the clock_frequency property
  and ACPI booting
---
Andrew Cooper (1):
  ARM/sysctl: Expose the supported guest GIC modes in physinfo

Julian Vetter (5):
  xen/arm: report proper GIC version via XEN_DOMCTL_getdomaininfo
  tools/arm: choose GIC version explicitly instead of relying on
    GIC_NATIVE
  xen/arm: remove XEN_DOMCTL_CONFIG_GIC_NATIVE from the ABI
  xen/arm: report clock_frequency via sysctl physinfo, not createdomain
  xen: make config argument const

 CHANGELOG.md                                  |  3 ++
 .../include/xen-tools/arm-arch-capabilities.h | 16 ++++++++++
 tools/libs/light/libxl.c                      |  1 +
 tools/libs/light/libxl_arm.c                  | 30 ++++++++++++++++---
 tools/libs/light/libxl_types.idl              |  1 +
 tools/ocaml/libs/xc/xenctrl.ml                |  1 -
 tools/ocaml/libs/xc/xenctrl.mli               |  1 -
 tools/python/xen/lowlevel/xc/xc.c             | 20 ++++++++++++-
 xen/arch/arm/dom0less-build.c                 |  3 +-
 xen/arch/arm/domain.c                         | 29 +++++++-----------
 xen/arch/arm/domain_build.c                   |  3 +-
 xen/arch/arm/domctl.c                         |  2 ++
 xen/arch/arm/firmware/sci.c                   |  2 +-
 xen/arch/arm/firmware/scmi-smc.c              |  2 +-
 xen/arch/arm/gic.c                            | 16 ++++++++++
 xen/arch/arm/include/asm/firmware/sci.h       |  6 ++--
 xen/arch/arm/include/asm/gic.h                |  6 ++++
 xen/arch/arm/include/asm/vtimer.h             |  3 +-
 xen/arch/arm/sysctl.c                         | 29 ++++++++++++++++++
 xen/arch/arm/vtimer.c                         |  4 +--
 xen/arch/ppc/stubs.c                          |  2 +-
 xen/arch/riscv/domain.c                       |  2 +-
 xen/arch/x86/domain.c                         | 16 +++++-----
 xen/include/public/arch-arm.h                 | 17 +----------
 xen/include/public/domctl.h                   |  4 +--
 xen/include/public/sysctl.h                   | 23 +++++++++++++-
 xen/include/xen/sched.h                       |  6 ++--
 27 files changed, 180 insertions(+), 68 deletions(-)

-- 
2.53.0



-- 
Julian Vetter | Vates Hypervisor & Kernel Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech