From: Ian Campbell Subject: [PATCH V2 03/46] xen: arm: do not pass a machine ID to dom0 Date: Thu, 14 Feb 2013 16:47:17 +0000 Message-ID: <1360860480-9245-3-git-send-email-ian.campbell@citrix.com> References: <1360860465.20449.472.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1360860465.20449.472.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: stefano.stabellini@citrix.com, tim@xen.org, Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 Acked-by: Tim Deegan --- xen/arch/arm/domain_build.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 6abbb03..7403f1a 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -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); -- 1.7.2.5