Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-10-25 Thread Alexandru Stefan ISAILA
On 25.10.2019 17:36, Alexandru Stefan ISAILA wrote: > > > On 23.10.2019 14:58, Roger Pau Monné wrote: >> On Wed, Oct 23, 2019 at 09:11:54AM +, Alexandru Stefan ISAILA wrote: >>> >>> >>> On 03.09.2019 20:24, Tamas K Lengyel wrote: On Tue, Sep 3, 2019 at 9:53 AM Jan Beulich wrote:

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-10-25 Thread Alexandru Stefan ISAILA
On 23.10.2019 14:58, Roger Pau Monné wrote: > On Wed, Oct 23, 2019 at 09:11:54AM +, Alexandru Stefan ISAILA wrote: >> >> >> On 03.09.2019 20:24, Tamas K Lengyel wrote: >>> On Tue, Sep 3, 2019 at 9:53 AM Jan Beulich wrote: On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: >

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-10-23 Thread Roger Pau Monné
On Wed, Oct 23, 2019 at 09:11:54AM +, Alexandru Stefan ISAILA wrote: > > > On 03.09.2019 20:24, Tamas K Lengyel wrote: > > On Tue, Sep 3, 2019 at 9:53 AM Jan Beulich wrote: > >> > >> On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: > >>> --- a/xen/include/public/hvm/hvm_op.h > >>> +++

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-10-23 Thread Alexandru Stefan ISAILA
On 03.09.2019 20:24, Tamas K Lengyel wrote: > On Tue, Sep 3, 2019 at 9:53 AM Jan Beulich wrote: >> >> On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: >>> @@ -1355,6 +1355,23 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned >>> int i) >>> ept = >ept; >>> ept->mfn =

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-05 Thread Julien Grall
Hi, On 02/09/2019 09:11, Alexandru Stefan ISAILA wrote: > By default the sve bits are not set. While altp2m is currently only supported for x86 (though I am aware of some port for Arm), this patch extends an interface that is meant to be arch-agnostic. So what does "sve" stands for? > diff

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-04 Thread Jan Beulich
On 04.09.2019 16:14, Alexandru Stefan ISAILA wrote: > > > On 04.09.2019 16:17, Jan Beulich wrote: >> On 04.09.2019 15:04, Alexandru Stefan ISAILA wrote: >>> >>> >>> On 04.09.2019 15:14, Jan Beulich wrote: On 04.09.2019 13:51, Alexandru Stefan ISAILA wrote: > > > On 03.09.2019

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-04 Thread Alexandru Stefan ISAILA
On 04.09.2019 16:17, Jan Beulich wrote: > On 04.09.2019 15:04, Alexandru Stefan ISAILA wrote: >> >> >> On 04.09.2019 15:14, Jan Beulich wrote: >>> On 04.09.2019 13:51, Alexandru Stefan ISAILA wrote: On 03.09.2019 18:52, Jan Beulich wrote: > On 02.09.2019 10:11, Alexandru

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-04 Thread Jan Beulich
On 04.09.2019 15:04, Alexandru Stefan ISAILA wrote: > > > On 04.09.2019 15:14, Jan Beulich wrote: >> On 04.09.2019 13:51, Alexandru Stefan ISAILA wrote: >>> >>> >>> On 03.09.2019 18:52, Jan Beulich wrote: On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: > @@ -1355,6 +1355,23 @@ void

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-04 Thread Alexandru Stefan ISAILA
On 04.09.2019 15:14, Jan Beulich wrote: > On 04.09.2019 13:51, Alexandru Stefan ISAILA wrote: >> >> >> On 03.09.2019 18:52, Jan Beulich wrote: >>> On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: @@ -1355,6 +1355,23 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned int i)

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-04 Thread Jan Beulich
On 04.09.2019 13:51, Alexandru Stefan ISAILA wrote: > > > On 03.09.2019 18:52, Jan Beulich wrote: >> On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: >>> @@ -1355,6 +1355,23 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned >>> int i) >>> ept = >ept; >>> ept->mfn =

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-04 Thread Alexandru Stefan ISAILA
On 03.09.2019 18:52, Jan Beulich wrote: > On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: >> @@ -1355,6 +1355,23 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned >> int i) >> ept = >ept; >> ept->mfn = pagetable_get_pfn(p2m_get_pagetable(p2m)); >>

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-03 Thread Tamas K Lengyel
On Tue, Sep 3, 2019 at 9:53 AM Jan Beulich wrote: > > On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: > > @@ -1355,6 +1355,23 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned > > int i) > > ept = >ept; > > ept->mfn = pagetable_get_pfn(p2m_get_pagetable(p2m)); > >

Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits

2019-09-03 Thread Jan Beulich
On 02.09.2019 10:11, Alexandru Stefan ISAILA wrote: > @@ -1355,6 +1355,23 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned > int i) > ept = >ept; > ept->mfn = pagetable_get_pfn(p2m_get_pagetable(p2m)); > d->arch.altp2m_eptp[i] = ept->eptp; > + > +if ( set_sve ) > +{ >