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

RE: [PATCH v5 00/18] xen: introduce CONFIG_SYSCTL


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: "Penny, Zheng" <penny.zheng@xxxxxxx>
  • Date: Mon, 30 Jun 2025 03:09:15 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.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=eyxTUt46OegQF9TSMWc5zsM2ga42KdNWQo/TuuOPKgw=; b=gXLfUVptOwWtUBda4GBz84w/5dTGhPLBxv0zc9YVk5suSa/WpWN+hGYDnsENuOTY8V5N6ROPvnVEOmUgUuuU9ryjgEl3rHq/5m0Kkcir+fTrl24zTcSngNRQL8jtfU+Gp6a+94oBodEaj4jwYAeggSQ+Vv3Jw52PkRYk2efhcxClPA6mQjiTKlzSnhGRiSBmoboE4Bhos4K1Hs70DghooVukRuVliithrUzdbPNoqgQUIl62nvdLR3mRNMuHQmykJJ2B+8M/hNYOsgho8OiEvPOfUi2aq4xRKQPx5oHg3mUsCqRVkK7QchiV0cFgunq6UUD0it0rjBYJtEDoHtkQ+A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U5uaPrT0C6oLiDedfc/vhHfJbmINuzz+eksGe2QEQ8n4ji34dLi+4uSV26uZapgfY7NVi5JBXw5z7oC7Pf2Y9UfCRHLPCwlNKTQsyWwlSgiI1CP2rVwbEfgNqwuWISi2TO9VjbjGhYXzDWoTN15RmQP8IozM0r3Sof5ZqtUER6tZbW2nujr7/4abdclCguAU6ruK3zwu+Wyg7oX3YW/NBLbjvFNy4EIFBpjqqM/ACN8IkVM8jq7b/4oBqdAyP5KRoQwq5Pzdw5iMWF7JpqONeNfGb9yBpLngJ2QdZIFW5vgEBtr0XFQS69WDG6ARDKndzPdwf6OQteYsVoLqwipWVQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: "Huang, Ray" <Ray.Huang@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "Orzel, Michal" <Michal.Orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, George Dunlap <gwd@xxxxxxxxxxxxxx>, Nathan Studer <nathan.studer@xxxxxxxxxxxxxxx>, Stewart Hildebrand <stewart@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Alistair Francis <alistair.francis@xxxxxxx>, Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Connor Davis <connojdavis@xxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 30 Jun 2025 03:09:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels: MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Enabled=True;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_SetDate=2025-06-30T03:08:43.0000000Z;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Name=Open Source;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_ContentBits=3;MSIP_Label_f265efc6-e181-49d6-80f4-fae95cf838a0_Method=Privileged
  • Thread-index: AQHb3onFdnXviGLMzkyWb5d6+OoXc7QVpzqAgAV0OGA=
  • Thread-topic: [PATCH v5 00/18] xen: introduce CONFIG_SYSCTL

[Public]

> -----Original Message-----
> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: Thursday, June 26, 2025 11:51 PM
> To: Penny, Zheng <penny.zheng@xxxxxxx>
> Cc: Huang, Ray <Ray.Huang@xxxxxxx>; Andrew Cooper
> <andrew.cooper3@xxxxxxxxxx>; Roger Pau Monné <roger.pau@xxxxxxxxxx>;
> Anthony PERARD <anthony.perard@xxxxxxxxxx>; Orzel, Michal
> <Michal.Orzel@xxxxxxx>; Julien Grall <julien@xxxxxxx>; Stefano Stabellini
> <sstabellini@xxxxxxxxxx>; Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>; 
> Dario
> Faggioli <dfaggioli@xxxxxxxx>; Juergen Gross <jgross@xxxxxxxx>; George
> Dunlap <gwd@xxxxxxxxxxxxxx>; Nathan Studer <nathan.studer@xxxxxxxxxxxxxxx>;
> Stewart Hildebrand <stewart@xxxxxxx>; Bertrand Marquis
> <bertrand.marquis@xxxxxxx>; Volodymyr Babchuk
> <Volodymyr_Babchuk@xxxxxxxx>; Alistair Francis <alistair.francis@xxxxxxx>;
> Bob Eshleman <bobbyeshleman@xxxxxxxxx>; Connor Davis
> <connojdavis@xxxxxxxxx>; Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>; xen-
> devel@xxxxxxxxxxxxxxxxxxxx; xen-devel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v5 00/18] xen: introduce CONFIG_SYSCTL
>
> On 16.06.2025 08:41, Penny Zheng wrote:
> > 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
> >
> > This patch serie is only focusing on introducing CONFIG_SYSCTL.
> > Different options will be covered in different patch serie.
> >
> > Features, like LIVEPATCH, Overlay DTB, which fully rely on sysctl op,
> > will be wrapped with CONFIG_SYSCTL, to reduce Xen footprint as much as
> possible.
> >
> > It is derived from Stefano Stabellini's commit "xen: introduce kconfig
> > options to disable hypercalls"(
> > https://lore.kernel.org/xen-devel/20241219092917.3006174-1-Sergiy_Kibr
> > ik@xxxxxxxx)
> >
> > Penny Zheng (16):
> >   xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"
> >   xen/xsm: wrap around xsm_sysctl with CONFIG_SYSCTL
> >   xen/sysctl: wrap around XEN_SYSCTL_readconsole
> >   xen/sysctl: make CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL
> >   xen/sysctl: wrap around XEN_SYSCTL_sched_id
> >   xen/sysctl: wrap around XEN_SYSCTL_perfc_op
> >   xen/sysctl: wrap around XEN_SYSCTL_lockprof_op
> >   xen/pmstat: introduce CONFIG_PM_OP
> >   xen/sysctl: introduce CONFIG_PM_STATS
> >   xen/sysctl: wrap around XEN_SYSCTL_page_offline_op
> >   xen/sysctl: wrap around XEN_SYSCTL_cpupool_op
> >   xen/sysctl: wrap around XEN_SYSCTL_scheduler_op
> >   xen/sysctl: wrap around XEN_SYSCTL_physinfo
> >   xen/sysctl: make CONFIG_COVERAGE depend on CONFIG_SYSCTL
> >   xen/sysctl: make CONFIG_LIVEPATCH depend on CONFIG_SYSCTL
> >   xen/sysctl: wrap around arch-specific arch_do_sysctl
>
> When thinking about whether to commit part of the series, it occurred to me 
> that to
> avoid transiently regressing shim (in size), shouldn't the currently 1st 
> patch be
> moved to be 2nd to last, and then be committed together with the last one? In 
> any
> event the plan right now is to commit some patches from the beginning of this
> series, but specifically without patch 1. Please shout if you see any problem 
> with
> this.

Understood, fine with me

>
> Jan

 


Rackspace

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