Skip to contentSkip to conversation

xen/arm: do not map vGIC twice for dom0

PATCH In review Stefano Stabellini 2 participants 2 messages Nov 27, 2012 – Dec 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

xen/arch/arm/domain_build.c +0 -2
index a9e7f43..432fdc0 100644
@@ -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 */
#1 lore raw
Quoted 4 lines · Stefano Stabellini

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.

This fell through the cracks at some point, sorry. Now acked + applied.