From patchwork Sat Dec 20 23:00:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 423139 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C556514009B for ; Sun, 21 Dec 2014 10:01:07 +1100 (AEDT) Received: from localhost ([::1]:36008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2T1F-0000th-0J for incoming@patchwork.ozlabs.org; Sat, 20 Dec 2014 18:01:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2T0s-0000cx-Ri for qemu-devel@nongnu.org; Sat, 20 Dec 2014 18:00:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2T0m-0004gX-1O for qemu-devel@nongnu.org; Sat, 20 Dec 2014 18:00:42 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:38085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2T0l-0004gD-R6 for qemu-devel@nongnu.org; Sat, 20 Dec 2014 18:00:35 -0500 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1Y2T0i-0006rL-DC from Maciej_Rozycki@mentor.com ; Sat, 20 Dec 2014 15:00:32 -0800 Received: from localhost (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server (TLS) id 14.3.181.6; Sat, 20 Dec 2014 23:00:30 +0000 Date: Sat, 20 Dec 2014 23:00:25 +0000 From: "Maciej W. Rozycki" To: Message-ID: User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 192.94.38.131 Cc: Leon Alrae , Aurelien Jarno Subject: [Qemu-devel] [PATCH] target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors 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 Signed-off-by: Maciej W. Rozycki --- Hi, As we discussed previously, please apply. [This got stuck in postponed e-mail, I thought I had sent it already.] Maciej qemu-mips-5kc-cu1.diff Index: qemu-git-trunk/target-mips/translate_init.c =================================================================== --- qemu-git-trunk.orig/target-mips/translate_init.c 2014-11-20 10:47:31.578938672 +0000 +++ qemu-git-trunk/target-mips/translate_init.c 2014-11-20 10:47:39.078939989 +0000 @@ -474,7 +474,7 @@ static const mips_def_t mips_defs[] = .CP0_LLAddr_shift = 4, .SYNCI_Step = 32, .CCRes = 2, - .CP0_Status_rw_bitmask = 0x32F8FFFF, + .CP0_Status_rw_bitmask = 0x12F8FFFF, .SEGBITS = 42, .PABITS = 36, .insn_flags = CPU_MIPS64, @@ -575,7 +575,7 @@ static const mips_def_t mips_defs[] = .CP0_LLAddr_shift = 4, .SYNCI_Step = 32, .CCRes = 2, - .CP0_Status_rw_bitmask = 0x32F8FFFF, + .CP0_Status_rw_bitmask = 0x12F8FFFF, .SEGBITS = 42, .PABITS = 36, .insn_flags = CPU_MIPS64R2,