Received: from eggs.gnu.org ([2001:4830:134:3::10]:49472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVmLW-0008Na-Ci for qemu-devel@nongnu.org; Thu, 03 Apr 2014 14:26:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVmLR-0005aC-6i for qemu-devel@nongnu.org; Thu, 03 Apr 2014 14:26:38 -0400 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) From: Alexander Graf In-Reply-To: <533D93A4.4040200@greensocs.com> Date: Thu, 3 Apr 2014 20:26:25 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <533D7C1D.6020008@greensocs.com> <533D7E54.1000506@suse.de> <533D93A4.4040200@greensocs.com> Subject: Re: [Qemu-devel] Bug with smp ppc guest. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frederic Konrad Cc: Alexey Kardashevskiy , qemu-devel , qemu-ppc , =?iso-8859-1?Q?Andreas_F=E4rber?= , gkurz@linux.vnet.ibm.com On 03.04.2014, at 19:00, Frederic Konrad = wrote: > On 03/04/2014 17:29, Andreas F=E4rber wrote: >> Hi Fred, >>=20 >> Am 03.04.2014 17:19, schrieb Frederic Konrad: >>> I tried to boot a mpc85xx smp image with a new platform inside qemu. >>>=20 >>> This command line reproduce the issue: >>> ./ppc-softmmu/qemu-system-ppc -M mpc8544ds -kernel zImage --smp 2 >>>=20 >>> This use to work but since this commit: >>> d197fdbc3b83655f3c145722805f0998c04dce16 >>>=20 >>>=20 >>> target-ppc: Reset SPRs on CPU reset >>>=20 >>> =20 >>> This resets SPR values to defaults on CPU reset. This should = help >>>=20 >>> with little-endian guests reboot issues. >>>=20 >>> I get some errors inside the guest: >> Is this after today's fix? >>=20 >> = http://git.qemu-project.org/?p=3Dqemu.git;a=3Dcommit;h=3D87d8354de3560eb70= 5bcee83142d775f703177a6 >>=20 >> Regards, >> Andreas >>=20 > Hi Andreas, >=20 > I just tried seems it doesn't make any difference for me ;). That patch should only have an effect when you're running with KVM which = you probably don't :). I can see the same breakage here, but only when my guest kernel is = e500v2. With an e500mc kernel (even for -M mpc8544ds) it works fine. The = secondary core also does get woken up. So it's probably something = related to SPE emulation - hrm. Alex