RE: [EXTERNAL] Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-17 Thread Vitaly Kuznetsov
Sunil Muthuswamy writes: >> >> On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: >> > Wei Liu writes: >> > >> > > When Linux is running as the root partition, the hypercall page will >> > > have already been setup by Hyper-V. Copy the content over to the >> > > allocated page. >

RE: [EXTERNAL] Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-16 Thread Sunil Muthuswamy
> > On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: > > Wei Liu writes: > > > > > When Linux is running as the root partition, the hypercall page will > > > have already been setup by Hyper-V. Copy the content over to the > > > allocated page. > > > > And we can't setup a new hy

Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-15 Thread Wei Liu
On Tue, Sep 15, 2020 at 01:02:08PM +0200, Vitaly Kuznetsov wrote: > Wei Liu writes: > > > On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: > >> Wei Liu writes: > >> > >> > When Linux is running as the root partition, the hypercall page will > >> > have already been setup by Hyp

Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-15 Thread Wei Liu
On Tue, Sep 15, 2020 at 01:23:50PM +0200, Vitaly Kuznetsov wrote: > Wei Liu writes: > > > On Tue, Sep 15, 2020 at 01:02:08PM +0200, Vitaly Kuznetsov wrote: > >> Wei Liu writes: > >> > >> > On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: > >> >> Wei Liu writes: > >> >> > >> >

Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-15 Thread Vitaly Kuznetsov
Wei Liu writes: > On Tue, Sep 15, 2020 at 01:02:08PM +0200, Vitaly Kuznetsov wrote: >> Wei Liu writes: >> >> > On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: >> >> Wei Liu writes: >> >> >> >> > When Linux is running as the root partition, the hypercall page will >> >> > hav

Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-15 Thread Vitaly Kuznetsov
Wei Liu writes: > On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: >> Wei Liu writes: >> >> > When Linux is running as the root partition, the hypercall page will >> > have already been setup by Hyper-V. Copy the content over to the >> > allocated page. >> >> And we can't setu

Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-15 Thread Wei Liu
On Tue, Sep 15, 2020 at 12:32:29PM +0200, Vitaly Kuznetsov wrote: > Wei Liu writes: > > > When Linux is running as the root partition, the hypercall page will > > have already been setup by Hyper-V. Copy the content over to the > > allocated page. > > And we can't setup a new hypercall page by w

Re: [PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-15 Thread Vitaly Kuznetsov
Wei Liu writes: > When Linux is running as the root partition, the hypercall page will > have already been setup by Hyper-V. Copy the content over to the > allocated page. And we can't setup a new hypercall page by writing something different to HV_X64_MSR_HYPERCALL, right? > > The suspend, res

[PATCH RFC v1 08/18] x86/hyperv: handling hypercall page setup for root

2020-09-14 Thread Wei Liu
When Linux is running as the root partition, the hypercall page will have already been setup by Hyper-V. Copy the content over to the allocated page. The suspend, resume and cleanup paths remain untouched because they are not supported in this setup yet. Signed-off-by: Lillian Grassin-Drake Sign