Re: [Xen-devel] [PATCH 15/18] arm/altp2m: Add altp2m paging mechanism.

2016-07-06 Thread Julien Grall
On 06/07/16 09:33, Sergej Proskurin wrote: On 07/04/2016 10:53 PM, Julien Grall wrote: Can we introduce a function which return the xma, mfn, order, attribute at once? It will avoid to browse the p2m 3 times which is really expensive on ARMv7 because the p2m is not mapped in the virtual addres

Re: [Xen-devel] [PATCH 15/18] arm/altp2m: Add altp2m paging mechanism.

2016-07-06 Thread Sergej Proskurin
Hi Julien, On 07/04/2016 10:53 PM, Julien Grall wrote: > (CC Tamas) > > Hello Sergej, > > On 04/07/2016 12:45, Sergej Proskurin wrote: >> This commit adds the function p2m_altp2m_lazy_copy implementing the >> altp2m paging mechanism. The function p2m_altp2m_lazy_copy lazily copies >> the hostp2m'

Re: [Xen-devel] [PATCH 15/18] arm/altp2m: Add altp2m paging mechanism.

2016-07-04 Thread Julien Grall
(CC Tamas) Hello Sergej, On 04/07/2016 12:45, Sergej Proskurin wrote: This commit adds the function p2m_altp2m_lazy_copy implementing the altp2m paging mechanism. The function p2m_altp2m_lazy_copy lazily copies the hostp2m's mapping into the currently active altp2m view on 2nd stage instruction