Re: [Xen-devel] [PATCH v2] x86: invpcid support

2018-03-05 Thread Jan Beulich
>>> On 02.03.18 at 18:01, wrote: > On 02/03/18 16:47, Jan Beulich wrote: > On 02.03.18 at 17:23, wrote: >>> +static inline void invpcid(unsigned int pcid, unsigned long addr, >>> + unsigned int type) >>> +{ >>> +struct { >>> +uint64_t pcid:12; >>> +

Re: [Xen-devel] [PATCH v2] x86: invpcid support

2018-03-02 Thread Wei Liu
On Fri, Mar 02, 2018 at 09:47:45AM -0700, Jan Beulich wrote: > >>> On 02.03.18 at 17:23, wrote: > > +static inline void invpcid(unsigned int pcid, unsigned long addr, > > + unsigned int type) > > +{ > > +struct { > > +uint64_t pcid:12; > > +uint64_t re

Re: [Xen-devel] [PATCH v2] x86: invpcid support

2018-03-02 Thread Andrew Cooper
On 02/03/18 16:47, Jan Beulich wrote: On 02.03.18 at 17:23, wrote: >> +static inline void invpcid(unsigned int pcid, unsigned long addr, >> + unsigned int type) >> +{ >> +struct { >> +uint64_t pcid:12; >> +uint64_t reserved:52; >> +uint64_

Re: [Xen-devel] [PATCH v2] x86: invpcid support

2018-03-02 Thread Jan Beulich
>>> On 02.03.18 at 17:23, wrote: > +static inline void invpcid(unsigned int pcid, unsigned long addr, > + unsigned int type) > +{ > +struct { > +uint64_t pcid:12; > +uint64_t reserved:52; > +uint64_t addr; > +} desc = { .pcid = pcid, .addr

Re: [Xen-devel] [PATCH v2] x86: invpcid support

2018-03-02 Thread Andrew Cooper
On 02/03/18 16:23, Wei Liu wrote: > Provide the functions needed for different modes. Add cpu_has_invpcid. > > Signed-off-by: Wei Liu > Reviewed-by: Juergen Gross Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xenproject.org ht