From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkkFx-0004N9-Iu for qemu-devel@nongnu.org; Tue, 21 Apr 2015 22:19:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkkFu-0007b6-8e for qemu-devel@nongnu.org; Tue, 21 Apr 2015 22:19:17 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:33985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkkFu-0007ab-15 for qemu-devel@nongnu.org; Tue, 21 Apr 2015 22:19:14 -0400 Received: by pacyx8 with SMTP id yx8so258541534pac.1 for ; Tue, 21 Apr 2015 19:19:13 -0700 (PDT) From: Sergey Fedorov Date: Tue, 21 Apr 2015 19:18:32 -0700 Message-Id: <1429669112-29835-1-git-send-email-serge.fdrv@gmail.com> Subject: [Qemu-devel] [PATCH] target-arm: Adjust id_aa64pfr0 when has_el3 CPU property disabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Sergey Fedorov Signed-off-by: Sergey Fedorov --- target-arm/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index 986f04c..327b1e5 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -524,9 +524,10 @@ static void arm_cpu_realizefn(DeviceState *dev, Error **errp) unset_feature(env, ARM_FEATURE_EL3); /* Disable the security extension feature bits in the processor feature - * register as well. This is id_pfr1[7:4]. + * registers as well. These are id_pfr1[7:4] and id_aa64pfr0[15:12]. */ cpu->id_pfr1 &= ~0xf0; + cpu->id_aa64pfr0 &= ~0xf000; } register_cp_regs_for_features(cpu); -- 2.3.4