From patchwork Tue Apr 16 14:15:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vidya Sagar X-Patchwork-Id: 10903201 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E6DEF139A for ; Tue, 16 Apr 2019 14:15:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFCC12623C for ; Tue, 16 Apr 2019 14:15:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDF9E28A46; Tue, 16 Apr 2019 14:15:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71A332623C for ; Tue, 16 Apr 2019 14:15:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726230AbfDPOPY (ORCPT ); Tue, 16 Apr 2019 10:15:24 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:1980 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725861AbfDPOPY (ORCPT ); Tue, 16 Apr 2019 10:15:24 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 16 Apr 2019 07:15:21 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 16 Apr 2019 07:15:24 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 16 Apr 2019 07:15:24 -0700 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 16 Apr 2019 14:15:23 +0000 Received: from HQMAIL103.nvidia.com (172.20.187.11) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 16 Apr 2019 14:15:23 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 16 Apr 2019 14:15:23 +0000 Received: from vidyas-desktop.nvidia.com (Not Verified[10.24.37.38]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 16 Apr 2019 07:15:23 -0700 From: Vidya Sagar To: , , , , , CC: , , , , , Subject: [PATCH V2 0/2] PCI: dwc: Export symbols to support module build Date: Tue, 16 Apr 2019 19:45:14 +0530 Message-ID: <20190416141516.23908-1-vidyas@nvidia.com> X-Mailer: git-send-email 2.17.1 X-NVConfidentiality: public MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1555424121; bh=+pBwCWTKln8bF+APdRIZAUrNKPPT8pHzC9TPDFoIYjk=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=KLNwVFFDTgX9tUoz4K00aPpTiib+08396YVsB78WHYYpnpZ6ThfAzlagS+hJuYKa6 t/7entEb+G2ylVPClkqj1zkywqHAJKgjNGlW4UaMTIQ5PAu0nh1RMdNRaxRC+ubZC0 g1Vj3OQOurj29N5hzSDAgKC8XSyC0NukZNHUQJySf3agWeZ24gE0ba4TFRL33ePUT/ Sd0TfnwrL6u+fB9XVq8skasCjCKHOtF37Ip96Te+BpY7yVWxI/FE9orxQk+El6wHns Y/N40BRKOlasDgkJMC6YVyrZCHIMt6zVhXx3QlvKtxx9eubqZsUJI2kKEGdm+eYGXr VYfId/Ip0rM1A== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch set is based on Jisheng Zhang's patch set to support implementing .remove() hook in host controller drivers of DesignWare based implementations. Jisheng's patches: https://patchwork.kernel.org/project/linux-pci/list/?series=98559 This patch set moves config space APIs which are inlined in headers to source files and exports them along with the other required APIs to support building host controller drivers as modules. Vidya Sagar (2): PCI: dwc: Add API support to de-initialize host PCI: dwc: Export APIs to support .remove() implementation .../pci/controller/dwc/pcie-designware-host.c | 11 +++++ drivers/pci/controller/dwc/pcie-designware.c | 38 ++++++++++++++++++ drivers/pci/controller/dwc/pcie-designware.h | 40 +++++-------------- 3 files changed, 60 insertions(+), 29 deletions(-)