arm: map GICV in all domains, not just dom0.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 3 Jul 2012 09:52:25 +0000 (10:52 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 3 Jul 2012 09:52:25 +0000 (10:52 +0100)
commit48ffc44d6467a52b9eb582923a022cfe66bad4c4
tree20aa890fd5eb41b128e554f138a7891a6141d34f
parent8fb3fc7693769c313a1e23b7994a7fab7ae302da
arm: map GICV in all domains, not just dom0.

This requires that we allocate all p2m pages from domheap without a particular
dom because max pages is not setup yet so there is no allocation available to
us.

At some point we should create a separate p2m allocation (similar to x86's shadow allocation) and use that.

Also we seem to have been calling p2m_alloc_table twice for dom0.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/arch/arm/domain_build.c
xen/arch/arm/gic.c
xen/arch/arm/gic.h
xen/arch/arm/p2m.c