From: Mykyta Poturai <Mykyta_Poturai@epam.com>
To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "Mykyta Poturai" <Mykyta_Poturai@epam.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Julien Grall" <julien@xen.org>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Michal Orzel" <michal.orzel@amd.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger@xenproject.org>,
"Teddy Astie" <teddy.astie@vates.tech>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Daniel P. Smith" <dpsmith@apertussolutions.com>
Subject: [PATCH v11 0/6] Implement CPU hotplug on Arm
Date: Mon, 9 Nov 2026 11:12:46 +0000 [thread overview]
Message-ID: <cover.1794222015.git.mykyta_poturai@epam.com> (raw)
This series implements support for CPU hotplug/unplug on Arm. To achieve
this, several things need to be done:
1. XEN_SYSCTL_CPU_HOTPLUG_* calls implemented on Arm64.
2. Enabled building of xen-hptool.
3. Migration of irqs from dying CPUs implemented.
Tested on QEMU and R-Car Gen5 HW.
v10->v11:
* rebase
* see individual patches
v9->v10:
* rebase
* see individual patches
v8->v9:
* rebase
* see individual patches
v7->v8:
* see individual patches
v6->v7:
* new patch "Kconfig: Make cpu hotplug configurable
v5->v6:
* see individual patches
v4->v5:
* drop merged patches
* combine "smp: Move cpu_up/down helpers to common code" with
"arm/sysctl: Implement cpu hotplug ops"
* see individual patches
v3->v4:
* add irq migration patches
* see individual patches
v2->v3:
* add docs
v1->v2:
* see individual patches
Mykyta Poturai (6):
arm/irq: Keep track of irq affinities
arm/irq: Migrate IRQs during CPU up/down operations
Kconfig: Make cpu hotplug configurable
arm/sysctl: Implement cpu hotplug ops
tools: Allow building xen-hptool without CONFIG_MIGRATE
docs: Document CPU hotplug
docs/misc/cpu-hotplug.txt | 102 +++++++++++
tools/misc/Makefile | 9 +-
tools/misc/xen-hptool-x86.c | 278 ++++++++++++++++++++++++++++
tools/misc/xen-hptool.c | 293 ++----------------------------
tools/misc/xen-hptool.h | 15 ++
xen/arch/arm/Kconfig | 1 +
xen/arch/arm/gic-vgic.c | 2 +
xen/arch/arm/irq.c | 70 ++++++-
xen/arch/arm/smp.c | 11 ++
xen/arch/arm/vgic.c | 14 +-
xen/arch/arm/vgic/vgic-mmio-v2.c | 11 +-
xen/arch/arm/vgic/vgic.c | 21 ++-
xen/arch/x86/Kconfig | 1 +
xen/arch/x86/include/asm/smp.h | 3 -
xen/arch/x86/platform_hypercall.c | 12 ++
xen/arch/x86/smp.c | 35 +---
xen/arch/x86/sysctl.c | 23 ++-
xen/common/Kconfig | 11 ++
xen/common/smp.c | 35 ++++
xen/common/sysctl.c | 32 ++++
xen/include/xen/smp.h | 6 +
xen/xsm/flask/hooks.c | 2 +-
22 files changed, 647 insertions(+), 340 deletions(-)
create mode 100644 docs/misc/cpu-hotplug.txt
create mode 100644 tools/misc/xen-hptool-x86.c
create mode 100644 tools/misc/xen-hptool.h
--
2.56.0
next reply other threads:[~2026-11-09 11:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 11:12 Mykyta Poturai [this message]
2026-11-09 11:12 ` [PATCH v11 1/6] arm/irq: Keep track of irq affinities Mykyta Poturai
2026-11-09 11:12 ` [PATCH v11 3/6] Kconfig: Make cpu hotplug configurable Mykyta Poturai
2026-11-09 11:12 ` [PATCH v11 2/6] arm/irq: Migrate IRQs during CPU up/down operations Mykyta Poturai
2026-11-09 11:12 ` [PATCH v11 5/6] tools: Allow building xen-hptool without CONFIG_MIGRATE Mykyta Poturai
2026-11-09 11:12 ` [PATCH v11 6/6] docs: Document CPU hotplug Mykyta Poturai
2026-11-09 23:38 ` Volodymyr Babchuk
2026-11-09 11:12 ` [PATCH v11 4/6] arm/sysctl: Implement cpu hotplug ops Mykyta Poturai
2026-11-09 12:42 ` Jan Beulich
2026-11-09 23:33 ` Volodymyr Babchuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1794222015.git.mykyta_poturai@epam.com \
--to=mykyta_poturai@epam.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=bertrand.marquis@arm.com \
--cc=dpsmith@apertussolutions.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger@xenproject.org \
--cc=sstabellini@kernel.org \
--cc=teddy.astie@vates.tech \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox