From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrnKK-0007LV-9k for qemu-devel@nongnu.org; Mon, 11 May 2015 09:01:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrnKE-0007RL-Ns for qemu-devel@nongnu.org; Mon, 11 May 2015 09:00:55 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46531 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrnKE-0007R3-Ap for qemu-devel@nongnu.org; Mon, 11 May 2015 09:00:50 -0400 Message-ID: <5550A800.70400@suse.de> Date: Mon, 11 May 2015 15:00:48 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1431343850-46198-1-git-send-email-yongbok.kim@imgtec.com> <1431343850-46198-2-git-send-email-yongbok.kim@imgtec.com> In-Reply-To: <1431343850-46198-2-git-send-email-yongbok.kim@imgtec.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 1/2] target-mips: Misaligned memory accesses for R6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yongbok Kim , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, leon.alrae@imgtec.com Am 11.05.2015 um 13:30 schrieb Yongbok Kim: > Release 6 requires misaligned memory access support for all ordinary me= mory > access instructions (for example, LW/SW, LWC1/SWC1). > However misaligned support is not provided for certain special memory a= ccesses > such as atomics (for example, LL/SC). >=20 > Allows misaligned accesses from mips_cpu_do_unaligned_access() callback= , > if it is a R6 core. As the helper functions of LL/SC is checking misali= gnment, > just allowing all for R6 is good enough. >=20 > Signed-off-by: Yongbok Kim > --- > target-mips/op_helper.c | 7 +++++++ > target-mips/translate_init.c | 2 +- > 2 files changed, 8 insertions(+), 1 deletions(-) Reviewed-by: Andreas F=E4rber Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=FCrnberg)