Skip to contentSkip to conversation

xen/midway: Add 1:1 workaround

PATCH In review Stefano Stabellini 2 participants 2 messages Nov 6, 2013 – Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/midway: Add 1:1 workaround

From: Julien Grall <[email protected]>

---
 xen/arch/arm/platforms/midway.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
xen/arch/arm/platforms/midway.c +6 -0
index b221279..399056b 100644
@@ -42,6 +42,11 @@ static void midway_reset(void)
     iounmap(pmu);
 }
 
+static uint32_t midway_quirks(void)
+{
+    return PLATFORM_QUIRK_DOM0_MAPPING_11;
+}
+
 static const char * const midway_dt_compat[] __initconst =
 {
     "calxeda,ecx-2000",
@@ -51,6 +56,7 @@ static const char * const midway_dt_compat[] __initconst =
 PLATFORM_START(midway, "CALXEDA MIDWAY")
     .compatible = midway_dt_compat,
     .reset = midway_reset,
+    .quirks = midway_quirks,
 PLATFORM_END
 
 /*
Signature · 1 line
1.7.2.5