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

[PATCH 01/11] xen: Introduce CONFIG_PLATFORM_OP


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jiqian Chen <Jiqian.Chen@xxxxxxx>
  • Date: Fri, 25 Jul 2025 14:15:20 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=x0AjIMnOVefHOShfTDC829Zw1nWVMk0NTfRb12uPa94=; b=X5CyXGCU6sGd6G2LtzWtHEcKbg4wGXGnupPuOACIbn2dWmYI4wtDk2Js3fV4lk/rCpcWubjNzYOdjF+njVmELE6C0kFmHsguqLDqbuqIITaFj3ctUtDI+O4EenfC1n97Gm0IjsszFBruJtyC3CWZtcjUADxs0Lj7TSh60PWqItS4lqOwtNvcibP8zlYhvTJcS9HHpMLzyoHLYZ1erb2Taaem6O//Tt4ngKpoEw/jF6TNkC7fiXsjHX/hOV2BSpZ0AVVv+7xfQH8FeJYVvh5njgjibWOLbRaGmthbCOkVZohZ/3R6QkNC/Swgvq0ck4Pd1jFSvsEqPgEJsPy3p7HO5A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=n/s/dENbygRoCJ50UsX16MuUrf47Avk1DPYNf/uyonq+3VqRBzxrw++voQ8ObNXCpWL02Fl3TtRVM04SFZr919f1TyOKwtJiEC0TL1RcfxOQdX0UFlvl9gU7OqzAYLFDcvGUvJoCDosmNidDnYdLcaZyiCIA4Nt3o/ZVaW4Oodgq4bjrag1yXSgRUtRz57Co4RHvaAWL39Ji2Wuw4R9v2cfWWvfli3JPktMOxwYXvQmun6aJ4BmNjWajfRX/8Eot+/obowvjun5aPgrEOItxLbawDs97bXcf5hvMYc7uBLyhDoy14QsrF/QjIzqs+bhWtss4MGnCl/KS5tPnFDfXyA==
  • Cc: Huang Rui <ray.huang@xxxxxxx>, Jiqian Chen <Jiqian.Chen@xxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 25 Jul 2025 06:16:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Introduce a new Kconfig CONFIG_PLATFORM_OP, which shall only be disabled
on some dom0less systems or PV shim on x86, to reduce Xen footprint.

The consequence of introducing "CONFIG_PLATFORM_OP=y" in .config file
generated from pvshim_defconfig is transient, which will be adjusted in
the final patch.

Signed-off-by: Jiqian Chen <Jiqian.Chen@xxxxxxx>
---
cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>
cc: Michal Orzel <michal.orzel@xxxxxxx>
cc: Jan Beulich <jbeulich@xxxxxxxx>
cc: Julien Grall <julien@xxxxxxx>
cc: "Roger Pau Monné" <roger.pau@xxxxxxxxxx>
cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/common/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 2539a635f111..1a8f5ec93364 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -627,6 +627,10 @@ config SYSCTL
          This option shall only be disabled on some dom0less systems, or
          PV shim on x86, to reduce Xen footprint.
 
+config PLATFORM_OP
+       bool "Enable Platform Operation hypercall"
+       default y
+
 endmenu
 
 config PM_OP
-- 
2.34.1




 


Rackspace

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