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

Re: [PATCH 2/2] docs: Document Arm GICv3 limit for dom0_max_vcpus


  • To: Mykola Kvach <xakep.amatop@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Mon, 25 May 2026 11:55:38 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com 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=qVvZe1nzjfEPI2GFbE6FjfQnow1z3wc0kG8beW+zkoE=; b=mbVtWDQkQ4rEdnmFa97Gh2aSBw7Vhe4C51tcLfZPbqj+pE5Vt2pC2hZEl9D9TYOe0vrF0zTOdZAvfxjIoXzVeYQLYIM2sGZEGCeyLNadQd19C1LL6q4N/P6TblId9oTK92ICu1EgjtrvK9xdQyfCSEzR3JncoWEpfRH33E8sVF63O3n77tHkSsHE9xRTr1GZUDRDdwBk7cr5xnD3azh7PurYpcs8rguncIKGGDDcPf1fKI2WwxnYLw6qW4iW0fDdcSMgW4yyncfzEgb7ydGg9/uyRR/Srai5CMba4owfVeglj/ppBx5/UHLkrSQ9G5nQwdb++Se+t5Cp8cGgQgzw2Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oea+8FIylqj41RYpvYxx3/Ekr7TYYio0Tj1hhIhCpW+Ks5JvKljSA7+W4QGsLTt9jQG4f962ZgtwHPWrT4jpPHDfxVpM1zSGC3gL1ByjhZaXxJ3qhF8+ZGZRtNBoZOaD4yaEfEHPZUSoj8W7KhpYHPWnQQ/AZmKZO/5z0M8icuQ2E67YZ6ee6txj0eNyu6bjgPin93FRJ4Kshso7NxK+HczeKhg2dJNzmv0dAOsVqmmwVhTP9pRT4LDjlFSi3AjHjAEsrLZ4hOJMB6rTQCVxwOVT00/mgCtxRCP6VezqYJBoWBIbVDcjTOsNosJ+N6eLIroKtGLhpO5+EbbcSDTPRA==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Cc: Mykola Kvach <mykola_kvach@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 25 May 2026 09:55:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 22-May-26 08:18, Mykola Kvach wrote:
> From: Mykola Kvach <mykola_kvach@xxxxxxxx>
> 
> On Arm GICv3 systems, Dom0 may use the host GIC layout, for example
> when it is the hardware domain. In that case the effective Dom0 vCPU
> count is not only bounded by the requested dom0_max_vcpus value and
> Xen's generic vCPU limits. It is also bounded by the redistributor MMIO
> regions that can be exposed for the host layout.
> 
> Document that Xen can only create Dom0 vCPUs whose virtual redistributor
> frame is covered by those regions, and that secondary vCPU creation stops
> at the first vCPU whose virtual redistributor frame is not covered.
> 
> Signed-off-by: Mykola Kvach <mykola_kvach@xxxxxxxx>
> ---
>  docs/misc/xen-command-line.pandoc | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/docs/misc/xen-command-line.pandoc 
> b/docs/misc/xen-command-line.pandoc
> index d46d5b2152..0a5589b24c 100644
> --- a/docs/misc/xen-command-line.pandoc
> +++ b/docs/misc/xen-command-line.pandoc
> @@ -981,6 +981,14 @@ The number of VCPUs to give to dom0.  This number of 
> VCPUs can be more
>  than the number of PCPUs on the host.  The default is the number of
>  PCPUs.
>  
> +On Arm systems using GICv3, Dom0 may use the host GIC layout, for example
It's not dom0 specific. It can by any domain using host memory layout meaning
dom0, hwdom, domU direct mapped, in which case I'm not sure if such comment
should belong here given that this behavior is not dom0_max_vcpus specific (same
could be triggered on your setup with dom0less domU, direct-mapped and 17 
vCPUs).

> +when it is the hardware domain.  In this case, this value is also limited
> +by the redistributor MMIO regions that can be exposed for that layout.
> +Xen can only create Dom0 VCPUs whose virtual redistributor frame is
> +covered by those regions.  If the requested number of VCPUs exceeds that
> +limit, secondary VCPU creation stops at the first VCPU whose virtual
> +redistributor frame is not covered.
> +
>  Or:
>  
>  > `= <min>-<max>` where `<min>` and `<max>` are integers.

~Michal




 


Rackspace

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