From: Stefano Stabellini Date: Wed, 19 Dec 2012 14:16:17 +0000 (+0000) Subject: xen/arm: do not map vGIC twice for dom0 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7509 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0eefa58b25fa72b39592d65585a9f3324e337cfd;p=xen.git xen/arm: do not map vGIC twice for dom0 We don't need to manually set the P2M for the vGIC in construct_dom0, because we have already done it generally for every guest in gicv_setup. Signed-off-by: Stefano Stabellini Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index a9e7f43eb7..432fdc01c3 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -282,8 +282,6 @@ int construct_dom0(struct domain *d) map_mmio_regions(d, 0x18000000, 0x1BFFFFFF, 0x18000000); printk("Map CS3 MMIO regions 1:1 in the P2M %#llx->%#llx\n", 0x1C000000ULL, 0x1FFFFFFFULL); map_mmio_regions(d, 0x1C000000, 0x1FFFFFFF, 0x1C000000); - printk("Map VGIC MMIO regions 1:1 in the P2M %#llx->%#llx\n", 0x2C008000ULL, 0x2DFFFFFFULL); - map_mmio_regions(d, 0x2C008000, 0x2DFFFFFF, 0x2C008000); printk("Routing peripheral interrupts to guest\n"); /* TODO Get from device tree */