Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Stephen Hemminger
verproject.org; linux- > > ker...@vger.kernel.org; KY Srinivasan ; Haiyang Zhang > > ; Stephen Hemminger ; > > Thomas Gleixner ; Ingo Molnar ; H. > > Peter Anvin ; Steven Rostedt ; Jork > > Loeser ; Simon Xiao ; > > Andy Lutomirski > > Subject: Re: [PATCH v5 08/10] x86/

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 10:17 PM, Jork Loeser wrote: >> > +#define HV_FLUSH_ALL_PROCESSORS0x0001 >> > +#define HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES0x0002 >> > +#define HV_FLUSH_NON_GLOBAL_MAPPINGS_ONLY 0x0004 >> > +#define HV_FLUSH_USE_EXTENDED_RANGE_FO

RE: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Jork Loeser
Hemminger ; > Thomas Gleixner ; Ingo Molnar ; H. > Peter Anvin ; Steven Rostedt ; Jork > Loeser ; Simon Xiao ; > Andy Lutomirski > Subject: Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush > > On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov >

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov wrote: > Hyper-V host can suggest us to use hypercall for doing remote TLB flush, > this is supposed to work faster than IPIs. > > Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls > we need to put the input somewhere in me