Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 19 November 2015 12:55 > To: Paul Durrant > Cc: Andrew Cooper; Ian Campbell; Wei Liu; Ian Jackson; Stefano Stabellini; > xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v2] x86/hvm/viridian: flu

Re: [Xen-devel] [PATCH v2] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Jan Beulich
>>> On 19.11.15 at 13:33, wrote: > +case HvFlushVirtualAddressSpace: > +case HvFlushVirtualAddressList: > +{ > +cpumask_var_t pcpu_mask; cpumask_t * (or else ... [skip next comment] > +struct vcpu *v; > + > +struct { Stray blank line. > +uint64_t

[Xen-devel] [PATCH v2] x86/hvm/viridian: flush remote tlbs by hypercall

2015-11-19 Thread Paul Durrant
The Microsoft Hypervisor Top Level Functional Spec. (section 3.4) defines two bits in CPUID leaf 0x4004:EAX for the hypervisor to recommend whether or not to issue a hypercall for local or remote TLB flush. Whilst it's doubtful whether using a hypercall for local TLB flush would be any more ef