Hi all,
This is a continuation of the disabling some hypercalls handling code series.
https://lore.kernel.org/xen-devel/20250704092952.822578-1-penny.zh...@amd.com/

It can be beneficial for some dom0less systems to further reduce Xen footprint
via disabling some hypercalls handling code, which may not to be used &
required in such systems. Each hypercall has a separate option to keep
configuration flexible.

Options to disable hypercalls:
- sysctl
- domctl
- hvm
- physdev
- platform_op

This is for platform_op.
---
cc: Jan Beulich <jbeul...@suse.com>
cc: Andrew Cooper <andrew.coop...@citrix.com>
cc: "Roger Pau Monné" <roger....@citrix.com>
cc: Anthony PERARD <anthony.per...@vates.tech>
cc: Michal Orzel <michal.or...@amd.com>
cc: Julien Grall <jul...@xen.org>
cc: Stefano Stabellini <sstabell...@kernel.org>
cc: Lukasz Hawrylko <luk...@hawrylko.pl>
cc: "Daniel P. Smith" <dpsm...@apertussolutions.com>
cc: "Mateusz Mówka" <mateusz.mo...@intel.com>
cc: Dario Faggioli <dfaggi...@suse.com>
cc: Juergen Gross <jgr...@suse.com>
cc: George Dunlap <g...@xenproject.org>
cc: "Marek Marczykowski-Górecki" <marma...@invisiblethingslab.com>
cc: Bertrand Marquis <bertrand.marq...@arm.com>
cc: Volodymyr Babchuk <volodymyr_babc...@epam.com>
---
Jiqian Chen (11):
  xen: Introduce CONFIG_PLATFORM_OP
  xen/xsm: Wrap around xsm_platform_op with CONFIG_PLATFORM_OP
  xen/platform_op: Wrap around XENPF_microcode_update(2)
  xen/platform_op: Wrap around XENPF_firmware_info
  xen/platform_op: Wrap around XENPF_efi_runtime_call
  xen/platform_op: Wrap around XENPF_enter_acpi_sleep
  xen/platform_op: Wrap around XENPF_set_processor_pminfo
  xen/xsm: Wrap around xsm_resource_(un)plug_core
  xen/platform_op: Wrap around XENPF_mem_hotadd
  xen/platform_op: Wrap around XENPF_core_parking
  xen/platform_op: Wrap around platform_op hypercall

 xen/arch/arm/Makefile                 |  2 +-
 xen/arch/x86/Makefile                 |  2 ++
 xen/arch/x86/acpi/cpu_idle.c          |  6 ++++++
 xen/arch/x86/acpi/cpufreq/cpufreq.c   |  2 ++
 xen/arch/x86/acpi/lib.c               |  2 ++
 xen/arch/x86/acpi/power.c             |  4 ++++
 xen/arch/x86/apic.c                   |  4 ++++
 xen/arch/x86/configs/pvshim_defconfig |  1 +
 xen/arch/x86/cpu/microcode/core.c     |  6 ++++++
 xen/arch/x86/i8259.c                  |  2 ++
 xen/arch/x86/io_apic.c                |  2 ++
 xen/arch/x86/tboot.c                  |  2 ++
 xen/arch/x86/x86_64/Makefile          |  5 +++--
 xen/arch/x86/x86_64/mm.c              |  6 ++++++
 xen/common/Kconfig                    |  7 +++++++
 xen/common/core_parking.c             |  4 ++++
 xen/common/cpu.c                      |  2 ++
 xen/common/domain.c                   |  4 ++--
 xen/common/efi/common-stub.c          |  4 ++++
 xen/common/efi/compat.c               |  2 ++
 xen/common/efi/runtime.c              |  5 +++++
 xen/common/numa.c                     |  2 ++
 xen/common/sched/core.c               |  2 ++
 xen/drivers/char/console.c            |  6 ++++--
 xen/drivers/cpufreq/cpufreq.c         |  4 ++++
 xen/drivers/passthrough/iommu.c       |  2 ++
 xen/include/hypercall-defs.c          |  6 ++++--
 xen/include/xsm/xsm.h                 | 12 ++++++++++++
 xen/xsm/dummy.c                       |  5 +++++
 xen/xsm/flask/hooks.c                 |  5 +++++
 30 files changed, 109 insertions(+), 9 deletions(-)

-- 
2.34.1


Reply via email to