Re: [PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required

2020-09-16 Thread Vitaly Kuznetsov
Wei Liu writes: > On Tue, Sep 15, 2020 at 12:43:18PM +, Wei Liu wrote: >> On Tue, Sep 15, 2020 at 12:16:58PM +0200, Vitaly Kuznetsov wrote: >> > Wei Liu writes: >> > >> > > When Linux runs as the root partition, it will need to make hypercalls >> > > which return data from the hypervisor. >

Re: [PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required

2020-09-16 Thread Wei Liu
On Tue, Sep 15, 2020 at 12:43:18PM +, Wei Liu wrote: > On Tue, Sep 15, 2020 at 12:16:58PM +0200, Vitaly Kuznetsov wrote: > > Wei Liu writes: > > > > > When Linux runs as the root partition, it will need to make hypercalls > > > which return data from the hypervisor. > > > > > > Allocate pages

Re: [PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required

2020-09-15 Thread Wei Liu
On Tue, Sep 15, 2020 at 12:16:58PM +0200, Vitaly Kuznetsov wrote: > Wei Liu writes: > > > When Linux runs as the root partition, it will need to make hypercalls > > which return data from the hypervisor. > > > > Allocate pages for storing results when Linux runs as the root > > partition. > > > >

Re: [PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required

2020-09-15 Thread Vitaly Kuznetsov
Wei Liu writes: > When Linux runs as the root partition, it will need to make hypercalls > which return data from the hypervisor. > > Allocate pages for storing results when Linux runs as the root > partition. > > Signed-off-by: Lillian Grassin-Drake > Co-Developed-by: Lillian Grassin-Drake > S

[PATCH RFC v1 06/18] x86/hyperv: allocate output arg pages if required

2020-09-14 Thread Wei Liu
When Linux runs as the root partition, it will need to make hypercalls which return data from the hypervisor. Allocate pages for storing results when Linux runs as the root partition. Signed-off-by: Lillian Grassin-Drake Co-Developed-by: Lillian Grassin-Drake Signed-off-by: Wei Liu --- arch/x