From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRduJ-0002Jv-IT for qemu-devel@nongnu.org; Fri, 05 Feb 2016 05:46:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRduG-0000s2-AP for qemu-devel@nongnu.org; Fri, 05 Feb 2016 05:46:31 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:24054 helo=imgpgp01.kl.imgtec.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRduG-0000r9-1i for qemu-devel@nongnu.org; Fri, 05 Feb 2016 05:46:28 -0500 Date: Fri, 5 Feb 2016 10:46:22 +0000 From: James Hogan Message-ID: <20160205104622.GP5038@jhogan-linux.le.imgtec.org> References: <1454519813-18797-1-git-send-email-james.hogan@imgtec.com> <56B3221B.5030006@imgtec.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+W7ryvxEk4RRyt+P" Content-Disposition: inline In-Reply-To: <56B3221B.5030006@imgtec.com> Subject: Re: [Qemu-devel] [PATCH v5 0/7] mips/kvm: Support FPU & SIMD (MSA) in MIPS KVM guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leon Alrae Cc: Paolo Bonzini , Aurelien Jarno , qemu-devel@nongnu.org, kvm@vger.kernel.org --+W7ryvxEk4RRyt+P Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 04, 2016 at 10:04:11AM +0000, Leon Alrae wrote: > On 03/02/16 17:16, James Hogan wrote: > > Here's a v5 refresh of my FPU/MSA patchset for v2.6. Thanks to all who > > have taken the time to review it so far. > >=20 > > This patchset primarily adds support for FPU and MIPS SIMD Architecture > > (MSA) in MIPS KVM guests to QEMU. It depends on Linux v4.1, specifically > > my KVM patchset to add the corresponding hypervisor support to KVM > > ("[PATCH 00/20] MIPS: KVM: Guest FPU & SIMD (MSA) support"). > >=20 > > All comments welcome. > >=20 > > Changes in v5: > > - Rebase on master (fixed use of uint64 in patch 5). > > - Use restore_fp_status(env) in patch 6. > > - Restore MSA FP state using restore_msa_fp_status(env) in patch 7 > > (Leon). > >=20 > > Changes in v4: > > - Rebase on master (dropped patch 1 & 2). > >=20 > > Changes in v3 (patch 6 only): > > - Fix big endian (the pointer passed to the kernel must be for the > > actual 32-bit value, not a temporary 64-bit value, otherwise on big > > endian systems the kernel will only interpret the upper half). > >=20 > > Changes in v2: > > - Moved most of patch 7 and updates to linux-headers/linux/kvm.h from > > patches 8 and 9 into a new patch 1, which is purely for reference > > (Paolo). > > - Add the changes to MIPS_CP0_{32,64} macros from v1 patch 7 to patch 2, > > since the rest of that patch is now unnecessary and the change is > > along the same lines as patch 2 (not added Leon's Reviewed-by to this > > patch due to that non-reviewed change). > > - Fix line wrapping of kvm_mips_get_one_reg() calls from Config4 and > > Config5 in patch 5 (Leon). > > - Change (1 << x) to (1U << x) in important places in patch 5, 8 & 9 to > > avoid compiler undefined behaviour (Leon). > >=20 > > James Hogan (7): > > mips/kvm: Remove a couple of noisy DPRINTFs > > mips/kvm: Implement PRid CP0 register > > mips/kvm: Implement Config CP0 registers > > mips/kvm: Support unsigned KVM registers > > mips/kvm: Support signed 64-bit KVM registers > > mips/kvm: Support FPU in MIPS KVM guests > > mips/kvm: Support MSA in MIPS KVM guests > >=20 > > target-mips/kvm.c | 387 ++++++++++++++++++++++++++++++++++++++++++++++= ++++++-- > > 1 file changed, 374 insertions(+), 13 deletions(-) > >=20 >=20 > I've applied the series to my target-mips queue, thanks. Thanks Leon! Cheers James --+W7ryvxEk4RRyt+P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWtH1+AAoJEGwLaZPeOHZ6k7EP/jEGcfr2HR0R4LFSfwFdCFrY pjoZoEry3v5LpWIWvMC9KnWlSKZZW3e53vxWbWcpqjA+XXFpxXNMhOIoKqI/yOuJ QKMTAR3zWqQ07s6Sa+LYdW6FnwK0+eQFhrTL02QlEnDP3C2Ch2WV5pP1p24DbQYp jvg4KHlslcjL9i3wZQ09Y2CjtvFrneWrGE4BD9Z14AALkUJtNUHBPH9Rh0f9cv7h JRB+Zc1rNArQwfOau24whpdfsFMPZNzk7ZcpIZtkHP4n+GMF+XXq7Ex5KDMBvhZu cRxDPhokExdbizt3qz/j0ODXIm76qnmc1ZQvLvW6HPPhRICyPj+SpKAn3PLEAQWB e7OW2DJ1Gy5TanLzbQQaPQkelHzCn/z/WbTriyAq2mYeAPYB+bJwgjvidliT6GWi hWZQT0KfMB9Jfi52CabPo7r6wzX/T4fwb0CELT0u1oxara9VcnfCWJcLk+/Pw+sP 0CIjGDrDPNdyuqhL1h0t4fxf4SNQJRQCws8fwH3PqNFhhBDimRac2Ew6jSS4Vkco GQCXB+lcp6iADfR7+8mMipQTfg3BNW9vP6l095wRArvszlmsZ0uxiLEFIiB9QVRv sGBnL/zLE1NdC5Apy/uMgwXdZ2lNoJi5w/WatnpLoQCcQUB6ddvqfBWa6yAhRKIk 4cLwmCNIHInKlY96bITl =Xx/g -----END PGP SIGNATURE----- --+W7ryvxEk4RRyt+P--