[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2] xen/arm: p2m: configure stage-2 page table to support upto 42-bit PA systems
XEN configures stage-2 page table to expose 40 bits of IPA (Intermediate Physical Address) bits for systems with 42 bits of PA (Physical Address). This setting prevents the 42-bit PA systems from booting DOM0's kernel since access above 40 bits results in a fault. This patch adds support for 42-bit system which has a full 42-bit address range. The fix will allocate 8 pages for stage 2 mapping for both DOM0 and guests. It is a bit wasteful but not an issue since most of these systems should have sufficiently large memory capacity. Signed-off-by: Feng Kan <fengkan@xxxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Vishnu <vishnu@xxxxxxxxxxxxxxxxxxxxxx> --- xen/arch/arm/p2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c index 92c2413..7712991 100644 --- a/xen/arch/arm/p2m.c +++ b/xen/arch/arm/p2m.c @@ -1995,7 +1995,7 @@ void __init setup_virt_paging(void) [0] = { 32, 32/*32*/, 0, 1 }, [1] = { 36, 28/*28*/, 0, 1 }, [2] = { 40, 24/*24*/, 1, 1 }, - [3] = { 42, 24/*22*/, 1, 1 }, + [3] = { 42, 22/*22*/, 3, 1 }, [4] = { 44, 20/*20*/, 0, 2 }, [5] = { 48, 16/*16*/, 0, 2 }, [6] = { 0 }, /* Invalid */ -- 1.8.3.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |