From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM56b-0000nb-2E for qemu-devel@nongnu.org; Mon, 25 Aug 2014 20:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XM56R-0002Wd-Tl for qemu-devel@nongnu.org; Mon, 25 Aug 2014 20:59:25 -0400 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:45183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM56R-0002W4-8d for qemu-devel@nongnu.org; Mon, 25 Aug 2014 20:59:15 -0400 Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 26 Aug 2014 10:59:11 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 212D7357802D for ; Tue, 26 Aug 2014 10:59:07 +1000 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay05.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7Q0ZXf951249352 for ; Tue, 26 Aug 2014 10:35:34 +1000 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7Q0x5dQ031749 for ; Tue, 26 Aug 2014 10:59:06 +1000 Date: Tue, 26 Aug 2014 10:58:53 +1000 From: Gavin Shan Message-ID: <20140826005852.GA4430@shangw> References: <1408528328-11560-1-git-send-email-gwshan@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1408528328-11560-1-git-send-email-gwshan@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [RFC PATCH 0/2] Fix MSIx lost after PE reset Reply-To: Gavin Shan List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gavin Shan Cc: aik@ozlabs.ru, alex.williamson@redhat.com, qemu-devel@nongnu.org On Wed, Aug 20, 2014 at 07:52:06PM +1000, Gavin Shan wrote: >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(-) > Alex, any comments? :-) Thanks, Gavin