From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYzN5-0007yl-FE for qemu-devel@nongnu.org; Mon, 28 May 2012 08:48:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYzN3-0004U7-Kv for qemu-devel@nongnu.org; Mon, 28 May 2012 08:48:27 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:39373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYzN3-0004Tr-BM for qemu-devel@nongnu.org; Mon, 28 May 2012 08:48:25 -0400 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate01.web.de (Postfix) with ESMTP id 8A0391AEFADB7 for ; Mon, 28 May 2012 14:48:23 +0200 (CEST) Message-ID: <4FC3740A.4060801@web.de> Date: Mon, 28 May 2012 14:48:10 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4FBF3627.3030504@ozlabs.ru> <20120528124410.GC21778@redhat.com> In-Reply-To: <20120528124410.GC21778@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig554EC45226DD9AE59A435456" Subject: Re: [Qemu-devel] [RFC PATCH] vfio: add fixup for broken PCI devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: kvm@vger.kernel.org, Alexey Kardashevskiy , qemu-devel@nongnu.org, Alex Graf , Alex Williamson , David Gibson This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig554EC45226DD9AE59A435456 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-05-28 14:44, Michael S. Tsirkin wrote: > On Fri, May 25, 2012 at 05:35:03PM +1000, Alexey Kardashevskiy wrote: >> Some adapters (like NEC PCI USB controller) do not flush their config >> on a sioftware reset and remember DMA config, etc. >> >> If we use such an adapter with QEMU, then crash QEMU (stop it with >> ctrl-A ctrl-X), and try to use it in QEMU again, it may start working >> immediately with previous config when pci_enable_device() is called >> on that PCI function. >> >> To eliminate such effect, some quirk should be called. The proposed >> pci_fixup_final does its job well for mentioned NEC PCI USB but not >> sure if it is 100% correct. >> >> Signed-off-by: Alexey Kardashevskiy >=20 > Won't current kvm device assignment be affected by this? Would be surprising if not. > If yes need to address that not just vfio. A reason to solve this at PCI level? Jan --------------enig554EC45226DD9AE59A435456 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 Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/DdAoACgkQitSsb3rl5xTiOACg068i6ejwn96EHIZSTSXNP2hl nsgAmwc1ZHnsJ8uhux6zbEM94DP4++Mh =brQb -----END PGP SIGNATURE----- --------------enig554EC45226DD9AE59A435456--