Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-03-26 Thread Ed White
On 03/26/2015 03:48 AM, Tim Deegan wrote: > At 13:59 -0700 on 25 Mar (1427291983), Ed White wrote: > diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c > index abf3d7a..8fe0650 100644 > --- a/xen/arch/x86/mm/hap/hap.c > +++ b/xen/arch/x86/mm/hap/hap.c > @@ -439,7

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-03-26 Thread Tim Deegan
At 13:59 -0700 on 25 Mar (1427291983), Ed White wrote: > >>> diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c > >>> index abf3d7a..8fe0650 100644 > >>> --- a/xen/arch/x86/mm/hap/hap.c > >>> +++ b/xen/arch/x86/mm/hap/hap.c > >>> @@ -439,7 +439,7 @@ void hap_domain_init(struct domai

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-03-25 Thread Ed White
>>> diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c >>> index abf3d7a..8fe0650 100644 >>> --- a/xen/arch/x86/mm/hap/hap.c >>> +++ b/xen/arch/x86/mm/hap/hap.c >>> @@ -439,7 +439,7 @@ void hap_domain_init(struct domain *d) >>> int hap_enable(struct domain *d, u32 mode) >>> { >>>

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-16 Thread Tim Deegan
At 10:49 -0800 on 15 Jan (1421315382), Ed White wrote: > On 01/15/2015 08:53 AM, Jan Beulich wrote: > On 15.01.15 at 17:48, wrote: > >> At 13:26 -0800 on 09 Jan (1420806395), Ed White wrote: > >>> +/* Init alternate p2m data */ > >>> +if ( (d->arch.altp2m_eptp = alloc_xenheap_page())

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-15 Thread Jan Beulich
>>> On 15.01.15 at 19:49, wrote: > On 01/15/2015 08:53 AM, Jan Beulich wrote: > On 15.01.15 at 17:48, wrote: >>> At 13:26 -0800 on 09 Jan (1420806395), Ed White wrote: +/* Init alternate p2m data */ +if ( (d->arch.altp2m_eptp = alloc_xenheap_page()) == NULL ) +{ >>>

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-15 Thread Ed White
On 01/15/2015 08:53 AM, Jan Beulich wrote: On 15.01.15 at 17:48, wrote: >> At 13:26 -0800 on 09 Jan (1420806395), Ed White wrote: >>> +/* Init alternate p2m data */ >>> +if ( (d->arch.altp2m_eptp = alloc_xenheap_page()) == NULL ) >>> +{ >>> +rv = -ENOMEM; >>> +goto

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-15 Thread Jan Beulich
>>> On 15.01.15 at 17:48, wrote: > At 13:26 -0800 on 09 Jan (1420806395), Ed White wrote: >> +/* Init alternate p2m data */ >> +if ( (d->arch.altp2m_eptp = alloc_xenheap_page()) == NULL ) >> +{ >> +rv = -ENOMEM; >> +goto out; >> +} >> +for (i = 0; i < 512; i++)

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-15 Thread Tim Deegan
Hi, At 13:26 -0800 on 09 Jan (1420806395), Ed White wrote: > --- a/xen/arch/x86/hvm/Makefile > +++ b/xen/arch/x86/hvm/Makefile > @@ -22,4 +22,5 @@ obj-y += vlapic.o > obj-y += vmsi.o > obj-y += vpic.o > obj-y += vpt.o > -obj-y += vpmu.o > \ No newline at end of file > +obj-y += vpmu.o > +obj-y

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-13 Thread Ed White
On 01/13/2015 03:28 AM, Andrew Cooper wrote: > On 09/01/15 21:26, Ed White wrote: >> Add the basic data structures needed to support alternate p2m's and >> the functions to initialise them and tear them down. >> >> Although Intel hardware can handle 512 EPTP's per hardware thread >> concurrently, o

Re: [Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-13 Thread Andrew Cooper
On 09/01/15 21:26, Ed White wrote: > Add the basic data structures needed to support alternate p2m's and > the functions to initialise them and tear them down. > > Although Intel hardware can handle 512 EPTP's per hardware thread > concurrently, only 10 per domain are supported in this patch for >

[Xen-devel] [PATCH 05/11] x86/altp2m: basic data structures and support routines.

2015-01-09 Thread Ed White
Add the basic data structures needed to support alternate p2m's and the functions to initialise them and tear them down. Although Intel hardware can handle 512 EPTP's per hardware thread concurrently, only 10 per domain are supported in this patch for performance reasons. The iterator in hap_enab