[PATCH 0/2] Add support to build pci-j721e as a kernel module

From: Achal Verma
Date: Sat May 13 2023 - 14:46:47 EST


J721e PCie 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.

Changes from v1:
* Reword subject line to use PCI in place of PCIe to maintain consistency
with older commit messages.
* Fix word wrapping in commit message to 75 columns and add newline
between paragraphs.
* Drop PATCH 3 (defconfig changes) from v1 and will repost it
separately.

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 | 204 +++++++++++
drivers/pci/controller/cadence/pci-j721e.c | 343 +-----------------
drivers/pci/controller/cadence/pci-j721e.h | 88 +++++
.../pci/controller/cadence/pcie-cadence-ep.c | 4 +
.../controller/cadence/pcie-cadence-host.c | 5 +
drivers/pci/controller/cadence/pcie-cadence.c | 9 +
drivers/pci/controller/cadence/pcie-cadence.h | 4 +-
10 files changed, 466 insertions(+), 335 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