From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOFsS-0000o6-6D for qemu-devel@nongnu.org; Sun, 31 Aug 2014 20:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOFsI-00083c-TJ for qemu-devel@nongnu.org; Sun, 31 Aug 2014 20:53:48 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:34038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOFsI-00083G-Hk for qemu-devel@nongnu.org; Sun, 31 Aug 2014 20:53:38 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Sep 2014 10:53:34 +1000 Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 00AC73578048 for ; Mon, 1 Sep 2014 10:53:32 +1000 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s810scFW14483502 for ; Mon, 1 Sep 2014 10:54:39 +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 s810rUc8025266 for ; Mon, 1 Sep 2014 10:53:31 +1000 From: Gavin Shan Date: Mon, 1 Sep 2014 10:53:30 +1000 Message-Id: <1409532812-8644-1-git-send-email-gwshan@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC PATCH v2 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 | 65 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 46 insertions(+), 19 deletions(-) -- 1.8.3.2