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: 139983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7E4BBB6F62 for ; Wed, 8 Feb 2012 04:57:25 +1100 (EST) Received: from localhost ([::1]:50446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupI9-00010t-07 for incoming@patchwork.ozlabs.org; Tue, 07 Feb 2012 12:57:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupI0-00010I-DR for qemu-devel@nongnu.org; Tue, 07 Feb 2012 12:57:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RupHu-0000qF-KY for qemu-devel@nongnu.org; Tue, 07 Feb 2012 12:57:12 -0500 Received: from mnementh.archaic.org.uk ([81.2.115.146]:36615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RupHu-0000pL-D7 for qemu-devel@nongnu.org; Tue, 07 Feb 2012 12:57:06 -0500 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 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org Subject: [Qemu-devel] [PATCH] target-arm/helper.c: Correct FPSID value for Cortex-A9 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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));