Re: [Xen-devel] [PATCH v5 10/12] x86/hyperv: provide percpu hypercall input page

2020-01-30 Thread Wei Liu
On Thu, Jan 30, 2020 at 01:26:55PM +0100, Roger Pau Monné wrote: > On Wed, Jan 29, 2020 at 08:20:32PM +, Wei Liu wrote: > > Hyper-V's input / output argument must be 8 bytes aligned an not cross > > page boundary. One way to satisfy those requirements is to use percpu > > page. > > > > For

Re: [Xen-devel] [PATCH v5 10/12] x86/hyperv: provide percpu hypercall input page

2020-01-30 Thread Roger Pau Monné
On Wed, Jan 29, 2020 at 08:20:32PM +, Wei Liu wrote: > Hyper-V's input / output argument must be 8 bytes aligned an not cross > page boundary. One way to satisfy those requirements is to use percpu > page. > > For the foreseeable future we only need to provide input for TLB > and APIC

Re: [Xen-devel] [PATCH v5 10/12] x86/hyperv: provide percpu hypercall input page

2020-01-30 Thread Durrant, Paul
> -Original Message- > From: Xen-devel On Behalf Of Wei > Liu > Sent: 29 January 2020 20:21 > To: Xen Development List > Cc: Wei Liu ; Wei Liu ; Andrew Cooper > ; Durrant, Paul ; > Michael Kelley ; Roger Pau Monné > > Subject: [Xen-devel] [PATCH v5 10/

[Xen-devel] [PATCH v5 10/12] x86/hyperv: provide percpu hypercall input page

2020-01-29 Thread Wei Liu
Hyper-V's input / output argument must be 8 bytes aligned an not cross page boundary. One way to satisfy those requirements is to use percpu page. For the foreseeable future we only need to provide input for TLB and APIC hypercalls, so skip setting up an output page. We will also need to provide