[PATCH v7 0/3] xen/domain: domain ID allocation

dmkhn@proton.me posted 3 patches 5 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250519192306.1364471-1-dmukhin@ford.com
There is a newer version of this series
xen/arch/arm/domain_build.c             | 17 ++++---
xen/arch/arm/tee/ffa.c                  |  3 +-
xen/arch/x86/cpu/mcheck/mce.c           |  2 +-
xen/arch/x86/cpu/vpmu.c                 |  2 +-
xen/arch/x86/setup.c                    | 11 +++--
xen/common/Kconfig                      |  7 +++
xen/common/device-tree/dom0less-build.c | 17 ++++---
xen/common/domain.c                     | 59 +++++++++++++++++++++++--
xen/common/domctl.c                     | 42 +++---------------
xen/common/sched/core.c                 |  4 +-
xen/drivers/passthrough/vtd/iommu.c     |  2 +-
xen/include/public/domctl.h             |  2 +-
xen/include/xen/domain.h                |  3 ++
13 files changed, 106 insertions(+), 65 deletions(-)
[PATCH v7 0/3] xen/domain: domain ID allocation
Posted by dmkhn@proton.me 5 months, 2 weeks ago
The patch series adds new library calls for allocating domain IDs.

Patch 1 introduces new domid_{alloc,free} calls.
Patch 2 adjusts hardware domain ID treatment on Arm.
Patch 3 introduces new CONFIG_MAX_DOMID parameter to limit the number of
domains during run-time.

Link to v6: https://lore.kernel.org/xen-devel/20250516020434.1145337-1-dmukhin@ford.com/
Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1825273124

Denis Mukhin (3):
  xen/domain: unify domain ID allocation
  xen/domain: adjust domain ID allocation for Arm
  xen/domain: introduce CONFIG_MAX_DOMID

 xen/arch/arm/domain_build.c             | 17 ++++---
 xen/arch/arm/tee/ffa.c                  |  3 +-
 xen/arch/x86/cpu/mcheck/mce.c           |  2 +-
 xen/arch/x86/cpu/vpmu.c                 |  2 +-
 xen/arch/x86/setup.c                    | 11 +++--
 xen/common/Kconfig                      |  7 +++
 xen/common/device-tree/dom0less-build.c | 17 ++++---
 xen/common/domain.c                     | 59 +++++++++++++++++++++++--
 xen/common/domctl.c                     | 42 +++---------------
 xen/common/sched/core.c                 |  4 +-
 xen/drivers/passthrough/vtd/iommu.c     |  2 +-
 xen/include/public/domctl.h             |  2 +-
 xen/include/xen/domain.h                |  3 ++
 13 files changed, 106 insertions(+), 65 deletions(-)

-- 
2.34.1