From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQqwo-0003Y0-1m for qemu-devel@nongnu.org; Mon, 08 Sep 2014 00:53:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQqwb-0004vc-Ip for qemu-devel@nongnu.org; Mon, 08 Sep 2014 00:53:01 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:35262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQqwa-0004u1-Us for qemu-devel@nongnu.org; Mon, 08 Sep 2014 00:52:49 -0400 Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 8 Sep 2014 14:52:45 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id E4C3C2CE802D for ; Mon, 8 Sep 2014 14:52:40 +1000 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay05.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s884Sq2c11076026 for ; Mon, 8 Sep 2014 14:28:52 +1000 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s884qefE019548 for ; Mon, 8 Sep 2014 14:52:40 +1000 From: Gavin Shan Date: Mon, 8 Sep 2014 14:52:38 +1000 Message-Id: <1410151960-18199-1-git-send-email-gwshan@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC PATCH v3 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. The reset path (restarting machine) has the same problem. Also, the MSI has the same problem as well. 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) *** SUBJECT HERE *** *** BLURB HERE *** Gavin Shan (2): VFIO: Drop vfio_container_do_ioctl() VFIO: Clear stale interrupt vectors during reset hw/misc/vfio.c | 99 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 70 insertions(+), 29 deletions(-) -- 1.8.3.2