linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: mvebu: Add support for unbinding and unloading driver
@ 2021-11-26 14:43 Pali Rohár
  2021-11-26 14:43 ` [PATCH 1/2] bus: mvebu-mbus: Export symbols for public API window functions Pali Rohár
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pali Rohár @ 2021-11-26 14:43 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, Thomas Petazzoni, Arnd Bergmann, Nathan Chancellor,
	Chris Packham, Marek Behún, Jan Kundrát
  Cc: linux-pci, linux-arm-kernel, linux-kernel

This patch series add support for unbinding device from pci-mvebu driver,
allow to compile pci-mvebu.c as kernel module pci-mvebu.ko and allow to
rmmod this module.

This patch series depends on another patch series which converts
pci-mvebu.c driver to use devm_pci_remap_iospace() function:

"arm: ioremap: Remove pci_ioremap_io() and mvebu_pci_host_probe()":
https://lore.kernel.org/linux-pci/20211124154116.916-1-pali@kernel.org/

Without usage of devm_pci_remap_iospace() it is not possible to bind
device to pci-mvebu driver again after unbinding it.

Tested on Turris Omnia - Armada 385 board.

Pali Rohár (2):
  bus: mvebu-mbus: Export symbols for public API window functions
  PCI: mvebu: Add support for compiling driver as module

 drivers/bus/mvebu-mbus.c           |  5 ++
 drivers/pci/controller/Kconfig     |  2 +-
 drivers/pci/controller/pci-mvebu.c | 91 +++++++++++++++++++++++++-----
 3 files changed, 82 insertions(+), 16 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-06 13:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-26 14:43 [PATCH 0/2] PCI: mvebu: Add support for unbinding and unloading driver Pali Rohár
2021-11-26 14:43 ` [PATCH 1/2] bus: mvebu-mbus: Export symbols for public API window functions Pali Rohár
2021-11-26 14:43 ` [PATCH 2/2] PCI: mvebu: Add support for compiling driver as module Pali Rohár
2022-01-06 13:38 ` [PATCH 0/2] PCI: mvebu: Add support for unbinding and unloading driver Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).