From patchwork Tue Feb 7 17:56:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 6677 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C6CB523DEE for ; Tue, 7 Feb 2012 17:57:03 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 8FE3DA18320 for ; Tue, 7 Feb 2012 17:57:03 +0000 (UTC) Received: by yhgm50 with SMTP id m50so3508444yhg.11 for ; Tue, 07 Feb 2012 09:57:03 -0800 (PST) Received: by 10.50.15.231 with SMTP id a7mr27868850igd.8.1328637422903; Tue, 07 Feb 2012 09:57:02 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.169.210 with SMTP id a18cs131421ibz; Tue, 7 Feb 2012 09:57:02 -0800 (PST) Received: by 10.216.138.131 with SMTP id a3mr9303996wej.43.1328637421864; Tue, 07 Feb 2012 09:57:01 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id h5si13768380wed.12.2012.02.07.09.57.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Feb 2012 09:57:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1RupHl-0007nd-DO; Tue, 07 Feb 2012 17:56:57 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org Subject: [PATCH] target-arm/helper.c: Correct FPSID value for Cortex-A9 Date: Tue, 7 Feb 2012 17:56:57 +0000 Message-Id: <1328637417-29958-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 The correct FPSID for the Cortex-A9 (according to the TRM) is 0x41033090 for the r0p0 that we claim to model. Signed-off-by: Peter Maydell --- target-arm/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index ea4f35f..34b226e 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -157,7 +157,7 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id) * and valid configurations; we don't model A9UP). */ set_feature(env, ARM_FEATURE_V7MP); - env->vfp.xregs[ARM_VFP_FPSID] = 0x41034000; /* Guess */ + env->vfp.xregs[ARM_VFP_FPSID] = 0x41033090; env->vfp.xregs[ARM_VFP_MVFR0] = 0x11110222; env->vfp.xregs[ARM_VFP_MVFR1] = 0x01111111; memcpy(env->cp15.c0_c1, cortexa9_cp15_c0_c1, 8 * sizeof(uint32_t));