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

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


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Thu, 18 Sep 2025 12:16:32 +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=2sennabp90pHyVkqi/NAsNLhiu8Ito5EffSRJtk0ARQ=; b=qagio2egHXz328i18C3cYqI7K+VdtHPCUaM5fCsgk66y4OldAf1zcxMm4ZGv0tgqxmY/4EvuyogIgXzumXQKtvnkDuY7mrExfg8h7hXymQIJTwbASFF1s+N9OG7b/pOKBdcUs3GcV97qJZujFLnBz7qqAw+lSQAJkXXf2ADQwVVCALgvUAkPjGgnXv1aZSmDZG2VSVzzAZUE2Yq/gSSzNsdAkEIfIePnLonJxfYGbbQR59DbxiS/A4K4rt2l9tIFC9e2N2FTCcvp1yQjoa5PwZl4oNa3LM8kEXWXl7zYp8mvRwbA+ktDWVECWJEMPFcbxPadrkt07Ng73TlfnTURnA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cGTQNHIOBgp8kr2qc5dOGEo3lO7RxOMGvRmM3amneqGXix75X0b0kzpalfuGwrzcYb11MGUp3WzQA+X1yCRXXlNTACZJ2fFRwdbF8+vXgCKLtEeCdayZPQMpWrgddxW5Ok7SgMTQa8czae6i4vP6v7NMezYTVJYy1+ull5I4XGO14pGnZTT8ferYIiBwQMmh+1TPWkNwmc0Z2dhKNyB1/vSwhBmheAM0w2V4/Kz9XtV6SuwFQnHkUvdc7ME2KCr9q0rJVupgdYTwEJjrEaAy3hKATGBlAwirnmM2f7VqkBb9mo2c2m259ayRgx4HGeeOpnvk/I624Z+0H4u7d6zYuA==
  • 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>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Thu, 18 Sep 2025 12:16:49 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcKJYSskXGqEBZlUi2OIJnUdiQ4g==
  • Thread-topic: [PATCH v1 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.

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/arm64.mk                  |  1 +
 config/x86_32.mk                 |  1 +
 config/x86_64.mk                 |  1 +
 tools/libs/guest/Makefile.common |  4 +-
 tools/misc/Makefile              |  2 +-
 xen/arch/arm/gic.c               | 10 ++++-
 xen/arch/arm/sysctl.c            | 67 ++++++++++++++++++++++++++++++++
 xen/arch/arm/time.c              | 20 ++++++++--
 8 files changed, 98 insertions(+), 8 deletions(-)

-- 
2.34.1



 


Rackspace

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