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=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT 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 40319C43381 for ; Mon, 1 Apr 2019 13:50:43 +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 10CD620830 for ; Mon, 1 Apr 2019 13:50:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZHkiidyO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10CD620830 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z8nqKX7UqeMwoW2nwBxq4zVcegUVARgs+E52dnRZdgY=; b=ZHkiidyOx84JCs h0DpcvpHjP5Emm6nDVOicAVZ1/KlvvGx2vEgKzNEIcrUEmBcpOFn2azX1eNNUQRgddRTJWt4U6wKh 8sWklsZPdTuW0orJyLuzPvctLCyIj9dZgKWLUo1id5KO9LdSxbetmjgaYCSWSeVManStALjH9QjXa tck2mjkVzt9zAqZ4jv3AAj3kwa5tAU1iVFuv1XCtaI/FrUkIyGUQkff1e36Bh9P1xnJzKPaLCPohW of9uY9jLSGrLXopCUM0WGkvocNzmBlZBw6hMBGdusiLJeA2U5kSK+U2XL0tIa9D7jyOcK0uoBzWfz RbqdMmBXU0RL88dWgUvw==; 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 1hAxKg-0003Uh-0z; Mon, 01 Apr 2019 13:50:38 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAxKc-0003UL-EM for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2019 13:50:35 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B3E1280D; Mon, 1 Apr 2019 06:50:33 -0700 (PDT) Received: from e107981-ln.cambridge.arm.com (e107981-ln.cambridge.arm.com [10.1.197.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 392733F59C; Mon, 1 Apr 2019 06:50:32 -0700 (PDT) Date: Mon, 1 Apr 2019 14:50:18 +0100 From: Lorenzo Pieralisi To: Jisheng Zhang Subject: Re: [PATCH v4 0/5] PCI: dwc: Support remove Message-ID: <20190401134946.GA4722@e107981-ln.cambridge.arm.com> References: <20190329194750.265f6df6@xhacker.debian> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190329194750.265f6df6@xhacker.debian> User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_065034_481250_9DDF3BB3 X-CRM114-Status: GOOD ( 14.27 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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