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@amd.com>
---
cc: Andrew Cooper <andrew.cooper3@citrix.com>
cc: Anthony PERARD <anthony.perard@vates.tech>
cc: Michal Orzel <michal.orzel@amd.com>
cc: Jan Beulich <jbeulich@suse.com>
cc: Julien Grall <julien@xen.org>
cc: "Roger Pau Monné" <roger.pau@citrix.com>
cc: Stefano Stabellini <sstabellini@kernel.org>
---
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