[Xen-devel] [PATCH v2 07/25] arm/altp2m: Add altp2m init/teardown routines.

2016-08-01 Thread Sergej Proskurin
The p2m initialization now invokes initialization routines responsible for the allocation and initialization of altp2m structures. The same applies to teardown routines. The functionality has been adopted from the x86 altp2m implementation. Signed-off-by: Sergej Proskurin --- Cc: Stefano Stabelli

Re: [Xen-devel] [PATCH v2 07/25] arm/altp2m: Add altp2m init/teardown routines.

2016-08-04 Thread Sergej Proskurin
Hi Julien, On 08/03/2016 08:12 PM, Julien Grall wrote: > Hello Sergej, > > On 01/08/16 18:10, Sergej Proskurin wrote: >> The p2m initialization now invokes initialization routines responsible >> for the allocation and initialization of altp2m structures. The same >> applies to teardown routines.

Re: [Xen-devel] [PATCH v2 07/25] arm/altp2m: Add altp2m init/teardown routines.

2016-08-05 Thread Julien Grall
On 05/08/16 07:53, Sergej Proskurin wrote: Hi Julien, Hello Sergej, On 08/03/2016 08:12 PM, Julien Grall wrote: On 01/08/16 18:10, Sergej Proskurin wrote: +int altp2m_init(struct domain *d) +{ +unsigned int i; + +spin_lock_init(&d->arch.altp2m_lock); + +for ( i = 0; i < MAX_ALTP

Re: [Xen-devel] [PATCH v2 07/25] arm/altp2m: Add altp2m init/teardown routines.

2016-08-06 Thread Sergej Proskurin
Hi Julien, On 08/05/2016 11:20 AM, Julien Grall wrote: > On 05/08/16 07:53, Sergej Proskurin wrote: >> Hi Julien, > > Hello Sergej, > >> On 08/03/2016 08:12 PM, Julien Grall wrote: >>> On 01/08/16 18:10, Sergej Proskurin wrote: +int altp2m_init(struct domain *d) +{ +unsigned in

Re: [Xen-devel] [PATCH v2 07/25] arm/altp2m: Add altp2m init/teardown routines.

2016-08-09 Thread Sergej Proskurin
Hi Julien, >>> @@ -1460,7 +1469,16 @@ static int p2m_init_hostp2m(struct domain *d) >>> >>> int p2m_init(struct domain *d) >>> { >>> -return p2m_init_hostp2m(d); >>> +int rc; >>> + >>> +rc = p2m_init_hostp2m(d); >>> +if ( rc ) >>> +return rc; >>> + >>> +if ( altp2m_e

Re: [Xen-devel] [PATCH v2 07/25] arm/altp2m: Add altp2m init/teardown routines.

2016-08-03 Thread Julien Grall
Hello Sergej, On 01/08/16 18:10, Sergej Proskurin wrote: The p2m initialization now invokes initialization routines responsible for the allocation and initialization of altp2m structures. The same applies to teardown routines. The functionality has been adopted from the x86 altp2m implementation