From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhMF6-0002EN-Br for qemu-devel@nongnu.org; Thu, 23 Oct 2014 13:32:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhMF0-0001Sm-UI for qemu-devel@nongnu.org; Thu, 23 Oct 2014 13:32:08 -0400 Received: from mail-yh0-x234.google.com ([2607:f8b0:4002:c01::234]:36240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhMF0-0001SN-Pw for qemu-devel@nongnu.org; Thu, 23 Oct 2014 13:32:02 -0400 Received: by mail-yh0-f52.google.com with SMTP id f10so1618353yha.25 for ; Thu, 23 Oct 2014 10:32:02 -0700 (PDT) Sender: Richard Henderson Message-ID: <54493B8E.7020901@twiddle.net> Date: Thu, 23 Oct 2014 10:31:58 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1414065329-7357-1-git-send-email-riku.voipio@linaro.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: Fix fault address truncation AArch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Riku Voipio Cc: Amanieu , Claudio Fontana , QEMU Developers On 10/23/2014 05:06 AM, Peter Maydell wrote: > On 23 October 2014 12:55, wrote: >> From: Riku Voipio >> >> On AArch64 the si_addr field of siginfo_t is truncated to 32 bits >> because the fault address passes through an uint32_t variable. This >> is fixed by changing the variable to uint64_t. >> >> v2 by Riku - follow Peters suggestion and drop the addr variable >> since its only used once in the Aarch64 loop. >> >> Reported-by: Amanieu d'Antras >> Signed-off-by: Riku Voipio > > Ah, I was just wondering this morning whether I ought > to do a version of this patch, so you've saved me the effort :-) > > Reviewed-by: Peter Maydell > > (You might want to put the notes about v2 below the '---'.) If you do that, please just modify the entire patch description. I.e. don't talk about the type of a variable that doesn't exist. r~