From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aL1H2-0008AZ-Gx for qemu-devel@nongnu.org; Sun, 17 Jan 2016 23:18:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aL1H1-0000FK-DJ for qemu-devel@nongnu.org; Sun, 17 Jan 2016 23:18:36 -0500 Date: Mon, 18 Jan 2016 14:12:03 +1100 From: David Gibson Message-ID: <20160118031203.GJ9301@voom.fritz.box> References: <1452104533-8516-1-git-send-email-mark.cave-ayland@ilande.co.uk> <1452104533-8516-3-git-send-email-mark.cave-ayland@ilande.co.uk> <568F1E1C.6000308@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLauP2uySp+9cKYP" Content-Disposition: inline In-Reply-To: <568F1E1C.6000308@ozlabs.ru> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/4] target-ppc: use cpu_write_xer() helper in cpu_post_load List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: quintela@redhat.com, Mark Cave-Ayland , qemu-devel@nongnu.org, agraf@suse.de, qemu-ppc@nongnu.org, amit.shah@redhat.com --SLauP2uySp+9cKYP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 08, 2016 at 01:25:32PM +1100, Alexey Kardashevskiy wrote: > On 01/07/2016 05:22 AM, Mark Cave-Ayland wrote: > >Otherwise some internal xer variables fail to get set post-migration. > > > >Signed-off-by: Mark Cave-Ayland > >--- > > target-ppc/machine.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >diff --git a/target-ppc/machine.c b/target-ppc/machine.c > >index 98fc63a..322ce84 100644 > >--- a/target-ppc/machine.c > >+++ b/target-ppc/machine.c > >@@ -168,7 +168,7 @@ static int cpu_post_load(void *opaque, int version_i= d) > > env->spr[SPR_PVR] =3D env->spr_cb[SPR_PVR].default_value; > > env->lr =3D env->spr[SPR_LR]; > > env->ctr =3D env->spr[SPR_CTR]; > >- env->xer =3D env->spr[SPR_XER]; > >+ cpu_write_xer(env, env->spr[SPR_XER]); > > #if defined(TARGET_PPC64) > > env->cfar =3D env->spr[SPR_CFAR]; > > #endif > > >=20 > Reviewed-by: Alexey Kardashevskiy =09 I've merged just this patch into ppc-for-2.6. The others in the series have some problems which have been pointed out elsewhere. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --SLauP2uySp+9cKYP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWnFgDAAoJEGw4ysog2bOSGxIQAOFQjYgTiiTMrx1YEuaj9kMT IAt2q1NhvG2b25ZuNZJWvqpMQGDo4pzJ7LM4p4ThjqbmuZVCPuOAXxQ+abalaYEB mha2h23JayG+pQd4YPsMJt/BhnhEcRsF7psGs5t5aJFRAlA/FiG2FzyI8ybgmuwF cMOhF6lXqfWhR5S1N5I+FAChjn92y4i/BEM3pCa27+K504MqQvynirKgu0yDSrQa P7vgtDVr+rcI6ROjD4JM6uWOEQoJD0mZJU4Si94A7XcRbAwqpxK+jiwGnvzvR7ad uAuA1K1sPHuHuF/+weD3pQAg+MvF0Iuj8nkx3I0l2enqgK37RmlqxQwYlnLuj5VN MGvqXr6+8NlN+ujEl1ycU8qbSBxAaDl4ZoUOV/fGurn19Wh+BwRFuF3b1Lx/B+ea XC7JQRPoVbCZC2XckK36FUnpgH5UY7zFsqwavsB59gOuc74vtamyxmQG9noedcly hUVI3Ddg0yW/pe3Y4pFoZl9uwqY0slotGadHWbcZ4TcNW39vCZbk9DdSUsApCLxf 9S3Zow9M6UACDnKp5QupLv8q7reNDBgzb4DUKmRECB19pBLypvL0+bGkvC8bc7A2 WElX1lPzqiI4lNhwRwm87gCdPyybk95t282rnESW3gA5J2VJPdtdruFZZ5yZXdeT md72HSqurDFzurg60VoD =BpMr -----END PGP SIGNATURE----- --SLauP2uySp+9cKYP--