Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5092611rwl; Sun, 8 Jan 2023 08:26:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXuWoVsT1iG8OTRHStvrqqnnOWr7Z7ywGcurRTp1dUMSKts55BFETeajQCZ484XWDdK5j+9u X-Received: by 2002:a05:6a20:2d28:b0:b2:5a61:da0e with SMTP id g40-20020a056a202d2800b000b25a61da0emr76477063pzl.62.1673195178850; Sun, 08 Jan 2023 08:26:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673195178; cv=none; d=google.com; s=arc-20160816; b=e/p4rExcKrW/MBfw8wW6ZPqDNKI3ZVB9YVIqyuOIiX9hGgABJ2Ao1I977SiAtpvaGM SBRaktI/ZclArGGAEpVS5JqbXn6DkhUZ9V3QG4gQEm0Rd1fxj3yj3ZYsovZzwE2z330l ESU4+SXhpHuIA1ZG7/LK8FdCSAhzH5MieJ9tPykmOAxl3jmV/gEtc/HVWiqBX33emKlD L36bmshN7vWWnwv0/UWz/WzPXgKKEVEpkrwuieMYHT5SPD1oGjQSljUEewkFqpUcw/VT +/GgQdkIV4HyykW4HHh+xfm/EIEdqoyaMegRvPF81/CW/igb51muVx1fI8sRH7M9pXRv SKuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4RpCFnnGJ3Or8AcQasz5O0BD+9DLwxSIyjJFxPI0xFA=; b=uLdLzywOxocnMbaLxzU/9BiP3VhqYigUuXM0neZVjzQPHaYDLh37UICqK/YlOljosD 6dQJSsm+skIH/eZFweSsfoo4buxBvFK9sopOH0usVA7UjBHBrMYu2fKRBbSoWQru+3NZ XBliZT1Pkvmy275oV9JghwRQpMGt0UMNUoov+9JBScWvGmIjQofwjUiPaVxbjjMFkl5f GJjPfAjYdy+EVhnG/jhRYqOdZHgrmLRp3nYhusdFoo2eoxXoPOptFn+P8b8FOv4CroxJ qyhfd7pmMYj5um641/JUE3nngExUcXK/ygEfaS9NxeKfTN0W+qDpjsaXnzJGzE9CgHmV pF/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TAOwjiFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b30-20020a631b1e000000b004a5c9673b66si7280916pgb.323.2023.01.08.08.26.12; Sun, 08 Jan 2023 08:26:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TAOwjiFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231272AbjAHP6X (ORCPT + 53 others); Sun, 8 Jan 2023 10:58:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjAHP6V (ORCPT ); Sun, 8 Jan 2023 10:58:21 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5EE6BCB5; Sun, 8 Jan 2023 07:58:20 -0800 (PST) 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.25.1