Received: from eggs.gnu.org ([2001:4830:134:3::10]:42497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK2ZF-0003iM-Ic for qemu-devel@nongnu.org; Wed, 20 Aug 2014 05:52:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK2Z6-0007e7-CN for qemu-devel@nongnu.org; Wed, 20 Aug 2014 05:52:33 -0400 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:41097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK2Z5-0007cS-AH for qemu-devel@nongnu.org; Wed, 20 Aug 2014 05:52:24 -0400 Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 20 Aug 2014 15:22:17 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id ED03E1258017 for ; Wed, 20 Aug 2014 15:22:27 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay05.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7K9qcpV459140 for ; Wed, 20 Aug 2014 15:22:39 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7K9qE8T028858 for ; Wed, 20 Aug 2014 15:22:14 +0530 From: Gavin Shan Date: Wed, 20 Aug 2014 19:52:06 +1000 Message-Id: <1408528328-11560-1-git-send-email-gwshan@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC PATCH 0/2] Fix MSIx lost after PE reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aik@ozlabs.ru, alex.williamson@redhat.com, Gavin Shan The 2 patches fix MSIx lost after PE reset. Otherwise, the MSIx entries can't be restored successfully after PE reset and the EEH recovery fails on broadcom tg3 adapter (as tested) in guest. Note: The patchset "EEH support for guest" isn't merged yet, those 2 patches are based on Alex Graf's "ppc-next" branch + the patchset supporting EEH for guest, which can be checked out from below link: git@github.com:gwshan/qemu.git (branch: eeh) Gavin Shan (2): VFIO: Drop vfio_container_do_ioctl() VFIO: Clear stale MSIx table during EEH reset hw/misc/vfio.c | 57 +++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 18 deletions(-) -- 1.8.3.2