Received: from eggs.gnu.org ([208.118.235.92]:55746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqojy-00075b-OD for qemu-devel@nongnu.org; Thu, 03 Jan 2013 12:38:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tqoju-0001uc-RZ for qemu-devel@nongnu.org; Thu, 03 Jan 2013 12:38:02 -0500 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: Date: Thu, 3 Jan 2013 18:37:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7CDADB17-407B-4357-9A97-E3FCDD9246A7@suse.de> References: <1357160026-44371-1-git-send-email-LightningTH@GMail.com> <2400B439-3546-4161-BFA6-0E9A3B3A7760@suse.de> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v3] Modifications to fix PowerPC on 64bit host, bug 1052857 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "qemu-ppc@nongnu.org list:PowerPC" , Riku Voipio , Samuel Seay , "qemu-devel@nongnu.org qemu-devel" On 03.01.2013, at 18:28, Peter Maydell wrote: > On 3 January 2013 14:45, Alexander Graf wrote: >>=20 >> On 02.01.2013, at 21:53, Samuel Seay wrote: >>=20 >>> Removed h2g() macro around the ka->_sa_handler due to the = _sa_handler being a guest memory address >>> Changed the __put_user to put_user as it was attempting to put a = value at the stack address but the new address is a guest memory = address, __put_user is for host memory addresses. >>> Patch v2 -> v3, removed unneeded casting in the put_user call left = over from __put_user >>>=20 >>> Signed-off-by: Samuel Seay >>=20 >> Looks reasonable to me, but I'd like an ack from Peter. >=20 > Untested, and I haven't looked up the PPC ABI to check that the > function is overall doing the right thing, but with those caveats: > Reviewed-by: Peter Maydell Considering the state it was in before, I'd say applying the patch is an = improvement regardless on how broken any code around it might be :). Applied to ppc-next. Alex