Re: [Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-25 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 13, 2019 7:10 PM > > This patch defines a new bit reported in the hw_cap field of struct > xen_sysctl_physinfo to indicate whether the platform supports sharing of > HAP page tables (i.e. the P2M) with the IOMMU. This

Re: [Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-17 Thread Julien Grall
Hi Jan, On 9/13/19 12:10 PM, Jan Beulich wrote: This patch defines a new bit reported in the hw_cap field of struct xen_sysctl_physinfo to indicate whether the platform supports sharing of HAP page tables (i.e. the P2M) with the IOMMU. This informs the toolstack whether the domain needs extra

Re: [Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-13 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 13 September 2019 14:54 > To: Jan Beulich > Cc: Paul Durrant ; xen-devel@lists.xenproject.org; > Suravee Suthikulpanit > ; Julien Grall ; Andrew > Cooper > ; Anthony Perard ; > Christian Lindig > ; George Dunlap ; Ian > Jackson > ;

Re: [Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-13 Thread Roger Pau Monné
On Fri, Sep 13, 2019 at 01:10:18PM +0200, Jan Beulich wrote: > --- a/tools/ocaml/libs/xc/xenctrl.mli > +++ b/tools/ocaml/libs/xc/xenctrl.mli > @@ -57,7 +57,6 @@ type domain_create_flag = >| CDF_OOS_OFF >| CDF_XS_DOMAIN >| CDF_IOMMU > - Stray deletion? > ---

Re: [Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-13 Thread Jan Beulich
On 13.09.2019 13:47, Paul Durrant wrote: >> -Original Message- >> From: Jan Beulich >> Sent: 13 September 2019 12:10 >> To: Paul Durrant ; xen-devel@lists.xenproject.org >> Cc: Suravee Suthikulpanit ; Julien Grall >> ; Andrew >> Cooper ; Anthony Perard >> ; Christian Lindig >> ; Roger

Re: [Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-13 Thread Paul Durrant
> -Original Message- > From: Jan Beulich > Sent: 13 September 2019 12:10 > To: Paul Durrant ; xen-devel@lists.xenproject.org > Cc: Suravee Suthikulpanit ; Julien Grall > ; Andrew > Cooper ; Anthony Perard > ; Christian Lindig > ; Roger Pau Monne ; George > Dunlap > ; Ian Jackson ;

[Xen-devel] [PATCH v11.1 3/6] sysctl / libxl: report whether IOMMU/HAP page table sharing is supported

2019-09-13 Thread Jan Beulich
This patch defines a new bit reported in the hw_cap field of struct xen_sysctl_physinfo to indicate whether the platform supports sharing of HAP page tables (i.e. the P2M) with the IOMMU. This informs the toolstack whether the domain needs extra memory to store discrete IOMMU page tables or not.