From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC8Yh-0000mB-JL for qemu-devel@nongnu.org; Wed, 30 Nov 2016 12:20:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC8Yf-0001aN-Hf for qemu-devel@nongnu.org; Wed, 30 Nov 2016 12:20:39 -0500 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]:52867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cC8Yf-0001Zm-C9 for qemu-devel@nongnu.org; Wed, 30 Nov 2016 12:20:37 -0500 Date: Wed, 30 Nov 2016 18:19:52 +0100 From: Aurelien Jarno Message-ID: <20161130171952.s3iq3ga4zli57ewm@aurel32.net> References: <1480044704-5805-1-git-send-email-jinguojie@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1480044704-5805-1-git-send-email-jinguojie@loongson.cn> Subject: Re: [Qemu-devel] [PATCH v3 00/11] tcg mips64 and mips r6 improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jin Guojie Cc: qemu-devel@nongnu.org, James Hogan , Richard Henderson On 2016-11-25 11:31, Jin Guojie wrote: > Changes since v2: > * Update against master(v2.8.0-rc1) > * Tested on Loongson as mips32r2(el) and mips64r2(el) hosts. > Loongson only implements little-endian mips32/mips64 ISA. > * Fully work for 32-bit and 64-bit guests. > Fix two bugs=EF=BC=9Asegmentation fault on mips64el with 32-bit guest= s, > blocking when emulating i386 kernel on mips64el. > * Fix some minor style problems. > * PATCH v2 12~16 are not examined due to the lack of R6 machine.=20 >=20 > To be tested: > * big-endian mips32 and mips64 hosts. > I have tried running qemu-system-mips on an X86. The speed is awful.= =20 > The compilation of qemu did not complete over a night until I gave up. > A better way is needed to do this test. > * MIPS R6. Thanks for this new patch series, there are clearly a lot of improvements. I haven't been able to test it fully yet, however, here are my first tests results. I have successfully tested the following guests on a mips32 big-endian host: - Debian amd64 with qemu-system-x86_64 - Debian i386 with qemu-system-i386 - Debian i386 with qemu-system-x86_64 It means that the regression I have spotted with the original series is now gone. I have successfully tested the following guests on a mips64 little-endian host: - Debian amd64 with qemu-system-x86_64 - Debian armhf wit qemu-system-arm - Debian i386 with qemu-system-i386 - Debian i386 with qemu-system-x86_64 - Debian mips with qemu-system-mips - Debian mips with qemu-system-mips64 - Debian mipsel with qemu-system-mipsel - Debian mipsel with qemu-system-mips64el - Debian mipsel/64-bit kernel with qemu-system-mips64el - Debian powerpc with qemu-system-ppc However it seems that 64-bit big-endian guests are not working correctly. It happens with either qemu-system-mips64el and qemu-system-ppc64. The later hangs in the SLOF firmware, so it's probably the easiest way to debug the issue. It would be nice to get that fixed, that said as it's not a regression, I don't think we should block merging the mips64 support on that. I now plan to do more testing on mips32 be hosts and also test mips32 le hosts. Unfortunately I don't have a way to test mips R6 and mips64 be hosts. Aurelien=20 --=20 Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net