From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Hogan Subject: Re: [PATCH v4 00/10] KVM Support for MIPS32 Processors Date: Fri, 21 Mar 2014 16:51:04 +0000 Message-ID: <532C6DF8.2020109@imgtec.com> References: <1394801281-18997-1-git-send-email-james.hogan@imgtec.com> <5329C856.2090206@redhat.com> <532ABC4D.6010406@imgtec.com> <532AE2B4.5020806@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP" Cc: , , Aurelien Jarno , Gleb Natapov , Sanjay Lal To: Paolo Bonzini Return-path: Received: from [217.156.133.130] ([217.156.133.130]:56456 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1761065AbaCUQvY (ORCPT ); Fri, 21 Mar 2014 12:51:24 -0400 In-Reply-To: <532AE2B4.5020806@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20/03/14 12:44, Paolo Bonzini wrote: > Il 20/03/2014 11:00, James Hogan ha scritto: >>> > Just a few comments. With what version of the kernel can this be >>> tested? >> KVM support was added in v3.10, including defconfigs and a >> CONFIG_KVM_GUEST to ensure the kernel is linked to the different addre= ss. >=20 > Yes, but you still need support for CP0_COUNT/CP0_COMPARE in the onereg= > interface. I haven't checked if other registers are missing. Indeed, I'm working on fixing that now. EPC is missing too (there's a comment in there about EPC which AFAICT seems to confuse the guest CP0_EPC with the guest PC which are distinct state for full system emulation). Also unfortunately the CP0 register ids provided by QEMU all (incorrectly) lack the size part too. Remarkably it generally works quite well despite this since KVM takes care of most of the runtime detai= ls. Cheers James --G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAEBAgAGBQJTLG3+AAoJEGwLaZPeOHZ61GIP/R/ZXMGaUlTpveyTP8p8IyE2 SwkH+wEK9CYyFU63/6WBLBVOujss2xYMUCkdkSR1W7j1pckSjYsYYeHonDpr0b/h hIqm6ENXw8KQN1M9qQ2aaMSVYZDAWBTGM5SbfgCwrHlATInApKZtBHRd8/ljYhL1 HfO9Ww5Uf6P1pzqYPeWTGw5kB2S5DzT6YXcQiOlS9ohaAT8QdvUcreCJYiqk3Bfk ht3zHDXGFx/3sAS4kWpz4Bh4PyhEnRfz6612RVMmmUOWvUfCTVexFlKrJvH7LN36 9I4wOpysOhV6m+R+bI3f2347snYotyTgOWIKyEN4w5ncQsHM0JRS2oDbulU3r7hf yRiW+rin4Lu8V1aueA38FxFzyj1ffn34crqEh0bWHTBp39PPxrequ2FHkdNA/d3x USA2Ed/qUhPLJoSvx+MaawfwSEHa5bXZr/zWUG8wajRYumXBrAZnUWHlJin41vEG dVKeV6KUmRd/gjU1IKeT+GLEgKc9tj1L+jeelYc8mebFHAwSM7U2ph4J7+SfKSyo 4QC1rM0SMPpQS9SyoIiv+t1iRTTvIPQsUrmxC6TQyQzO6addNT6vfme91RUxrmHl nhYknvqv2iKp8uYs493VZwls65im6D/sbPS6WMnMpzF54uKBkKR2u53lorzGk33Z wkQFKaJPES6BMb7fqdVf =r7x2 -----END PGP SIGNATURE----- --G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR2fB-0001ZS-VL for qemu-devel@nongnu.org; Fri, 21 Mar 2014 12:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR2f5-0000GM-32 for qemu-devel@nongnu.org; Fri, 21 Mar 2014 12:51:21 -0400 Received: from [217.156.133.130] (port=55748 helo=imgpgp01.kl.imgtec.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR2f4-0000EZ-Pl for qemu-devel@nongnu.org; Fri, 21 Mar 2014 12:51:14 -0400 Message-ID: <532C6DF8.2020109@imgtec.com> Date: Fri, 21 Mar 2014 16:51:04 +0000 From: James Hogan MIME-Version: 1.0 References: <1394801281-18997-1-git-send-email-james.hogan@imgtec.com> <5329C856.2090206@redhat.com> <532ABC4D.6010406@imgtec.com> <532AE2B4.5020806@redhat.com> In-Reply-To: <532AE2B4.5020806@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP" Subject: Re: [Qemu-devel] [PATCH v4 00/10] KVM Support for MIPS32 Processors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Aurelien Jarno , Gleb Natapov , qemu-devel@nongnu.org, kvm@vger.kernel.org, Sanjay Lal --G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 20/03/14 12:44, Paolo Bonzini wrote: > Il 20/03/2014 11:00, James Hogan ha scritto: >>> > Just a few comments. With what version of the kernel can this be >>> tested? >> KVM support was added in v3.10, including defconfigs and a >> CONFIG_KVM_GUEST to ensure the kernel is linked to the different addre= ss. >=20 > Yes, but you still need support for CP0_COUNT/CP0_COMPARE in the onereg= > interface. I haven't checked if other registers are missing. Indeed, I'm working on fixing that now. EPC is missing too (there's a comment in there about EPC which AFAICT seems to confuse the guest CP0_EPC with the guest PC which are distinct state for full system emulation). Also unfortunately the CP0 register ids provided by QEMU all (incorrectly) lack the size part too. Remarkably it generally works quite well despite this since KVM takes care of most of the runtime detai= ls. Cheers James --G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAEBAgAGBQJTLG3+AAoJEGwLaZPeOHZ61GIP/R/ZXMGaUlTpveyTP8p8IyE2 SwkH+wEK9CYyFU63/6WBLBVOujss2xYMUCkdkSR1W7j1pckSjYsYYeHonDpr0b/h hIqm6ENXw8KQN1M9qQ2aaMSVYZDAWBTGM5SbfgCwrHlATInApKZtBHRd8/ljYhL1 HfO9Ww5Uf6P1pzqYPeWTGw5kB2S5DzT6YXcQiOlS9ohaAT8QdvUcreCJYiqk3Bfk ht3zHDXGFx/3sAS4kWpz4Bh4PyhEnRfz6612RVMmmUOWvUfCTVexFlKrJvH7LN36 9I4wOpysOhV6m+R+bI3f2347snYotyTgOWIKyEN4w5ncQsHM0JRS2oDbulU3r7hf yRiW+rin4Lu8V1aueA38FxFzyj1ffn34crqEh0bWHTBp39PPxrequ2FHkdNA/d3x USA2Ed/qUhPLJoSvx+MaawfwSEHa5bXZr/zWUG8wajRYumXBrAZnUWHlJin41vEG dVKeV6KUmRd/gjU1IKeT+GLEgKc9tj1L+jeelYc8mebFHAwSM7U2ph4J7+SfKSyo 4QC1rM0SMPpQS9SyoIiv+t1iRTTvIPQsUrmxC6TQyQzO6addNT6vfme91RUxrmHl nhYknvqv2iKp8uYs493VZwls65im6D/sbPS6WMnMpzF54uKBkKR2u53lorzGk33Z wkQFKaJPES6BMb7fqdVf =r7x2 -----END PGP SIGNATURE----- --G4ukk8K8O9ee1m3bRCK4d7gkUwVjjJ4jP--