pci-j721e driver is not required during linux boot, thus it should be build as a loadable kernel module. This series add support to build pci-j721e driver and pcie-cadence library as lodable modules. Last posted: https://lore.kernel.org/all/20230513184620.2200916-1-a-verma1@xxxxxx/#t Achal Verma (1): PCI: j721e: Add support to build pci-j721e as a kernel module Kishon Vijay Abraham I (1): PCI: cadence: Add support to build pcie-cadence library as a kernel module drivers/pci/controller/cadence/Kconfig | 12 +- drivers/pci/controller/cadence/Makefile | 2 + drivers/pci/controller/cadence/pci-j721e-ep.c | 130 ++++++ .../pci/controller/cadence/pci-j721e-host.c | 208 ++++++++++ drivers/pci/controller/cadence/pci-j721e.c | 382 +++--------------- drivers/pci/controller/cadence/pci-j721e.h | 96 +++++ .../pci/controller/cadence/pcie-cadence-ep.c | 4 + .../controller/cadence/pcie-cadence-host.c | 27 ++ drivers/pci/controller/cadence/pcie-cadence.c | 21 + drivers/pci/controller/cadence/pcie-cadence.h | 11 +- 10 files changed, 553 insertions(+), 340 deletions(-) create mode 100644 drivers/pci/controller/cadence/pci-j721e-ep.c create mode 100644 drivers/pci/controller/cadence/pci-j721e-host.c create mode 100644 drivers/pci/controller/cadence/pci-j721e.h -- 2.25.1