All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: "Lorenzo Pieralisi" <lorenzo.pieralisi@arm.com>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Wilczyński" <kw@linux.com>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
	"Marek Behún" <kabel@kernel.org>,
	"Jan Kundrát" <jan.kundrat@cesnet.cz>
Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] PCI: mvebu: Add support for unbinding and unloading driver
Date: Fri, 26 Nov 2021 15:43:05 +0100	[thread overview]
Message-ID: <20211126144307.7568-1-pali@kernel.org> (raw)

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: "Pali Rohár" <pali@kernel.org>
To: "Lorenzo Pieralisi" <lorenzo.pieralisi@arm.com>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Wilczyński" <kw@linux.com>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
	"Marek Behún" <kabel@kernel.org>,
	"Jan Kundrát" <jan.kundrat@cesnet.cz>
Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] PCI: mvebu: Add support for unbinding and unloading driver
Date: Fri, 26 Nov 2021 15:43:05 +0100	[thread overview]
Message-ID: <20211126144307.7568-1-pali@kernel.org> (raw)

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


             reply	other threads:[~2021-11-26 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 14:43 Pali Rohár [this message]
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   ` Pali Rohár
2021-11-26 14:43 ` [PATCH 2/2] PCI: mvebu: Add support for compiling driver as module Pali Rohár
2021-11-26 14:43   ` Pali Rohár
2022-01-06 13:38 ` [PATCH 0/2] PCI: mvebu: Add support for unbinding and unloading driver Lorenzo Pieralisi
2022-01-06 13:38   ` Lorenzo Pieralisi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211126144307.7568-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=jan.kundrat@cesnet.cz \
    --cc=kabel@kernel.org \
    --cc=kw@linux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=nathan@kernel.org \
    --cc=robh@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.