[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/4] Implement CPU hotplug on Arm


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Mon, 29 Sep 2025 08:48:57 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=473GSDVLMpJl1ZQAXxO45hU8uScDcpmMAD2GZKlDRyw=; b=O1Ivj3cmCtqSKtHrWai5Qe/M5Buxqh+9dxUawt+d/O+xAg46uLhvZY0gKPH6hZ7AyCG4KKwpKI6LXDU9Uh4PLn3XZtsU5F5PU7nfK+Esku2lCo76TI7ty+dmpRu2isMlD7ua1gmILDdB96CoGEbynQPlYZN47bwYkuXHDDB5qZPMq7Pg3Gzvkubmx8WILvTiuYjdzjv7DGU1/LHZnFc6lPu5ysACpsq/QAnNQXe0ThCakoW6nhdwfVBIhIHV5our+0DbN9ITmueIrOh4CHtXZkweYBYG/riM/aJDueG5TRpNzRjge3hwp12JTiaU9YinmxmEYF2JsDmJUGxbIJBg7g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oX4joyaV4qutFshZNFu1LMTgCAs1vo8iif33nLZ0OgBr9uqDrrvn1Z1vWg8cGpe0IYPhd1u//Mh2fot9hwch1RoY5qOhETU99NBU07zDrr41bYl3WxpUcW3T/wvUT69sL/OAA5PBFZ6mwLewQsm1/o0oQyLgS4I4CRUsZF+lS8Bdi4lehtl8BpnEsfH41pMoaqVIJTSYJDZeXUWp4NKCakDksy1XfgX44MZtSduzJ96h/+0ig2b11nt3MV8YufIC0FwwKZzAx3gKOjXG4m9kdnaYy6xkErhWGNsvGtx8e4ar8aFndIoW+j3rltt5hBo9N835iymqoRnd91WA/W2opA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Mon, 29 Sep 2025 08:49:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcMR3kP6l96o/PGU+srPxQ0vcF3w==
  • Thread-topic: [PATCH v2 0/4] Implement CPU hotplug on Arm

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.
2. timer and GIC maintenance interrupts switched to static irqactions to remove
the need for freeing them during release_irq.
3. Enabled the build of xen-hptool on Arm.

Tested on QEMU.

v1->v2:
* see individual patches

Mykyta Poturai (4):
  arm/time: Use static irqaction
  arm/gic: Use static irqaction
  arm/sysctl: Implement cpu hotplug ops
  tools: Allow building xen-hptool without CONFIG_MIGRATE

 config/Tools.mk.in               |  1 +
 tools/configure                  | 30 +++++++++++++++++++++
 tools/configure.ac               |  1 +
 tools/libs/guest/Makefile.common |  4 +++
 tools/misc/Makefile              |  2 +-
 xen/arch/arm/gic.c               | 11 ++++++--
 xen/arch/arm/sysctl.c            | 45 ++++++++++++++++++++++++++++++++
 xen/arch/arm/time.c              | 21 ++++++++++++---
 8 files changed, 108 insertions(+), 7 deletions(-)
 mode change 100755 => 100644 tools/configure

-- 
2.34.1



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.