xen: arm: do not pass a machine ID to dom0
authorIan Campbell <ian.campbell@citrix.com>
Fri, 15 Feb 2013 13:32:08 +0000 (13:32 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 15 Feb 2013 13:32:08 +0000 (13:32 +0000)
Xen relies on DTB and we pass in a suitable device-tree so we don't
need to (and shouldn't) pretend to be a Versatile Express here.

We already don't pass a machine ID to domU in the same way.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c

index 6abbb03df44fe8f4a53e178fefe4efce0b658f27..7403f1a097b5ebd0b569a36340c0c0a8065f74a3 100644 (file)
@@ -349,7 +349,7 @@ int construct_dom0(struct domain *d)
  */
 
     regs->r0 = 0; /* SBZ */
-    regs->r1 = 2272; /* Machine NR: Versatile Express */
+    regs->r1 = 0xffffffff; /* We use DTB therefore no machine id */
     regs->r2 = kinfo.dtb_paddr;
 
     WRITE_CP32(SCTLR_BASE, SCTLR);