From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EEB6C4360F for ; Wed, 3 Apr 2019 13:36:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F33A22075E for ; Wed, 3 Apr 2019 13:36:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z2i49v2W"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="pZ8RyOJ3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F33A22075E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JtONFf1lLev8AL4ndujKRJE26ik+V9ScSwzBxbuqYC0=; b=Z2i49v2W31dmbjeFN6YreL6nT tGhalu1AHRXGbEMzRNGcPBfn54jXfANCdVls78yoaY9rkrogCLaOeV2ZxhLdUMwbknl2aJ+r9zopr dEaJ51y/DkxUQsVl4fvOI6rCAjb+yuuixHuhwQokrACkmh8b+VrohSOBGSDYUa4yyOJ+7Ts6VJPuB QvZpQtMm+1l6q+o/2SF1sXZpIPxF8+Ifk6Xu5Y3tnhcdrGjcoqn8LgPjyQNux4SmKBb809v8oflHd Q4FNMQP9+CKh+pK8S5bolx0P/fwvGVgtf7wyUwJ8jFe9sKOHyeWLGYKyvtlymkuR6Y19MM1RFcIaH X6sdxnStA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBg40-0000Xu-RC; Wed, 03 Apr 2019 13:36:24 +0000 Received: from hqemgate14.nvidia.com ([216.228.121.143]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBg3y-0000Xb-Cp for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2019 13:36:23 +0000 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 03 Apr 2019 06:36:25 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 03 Apr 2019 06:36:21 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 03 Apr 2019 06:36:21 -0700 Received: from [10.24.47.153] (10.124.1.5) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Apr 2019 13:36:18 +0000 Subject: Re: [PATCH v4 0/5] PCI: dwc: Support remove To: Lorenzo Pieralisi , Jisheng Zhang References: <20190329194750.265f6df6@xhacker.debian> <20190401134946.GA4722@e107981-ln.cambridge.arm.com> X-Nvconfidentiality: public From: Vidya Sagar Message-ID: Date: Wed, 3 Apr 2019 19:06:15 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190401134946.GA4722@e107981-ln.cambridge.arm.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) To HQMAIL101.nvidia.com (172.20.187.10) Content-Language: en-US DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1554298585; bh=C0oQ7FYIrJb0RBLM8r34YqTNLG1rc+1+fDNURJ0zZdQ=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=pZ8RyOJ31JvpJHEgduTQ+X1TvA10BMAhKQbSyCacJ80aQucnlJMI1QkfMgWZfJoRC NbYFN96AehjJRtnSlawsE1/DWWLR6C/YTquP1VHdRxLf9qIBCpTYuQzffI0Aehmmfh aJc5pbRdHsn+k5cJ8OXUvZxaNU5TBEXm51buwXmRzeaV4bf33D9slVmo6w5z5CFRhP NFaELlAGPHCsk83oI+Fxq9WTy6k+2kFUrMy7ii0LEWpx5WdtT5gNJcdAOIRSE+cgVP PB2eue4a6QKbgQ5pookLfqQNz7k48hHUfo0PeqsPMdiB9owBuODwP89PSHoBn1LwYO QT5XuU2WlKjrA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_063622_442190_4BF8152B X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jingoo Han , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , Bjorn Helgaas , Gustavo Pimentel , Robin Murphy , "linux-arm-kernel@lists.infradead.org" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Verified it with Tegra194 PCIe host controller driver, but had to do EXPORT_SYMBOL_GPL() for a bunch of APIs. I'll push changes to export all those APIs as part of Tegra194 PCIe driver patch series. Thanks Vidya Sagar On 4/1/2019 7:20 PM, Lorenzo Pieralisi wrote: > On Fri, Mar 29, 2019 at 11:55:36AM +0000, Jisheng Zhang wrote: >> Currently, the PCI dwc host users don't support the remove, but nothing >> prevent us from supporting it. To achieve this goal, we need to ensure >> we can do necessary clean up work. >> >> Changes since v3: >> - add Gustavo's ACK to patch2, patch5 >> - remove IS_ENABLED(CONFIG_PCI_MSI) check >> >> Changes since v2: >> - address all Gustavo's comments >> - add Gustavo's ACK to patch1, patch3, patch4 >> >> Changes since v1: >> - address Bjorn's comments, I.E Capitalize, s/irq/IRQ/, s/msi/MSI/ >> >> >> Jisheng Zhang (5): >> PCI: dwc: Fix dw_pcie_free_msi() if msi_irq is invalid >> PCI: dwc: Free the page for MSI IRQ in dw_pcie_free_msi() >> PCI: dwc: Free MSI in the error code path of dw_pcie_host_init() >> PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify the code >> PCI: dwc: Save root bus for driver remove >> >> .../pci/controller/dwc/pcie-designware-host.c | 60 ++++++++++--------- >> drivers/pci/controller/dwc/pcie-designware.h | 2 + >> 2 files changed, 34 insertions(+), 28 deletions(-) > > Applied to pci/dwc for v5.2, thanks. > > Lorenzo > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel