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

Re: [RFC PATCH 06/21] xen/domctl: Add XEN_DOMCTL_CONFIG_VIOMMU_* and viommu config param


  • To: Rahul Singh <rahul.singh@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Mon, 5 Dec 2022 15:52:15 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.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
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=BwYDCdTQmlaT4cABBh+BZCRn/4CMeZJ4WWqXKQRAkoM=; b=HbnAz/A39vAy8OlALq3+JjUkovFJxeIc5+zTEhd7YH+XZTifRXBQurQwJNVj3T4+LQBsyXWrtNfpLfyoOAjbaAYcb7CLowIsnKJ7iquIoIJaLz5a5YCwd6NbvF8UR6z1YDJEs88PnESqAHrv30LXGN+2Yu8zHC37AxbX4vUXpLllfY7IKID2B34p0bVGCAz8d612PBSMxPkAj4aoFDC0CAMhFCDz2S1PFE6zS1Y10f71gWOSZ0wt0K4xDhEVaArRNEKKGjhyVkqlRxLOhp/aciT+ooUD5LNxHr+QrAB7rR93aNUQP2bR3CneafT0zKPrsX6Bcbw3JmQBPjbKZp/z9g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dQC05+3DnBFlkoWL3Mm7vwi3QsC9Q8CjvZkvV3XzpPSpOo6uBm4RZKw8/nIBcgNSFydzlQkPGnNI5WAOLBZatVlc8q5rlUyP/+e3wf2pjgSUQpmrqAl4m7tNd4ejD9XzDx/jinm3UKaXZ3aVz7MhAeiuj8OkZZ1VpnxXLrwoE0AnjLIuoczAG1qdnGk+oBMLevwE6a0XmyJOINXL6jjCeAG257SBvF76zBVzu9uggl2HsBAsmOIDxIC0jzDvPzMqPDjOaepY8OCTzhXcnM4gudJq+YsWatHvj2Yb7a85b/iC0/7GhV2/LqTfHaGOedArAd2OT5SZahjjKaqyCr0RXQ==
  • Cc: Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "George Dunlap" <george.dunlap@xxxxxxxxxx>, Nick Rosbrook <rosbrookn@xxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • Delivery-date: Mon, 05 Dec 2022 14:52:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Rahul,

On 01/12/2022 17:02, Rahul Singh wrote:
> 
> 
> Add new viommu_type field and field values XEN_DOMCTL_CONFIG_VIOMMU_NONE
> XEN_DOMCTL_CONFIG_VIOMMU_SMMUV3 in xen_arch_domainconfig to
> enable/disable vIOMMU support for domains.
> 
> Also add viommu="N" parameter to xl domain configuration to enable the
> vIOMMU for the domains. Currently, only the "smmuv3" type is supported
> for ARM.
> 
> Signed-off-by: Rahul Singh <rahul.singh@xxxxxxx>
> ---
>  docs/man/xl.cfg.5.pod.in             | 11 +++++++++++
>  tools/golang/xenlight/helpers.gen.go |  2 ++
>  tools/golang/xenlight/types.gen.go   |  1 +
>  tools/include/libxl.h                |  5 +++++
>  tools/libs/light/libxl_arm.c         | 13 +++++++++++++
>  tools/libs/light/libxl_types.idl     |  6 ++++++
>  tools/xl/xl_parse.c                  |  9 +++++++++
>  7 files changed, 47 insertions(+)
> 
> diff --git a/docs/man/xl.cfg.5.pod.in b/docs/man/xl.cfg.5.pod.in
> index ec444fb2ba..5854d777ed 100644
> --- a/docs/man/xl.cfg.5.pod.in
> +++ b/docs/man/xl.cfg.5.pod.in
> @@ -2870,6 +2870,17 @@ Currently, only the "sbsa_uart" model is supported for 
> ARM.
> 
>  =back
> 
> +=item B<viommu="N">
> +
> +To enable viommu, user must specify the following option in the VM
> +config file:
> +
> +viommu = "smmuv3"
> +
> +Currently, only the "smmuv3" type is supported for ARM.
> +
> +=back
You need to remove this "=back" or the one before your new section, because 
currently
the build of docs fails with error:
man/xl.cfg.5.pod around line 2873: '=item' outside of any '=over'

~Michal



 


Rackspace

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