Received: from [140.186.70.92] (port=42002 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov8xn-0007NB-Sg for qemu-devel@nongnu.org; Mon, 13 Sep 2010 09:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ov8xm-0001hI-4T for qemu-devel@nongnu.org; Mon, 13 Sep 2010 09:20:51 -0400 Received: from adelie.canonical.com ([91.189.90.139]:51375) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov8xl-0001hA-W4 for qemu-devel@nongnu.org; Mon, 13 Sep 2010 09:20:50 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Ov8xi-0001kW-Oh for ; Mon, 13 Sep 2010 14:20:47 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 51BB12E8356 for ; Mon, 13 Sep 2010 13:11:08 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 13 Sep 2010 13:02:43 -0000 From: till <608107@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100721085316.10710.28700.malonedeb@soybean.canonical.com> Message-Id: <20100913130243.2945.45272.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 608107] Re: ppc fails to clear MSR_POW when incurring exception Reply-To: Bug 608107 <608107@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'm afraid I don't understand. My the problem and fix doesn't address mtmsr= at all. It just makes sure MSR_POW is cleared in MSR when an exception occurs. Do you mean MSR_POW should masked from MSR before saving it to SRR1? That's already taken care of (target-ppc/helper.c:2074 [qemu-0.12.4]). -- = ppc fails to clear MSR_POW when incurring exception https://bugs.launchpad.net/bugs/608107 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Confirmed Bug description: QEMU VERSION: 0.12.4 According to FreeScale's 'Programming Environments Manual for 32-bit Implem= entations of the PowerPC Architecture' [MPCFPE32B, Rev.3, 9/2005], section = 6.5, table 6-7, an interrupt resets MSR_POW to zero but qemu-0.12.4 fails t= o do so. Resetting the bit is necessary in order to bring the processor out of power= -management since otherwise it goes to sleep right away in the exception ha= ndler, i.e., it is impossible to leave PM-mode.