Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-20 Thread Paul Durrant
mas Gleixner > ; Ingo Molnar ; H. Peter Anvin > > Subject: Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM > tools domain > > On 10/20/2017 04:35 AM, Paul Durrant wrote: > >> -Original Message- > >> From: Xen-devel [mailto:xen-devel

Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-20 Thread Boris Ostrovsky
e...@lists.xenproject.org; linux-ker...@vger.kernel.org >> Cc: Juergen Gross ; Thomas Gleixner >> ; Ingo Molnar ; H. Peter Anvin >> >> Subject: Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM >> tools domain >> >> On 10/19/2017 11:26 AM, Paul Durrant w

Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-20 Thread Paul Durrant
mas Gleixner > ; Ingo Molnar ; H. Peter Anvin > > Subject: Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM > tools domain > > On 10/19/2017 11:26 AM, Paul Durrant wrote: > > If the domain has XENFEAT_auto_translated_physmap then use of the PV- > >

Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-19 Thread Boris Ostrovsky
On 10/19/2017 11:26 AM, Paul Durrant wrote: > If the domain has XENFEAT_auto_translated_physmap then use of the PV- > specific HYPERVISOR_mmu_update hypercall is clearly incorrect. > > This patch adds checks in xen_remap_domain_gfn_array() and > xen_unmap_domain_gfn_array() which call through to th

[Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-19 Thread Paul Durrant
If the domain has XENFEAT_auto_translated_physmap then use of the PV- specific HYPERVISOR_mmu_update hypercall is clearly incorrect. This patch adds checks in xen_remap_domain_gfn_array() and xen_unmap_domain_gfn_array() which call through to the approprate xlate_mmu function if the feature is pre

[Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-19 Thread Paul Durrant
If the domain has XENFEAT_auto_translated_physmap then use of the PV- specific HYPERVISOR_mmu_update hypercall is clearly incorrect. This patch adds checks in xen_remap_domain_gfn_array() and xen_unmap_domain_gfn_array() which call through to the approprate xlate_mmu function if the feature is pre

Re: [Xen-devel] [PATCH] x86/xen: support priv-mapping in an HVM tools domain

2017-10-19 Thread Paul Durrant
Apologies... I misformatted this. I will re-send. Paul > -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 19 October 2017 16:24 > To: x...@kernel.org; xen-de...@lists.xenproject.org; linux- > ker...@vger.kernel.org > Cc: Paul Durrant > Subject: [PATCH] x8