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
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.
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
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
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
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