From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35506 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ0FK-0005UY-4Q for qemu-devel@nongnu.org; Thu, 18 Nov 2010 03:53:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ0FI-0004R1-QG for qemu-devel@nongnu.org; Thu, 18 Nov 2010 03:53:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ0FI-0004Qh-JN for qemu-devel@nongnu.org; Thu, 18 Nov 2010 03:53:32 -0500 Date: Thu, 18 Nov 2010 10:52:38 +0200 From: "Michael S. Tsirkin" Message-ID: <20101118085238.GB16832@redhat.com> References: <4bdfece02df439b60dae92dfc59e903353176218.1289895735.git.yamahata@valinux.co.jp> <20101118081117.GS18102@valinux.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101118081117.GS18102@valinux.co.jp> Subject: [Qemu-devel] Re: [PATCH 0/2] Re: [PATCH v9 5/8] pcie/aer: helper functions for pcie aer capability List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: skandasa@cisco.com, adnan@khaleel.us, etmartin@cisco.com, qemu-devel@nongnu.org, wexu2@cisco.com On Thu, Nov 18, 2010 at 05:11:17PM +0900, Isaku Yamahata wrote: > On Wed, Nov 17, 2010 at 04:06:38PM +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 16, 2010 at 05:26:09PM +0900, Isaku Yamahata wrote: > > > This patch implements helper functions for pcie aer capability > > > which will be used later. > > > > > > Signed-off-by: Isaku Yamahata > > > > OK, I applied this and tried to get rid of recursion, > > and clean up some whitespace and english mistakes. > > > > Patcheset attached, pls review. > > > > I'll push the patches out on pci branch so we can > > make progress more easily. > > Thank you for cleaning it up. > Basically looks good. Except the following patch. Right. Fixed up, thanks! > > > Please, try to address the TODO: I think the case of > > PCIE device behind a pci bridge is not covered properly. > > Will do. > > > >From 166886f7f3e423812f4f3f467e2071c53e9dde01 Mon Sep 17 00:00:00 2001 > Message-Id: <166886f7f3e423812f4f3f467e2071c53e9dde01.1290067665.git.yamahata@valinux.co.jp> > In-Reply-To: > References: > From: Isaku Yamahata > Date: Thu, 18 Nov 2010 17:03:23 +0900 > Subject: [PATCH] pcie/aer: typo > > Compilation fix. > > Signed-off-by: Isaku Yamahata > --- > hw/pcie_aer.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/pcie_aer.c b/hw/pcie_aer.c > index 03cc6fb..c72cbc6 100644 > --- a/hw/pcie_aer.c > +++ b/hw/pcie_aer.c > @@ -363,7 +363,7 @@ static void pcie_aer_msg(PCIDevice *dev, const PCIEAERMsg *msg) > uint8_t type; > > while (dev) { > - if (!pci_is_express(parent_port)) { > + if (!pci_is_express(dev)) { > /* just ignore it */ > /* TODO: Shouldn't we set PCI_STATUS_SIG_SYSTEM_ERROR? > * Consider e.g. a PCI bridge above a PCI Express device. */ > -- > 1.7.1.1 > > > -- > yamahata