[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250903124505.365913-1-s-vadapalli@ti.com>
Date: Wed, 3 Sep 2025 18:14:41 +0530
From: Siddharth Vadapalli <s-vadapalli@...com>
To: <lpieralisi@...nel.org>, <kwilczynski@...nel.org>, <mani@...nel.org>,
<robh@...nel.org>, <bhelgaas@...gle.com>, <jingoohan1@...il.com>,
<fan.ni@...sung.com>, <quic_wenbyao@...cinc.com>,
<namcao@...utronix.de>, <mayank.rana@....qualcomm.com>,
<thippeswamy.havalige@....com>, <quic_schintav@...cinc.com>,
<shradha.t@...sung.com>, <inochiama@...il.com>, <cassel@...nel.org>,
<kishon@...nel.org>, <18255117159@....com>, <rongqianfeng@...o.com>,
<jirislaby@...nel.org>
CC: <linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <srk@...com>,
<s-vadapalli@...com>
Subject: [PATCH 00/11] PCI: Keystone: Enable loadable module support
Hello,
This series enables support for the 'pci-keystone.c' driver to be built
as a loadable module. The motivation for the series is that PCIe is not
a necessity for booting Linux due to which the 'pci-keystone.c' driver
does not need to be built-in.
Series is based on linux-next tagged next-20250903.
Series has been tested on the AM654-IDK-EVM by validating module removal
and reprobe while connected to an Intel PCIe-Ethernet Adapter. Test Logs:
https://gist.github.com/Siddharth-Vadapalli-at-TI/dfd7821c187241d63098117eb7431a1b
Regards,
Siddharth.
Siddharth Vadapalli (11):
PCI: Export pci_get_host_bridge_device() for use by pci-keystone
PCI: dwc: Export dw_pcie_allocate_domains() for pci-keystone
PCI: dwc: Add dw_pcie_free_domains() helper for cleanup
PCI: dwc: ep: Export dw_pcie_ep_raise_msix_irq() for pci-keystone
PCI: keystone: Add ks_pcie_free_msi_irq() helper for cleanup
PCI: keystone: Add ks_pcie_free_intx_irq() helper for cleanup
PCI: keystone: Add ks_pcie_host_deinit() helper for cleanup
PCI: keystone: Add ks_pcie_disable_error_irq() helper for cleanup
PCI: keystone: Switch to devm_request_irq() for "ks-pcie-error-irq"
IRQ
PCI: keystone: Exit ks_pcie_probe() for the default switch-case of
"mode"
PCI: keystone: Add support to build as a loadable module
drivers/pci/controller/dwc/Kconfig | 6 +-
drivers/pci/controller/dwc/pci-keystone.c | 111 +++++++++++++++++-
.../pci/controller/dwc/pcie-designware-ep.c | 1 +
.../pci/controller/dwc/pcie-designware-host.c | 10 ++
drivers/pci/controller/dwc/pcie-designware.h | 5 +
drivers/pci/host-bridge.c | 1 +
include/linux/pci.h | 1 +
7 files changed, 127 insertions(+), 8 deletions(-)
--
2.43.0
Powered by blists - more mailing lists