From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFPZc-0003bv-8B for qemu-devel@nongnu.org; Wed, 15 Jul 2015 12:30:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFPZY-00058t-HI for qemu-devel@nongnu.org; Wed, 15 Jul 2015 12:30:20 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:5657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFPZY-00058Y-CB for qemu-devel@nongnu.org; Wed, 15 Jul 2015 12:30:16 -0400 Message-ID: <55A68A92.5000401@imgtec.com> Date: Wed, 15 Jul 2015 17:30:10 +0100 From: Leon Alrae MIME-Version: 1.0 References: <1436888717-8122-1-git-send-email-aurelien@aurel32.net> <1436888717-8122-2-git-send-email-aurelien@aurel32.net> In-Reply-To: <1436888717-8122-2-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-2.4 1/2] target-mips: fix page fault address for LWL/LWR/LDL/LDR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno , qemu-devel@nongnu.org Cc: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= On 14/07/2015 16:45, Aurelien Jarno wrote: > When a LWL, LWR, LDL or LDR instruction triggers a page fault, QEMU > currently reports the aligned address in CP0 BadVAddr, while the Window= s > NT kernel expects the unaligned address. >=20 > This patch adds a byte access with the unaligned address at the > beginning of the LWL/LWR/LDL/LDR instructions to possibly trigger a pag= e > fault and fill the QEMU TLB. >=20 > Cc: Leon Alrae > Reported-by: Herv=C3=A9 Poussineau > Tested-by: Herv=C3=A9 Poussineau > Signed-off-by: Aurelien Jarno > --- > target-mips/translate.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Thanks, applied to mips-next. Leon