From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQr35-0006hE-Nc for qemu-devel@nongnu.org; Mon, 08 Sep 2014 00:59:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQr2w-0006ZI-Eo for qemu-devel@nongnu.org; Mon, 08 Sep 2014 00:59:31 -0400 Received: from e23smtp05.au.ibm.com ([202.81.31.147]:58754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQr2v-0006Yf-Q4 for qemu-devel@nongnu.org; Mon, 08 Sep 2014 00:59:22 -0400 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 8 Sep 2014 14:59:19 +1000 Received: from d23relay06.au.ibm.com (d23relay06.au.ibm.com [9.185.63.219]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id CE8A82CE802D for ; Mon, 8 Sep 2014 14:59:17 +1000 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s8850aI324445110 for ; Mon, 8 Sep 2014 15:00:37 +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 s884xGkJ026267 for ; Mon, 8 Sep 2014 14:59:16 +1000 Date: Mon, 8 Sep 2014 14:59:17 +1000 From: Gavin Shan Message-ID: <20140908045917.GA18897@shangw> References: <1410151960-18199-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: <1410151960-18199-1-git-send-email-gwshan@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [RFC PATCH v3 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 Mon, Sep 08, 2014 at 02:52:38PM +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. > >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 *** > Hrm, I forgot removing above 2 confusing lines, please ignore them. Thanks, Gavin >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 >