From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [nVMX w/ Haswell] KVM unit-tests in L1 - eventinj test fails trying to send NMI Date: Wed, 26 Jun 2013 19:19:43 +0200 Message-ID: <51CB22AF.7000403@web.de> References: <51CA89FB.9070503@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2ERUMEKAGNSAPRGNUPTXW" Cc: "kvm@vger.kernel.org" , "Nakajima, Jun" , "Ren, Yongjie" To: Kashyap Chamarthy Return-path: Received: from mout.web.de ([212.227.15.4]:56922 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893Ab3FZRUD (ORCPT ); Wed, 26 Jun 2013 13:20:03 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2ERUMEKAGNSAPRGNUPTXW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-06-26 10:03, Kashyap Chamarthy wrote: >> Thanks for the note, it's very helpful! This test actually fails on >> older CPUs as well, and I can finally reproduce the issue that Jay als= o >> reported. I'm not able to "cure" it by going back to 3b656cf764^, >=20 > Ok, you tried w/o this commit.. > ------------------------ > commit 3b656cf764cbc43d3efb9bf5f45c618d4cf0989f > Author: Jan Kiszka > Date: Sun Apr 14 12:12:45 2013 +0200 >=20 > KVM: nVMX: Fix injection of PENDING_INTERRUPT and NMI_WINDOW exits = to L1 >=20 > Check if the interrupt or NMI window exit is for L1 by testing if i= t has > the corresponding controls enabled. This is required when we allow > direct injection from L0 to L2 > ------------------------ I first tried by reverting to the commit before this one, just like Jay reported for https://bugzilla.kernel.org/show_bug.cgi?id=3D58941. But thi= s just varied the error (kvm reports an internal error), didn't solve the issue. Now I simply reverted the commit on top of next, but without an effect. Looks like those problems are not directly related. Kashyap, you can do us a favor and try to find out if there was a commit in the recent history (roughly before I started to hack on nVMX this year) where this test cases succeeded. TIA, Jan ------enig2ERUMEKAGNSAPRGNUPTXW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHLIq8ACgkQitSsb3rl5xQsdgCZAb5xh50iv7bFsutYpNyFlWHk QZoAnjS/vEYVX+5aMmM+bDzWiNrFA1FC =otij -----END PGP SIGNATURE----- ------enig2ERUMEKAGNSAPRGNUPTXW--