From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dswyA-0006GG-NJ for qemu-devel@nongnu.org; Fri, 15 Sep 2017 16:12:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dswy6-00014E-PG for qemu-devel@nongnu.org; Fri, 15 Sep 2017 16:12:10 -0400 Received: from mail-pg0-x22a.google.com ([2607:f8b0:400e:c05::22a]:43279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dswy6-00013G-IO for qemu-devel@nongnu.org; Fri, 15 Sep 2017 16:12:06 -0400 Received: by mail-pg0-x22a.google.com with SMTP id u18so2116024pgo.0 for ; Fri, 15 Sep 2017 13:12:05 -0700 (PDT) References: <20170915065821.16600-1-jrtc27@jrtc27.com> <20170915193313.86362-1-jrtc27@jrtc27.com> From: Richard Henderson Message-ID: <2ea1b56b-cafa-82fc-2e55-1564b09c97d9@linaro.org> Date: Fri, 15 Sep 2017 13:12:01 -0700 MIME-Version: 1.0 In-Reply-To: <20170915193313.86362-1-jrtc27@jrtc27.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3] linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: James Clarke , QEMU Developers Cc: John Paul Adrian Glaubitz , Laurent Vivier , Peter Maydell , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= On 09/15/2017 12:33 PM, James Clarke wrote: > Fixes: https://bugs.launchpad.net/qemu/+bug/1716767 > Signed-off-by: James Clarke > --- > > Changes since v2: > * Fixed opening curly brace formatting, both for my new SH4-specific > regpairs_aligned function, as well as the Arm one I touched, to appease > checkpatch.pl > > Changes since v1: > * Removed all changes in v1 :) > * Added syscall num argument to regpairs_aligned > * Added SH4-specific implementation of regpairs_aligned to return 1 for > p{read,write}64 > > linux-user/syscall.c | 36 +++++++++++++++++++++++++----------- > 1 file changed, 25 insertions(+), 11 deletions(-) Reviewed-by: Richard Henderson r~