Received: from [140.186.70.92] (port=60747 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIzaV-000419-Ek for qemu-devel@nongnu.org; Thu, 18 Nov 2010 03:11:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIzaT-0006Eh-H8 for qemu-devel@nongnu.org; Thu, 18 Nov 2010 03:11:23 -0500 Received: from mail.valinux.co.jp ([210.128.90.3]:45698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIzaS-0006EC-VS for qemu-devel@nongnu.org; Thu, 18 Nov 2010 03:11:21 -0500 Date: Thu, 18 Nov 2010 17:11:17 +0900 From: Isaku Yamahata Message-ID: <20101118081117.GS18102@valinux.co.jp> References: <4bdfece02df439b60dae92dfc59e903353176218.1289895735.git.yamahata@valinux.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: "Michael S. Tsirkin" Cc: skandasa@cisco.com, adnan@khaleel.us, etmartin@cisco.com, qemu-devel@nongnu.org, wexu2@cisco.com 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. > 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