Skip to content

RFC ARM: Allow PCI host drivers to be unloaded

Thierry Reding linux-arm-kernel linux-pci linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: Allow unmapping of fixed PCI I/O mappingsarch/arm/include/asm/io.h arch/arm/mm/ioremap.c+7 -00 replies
2/3ARM: Introduce pci_common_exit()arch/arm/include/asm/mach/pci.h arch/arm/kernel/bios32.c+32 -30 replies
3/3PCI: tegra: Support driver unbindingdrivers/pci/host/pci-tegra.c+36 -17 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] ARM: Allow PCI host drivers to be unloaded

Hi,

This is a set of experimental patches that allow ARM PCI host drivers to be unloaded. The first two patches enhance the ARM core PCI code with functions to tear down fixed PCI I/O mappings and unregister a PCI host bridge. The third patch uses the new functionality to allow the Tegra PCIe driver to unbind from a device.

I'm sending this as an RFC because, while I've been able to successfully unbind and rebind the Tegra PCIe driver and verifying that a NIC connected via PCIe still works after each new probe, I haven't fully investigated yet whether there may be memory leaks due to missing cleanup.

Thierry

Thierry Reding (3):
ARM: Allow unmapping of fixed PCI I/O mappings
ARM: Introduce pci_common_exit()
PCI: tegra: Support driver unbinding

 arch/arm/include/asm/io.h       |  1 +
 arch/arm/include/asm/mach/pci.h |  6 ++++++
 arch/arm/kernel/bios32.c        | 29 ++++++++++++++++++++++++++---
 arch/arm/mm/ioremap.c           |  6 ++++++
 drivers/pci/host/pci-tegra.c    | 37 ++++++++++++++++++++++++++++++++++++-
 5 files changed, 75 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.3.4