From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXoQD-0007uW-Lf for qemu-devel@nongnu.org; Mon, 22 Feb 2016 06:12:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXoQ9-0001ms-GW for qemu-devel@nongnu.org; Mon, 22 Feb 2016 06:12:57 -0500 Received: from mout.web.de ([212.227.17.12]:56340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXoQ9-0001mk-6r for qemu-devel@nongnu.org; Mon, 22 Feb 2016 06:12:53 -0500 References: <1456078260-6669-1-git-send-email-davidkiarie4@gmail.com> <56CA1C28.6090104@web.de> <56CAB8BF.5040605@web.de> From: Jan Kiszka Message-ID: <56CAED2C.4060700@web.de> Date: Mon, 22 Feb 2016 12:12:44 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nx5HPaTJUbVRalHpAlIHT8IpK7gmXDdCE" Subject: Re: [Qemu-devel] [V6 0/4] AMD IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Kiarie Cc: Marcel Apfelbaum , Valentine Sinitsyn , QEMU Developers , "Michael S. Tsirkin" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Nx5HPaTJUbVRalHpAlIHT8IpK7gmXDdCE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-02-22 12:05, David Kiarie wrote: > On Mon, Feb 22, 2016 at 10:29 AM, Jan Kiszka wrote:= >> On 2016-02-22 06:57, David Kiarie wrote: >>> On Sun, Feb 21, 2016 at 11:20 PM, Jan Kiszka wrot= e: >>>> On 2016-02-21 19:10, David Kiarie wrote: >>>>> Hello there, >>>>> >>>>> Repost, AMD IOMMU patches version 6. >>>>> >>>>> Changes since version 5 >>>>> -Fixed macro formating issues >>>>> -changed occurences of IO MMU to IOMMU for consistency >>>>> -Fixed capability registers duplication >>>>> -Rebased to current master >>>> >>>> I suspect this still has some subtle bugs: I'm running the patches o= ver >>>> master with standard Linux distro as guest, full desktop, and I'm >>>> getting sporadic segfaults of arbitrary programs. These disappear on= ce I >>>> disable the IOMMU or switch to the Intel version. >>> >>> Is this L1 guest or L2 guest ? - haven't got any such so far. >> >> It's L1 only. >> >>> >>>> >>>> How did you test so far? >>> >>> I mainly test by logging. I've tested L1 without any iommu-related >>> command line parameters and with L1 with 'iommu=3D1 iommu=3Dpt'. L2 g= uest; >>> passed-through a device checked it's working correctly, that all. >>> These guests barely have any load though. >> >> I quickly reproduced the issue by starting some "heavier" applications= , >> a browser or an office suite. Something is apparently always corrupted= >> then, data or code, thus the crashes. >=20 > Can't reproduce this issue with my ubuntu/debian VMs. Are you using > any iommu-related command line parameters ? This is my command line: qemu-system-x86_64 -drive file=3D/path/to/64-bit-linux.img,discard=3Dunmap,if=3Dnone,id=3D= disk -device ide-hd,drive=3Ddisk -snapshot -m 1G -enable-kvm -smp 4 -machine q35,iommu=3Damd 64-bit guest userland, linus.git head guest kernel. Jan --Nx5HPaTJUbVRalHpAlIHT8IpK7gmXDdCE 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 iEYEARECAAYFAlbK7SwACgkQitSsb3rl5xRoRACeOk5PJrJLoJA01M3AMzF9jNo0 QC4AoK8xY6QPWYRSPq7Ofkns5USlSl2d =b8QF -----END PGP SIGNATURE----- --Nx5HPaTJUbVRalHpAlIHT8IpK7gmXDdCE--