From patchwork Sun Jan 8 15:57:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Achal Verma X-Patchwork-Id: 13092536 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id EF8F5C54EBD for ; Sun, 8 Jan 2023 15:59:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DAu/SGKzn7fbZ/LIBEU9ZT4+tl0CdJHzdqo4l2uFejI=; b=jcvgwxsCgy5Lpt RB7M3e1obUmR1Z4UYM5R3/WHToAOjmmI7kYY4tizSHX07SJooSs31nK19Sz4VqvrcHifzcoBhRQYi Ulsj4wb8ACf/3jToFh4IcyFkGTsArPr+k7kmos9YBczZo+G0ouG37mVHhDoYqIlC2O0d+ofv12Gn3 6kS8MhhirbccAXA81Na0osie7C9w2sziJxXkNB4/GlyLR4NJs44EuDYTMZJx7Kb/0zHvHyu/zNm5J RZD5M0FG/SiIXpv9IfTL5lPnWowrMyYqNngAKjEahP9w7AGfJiGOUaNQDZfgnxa2uePg7WTum+sQh 4u3tDnC4y50BSOLScOtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEY3y-00EEhy-M4; Sun, 08 Jan 2023 15:58:22 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEY3u-00EEfX-GM for linux-arm-kernel@lists.infradead.org; Sun, 08 Jan 2023 15:58:20 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 308FvutR077257; Sun, 8 Jan 2023 09:57:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1673193476; bh=4RpCFnnGJ3Or8AcQasz5O0BD+9DLwxSIyjJFxPI0xFA=; h=From:To:CC:Subject:Date; b=TAOwjiFk2qjVFqPWSt1sB+Bhth2mVEtFei5gNMyGq3bG8EjKbtU/O/rQwCGrzLBn1 PWMPbFuw5IoVj2767+FStbduYXV30zN9eHoc7Gfh8VijZfOugZze+tmAnuuSNgTPDW uQ/P3xSEhI/efqseNoGS67ZUOcFUWc6QR6IxOHuI= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 308Fvufb041755 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 8 Jan 2023 09:57:56 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Sun, 8 Jan 2023 09:57:56 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Sun, 8 Jan 2023 09:57:56 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 308Fvtgr113997; Sun, 8 Jan 2023 09:57:55 -0600 From: Achal Verma To: Tom Joseph , Lorenzo Pieralisi , Rob Herring , Krzysztof Wilczy_ski , Bjorn Helgaas , Vignesh Raghavendra CC: , , , , Achal Verma , Milind Parab Subject: [PATCH v2 0/2] Add support to build pci-j721e as a module. Date: Sun, 8 Jan 2023 21:27:53 +0530 Message-ID: <20230108155755.2614147-1-a-verma1@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230108_075818_763091_12D77C00 X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Patch series to add support to build pci-j721e as module. It requires pcie-cadence library to be built as a module too. Changes from v1 to v2: *)Resolve build failure of pci-j721e.o module because of its dependency on pcie-cadence-host.o in following configuration as Reported-by: kernel test robot CONFIG_PCIE_CADENCE=y CONFIG_PCIE_CADENCE_HOST=m CONFIG_PCIE_CADENCE_EP=y CONFIG_PCIE_CADENCE_PLAT=y CONFIG_PCIE_CADENCE_PLAT_EP=y CONFIG_PCI_J721E=y CONFIG_PCI_J721E_HOST=m CONFIG_PCI_J721E_EP=y Achal Verma (2): PCI: cadence: Add support to build pcie-cadence library as module. PCI: j721e: Add support to build pci-j721e as module. drivers/pci/controller/cadence/Kconfig | 16 ++++++++-------- drivers/pci/controller/cadence/pci-j721e.c | 6 +++++- drivers/pci/controller/cadence/pcie-cadence-ep.c | 4 ++++ .../pci/controller/cadence/pcie-cadence-host.c | 5 +++++ drivers/pci/controller/cadence/pcie-cadence.c | 9 +++++++++ drivers/pci/controller/cadence/pcie-cadence.h | 4 ++-- 6 files changed, 33 insertions(+), 11 deletions(-)