Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1328660 > unrolled thread
| Started by | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| First post | 2016-02-08 01:10 +0100 |
| Last post | 2016-02-08 17:00 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 5/5] drivers/pci: make most of the PCI_DW drivers modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-02-08 01:10 +0100
Re: [PATCH 5/5] drivers/pci: make most of the PCI_DW drivers modular Arnd Bergmann <arnd@arndb.de> - 2016-02-08 11:10 +0100
Re: [PATCH 5/5] drivers/pci: make most of the PCI_DW drivers modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-02-08 17:00 +0100
| From | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| Date | 2016-02-08 01:10 +0100 |
| Subject | [PATCH 5/5] drivers/pci: make most of the PCI_DW drivers modular |
| Message-ID | <qZHyW-5BD-7@gated-at.bofh.it> |
We've exported the symbols that we know these specific drivers will need as tristate, so now we can make the conversion from bool to tristate w/o concern for build regressions. Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Ley Foon Tan <lftan@altera.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Stanimir Varbanov <svarbanov@mm-sol.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: linux-pci@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- drivers/pci/host/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index b040ad7ba44d..f3020389ddaa 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -2,7 +2,7 @@ menu "PCI host controller drivers" depends on PCI config PCI_DRA7XX - bool "TI DRA7xx PCIe controller" + tristate "TI DRA7xx PCIe controller" select PCIE_DW depends on OF && HAS_IOMEM && TI_PIPE3 depends on BROKEN @@ -20,13 +20,13 @@ config PCIE_DW bool config PCI_EXYNOS - bool "Samsung Exynos PCIe controller" + tristate "Samsung Exynos PCIe controller" depends on SOC_EXYNOS5440 select PCIEPORTBUS select PCIE_DW config PCI_IMX6 - bool "Freescale i.MX6 PCIe controller" + tristate "Freescale i.MX6 PCIe controller" depends on SOC_IMX6Q select PCIEPORTBUS select PCIE_DW @@ -61,7 +61,7 @@ config PCI_HOST_GENERIC controller, such as the one emulated by kvmtool. config PCIE_SPEAR13XX - bool "STMicroelectronics SPEAr PCIe controller" + tristate "STMicroelectronics SPEAr PCIe controller" depends on ARCH_SPEAR13XX select PCIEPORTBUS select PCIE_DW @@ -106,7 +106,7 @@ config PCI_XGENE_MSI This MSI driver supports 5 PCIe ports on the APM X-Gene v1 SoC. config PCI_LAYERSCAPE - bool "Freescale Layerscape PCIe controller" + tristate "Freescale Layerscape PCIe controller" depends on OF && (ARM || ARCH_LAYERSCAPE) select PCIE_DW select MFD_SYSCON @@ -174,7 +174,7 @@ config PCIE_ALTERA_MSI config PCI_HISI depends on OF && ARM64 - bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers" + tristate "HiSilicon Hip05 and Hip06 SoCs PCIe controllers" select PCIEPORTBUS select PCIE_DW help @@ -182,7 +182,7 @@ config PCI_HISI Hip05 and Hip06 SoCs config PCIE_QCOM - bool "Qualcomm PCIe controller" + tristate "Qualcomm PCIe controller" depends on ARCH_QCOM && OF select PCIE_DW select PCIEPORTBUS -- 2.6.1
[toc] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-02-08 11:10 +0100 |
| Message-ID | <qZQVA-3NI-15@gated-at.bofh.it> |
| In reply to | #1328660 |
On Sunday 07 February 2016 19:00:44 Paul Gortmaker wrote: > We've exported the symbols that we know these specific drivers > will need as tristate, so now we can make the conversion from > bool to tristate w/o concern for build regressions. > > Cc: Bjorn Helgaas <bhelgaas@google.com> > Cc: Ley Foon Tan <lftan@altera.com> > Cc: Geert Uytterhoeven <geert+renesas@glider.be> > Cc: Stanimir Varbanov <svarbanov@mm-sol.com> > Cc: Thierry Reding <thierry.reding@gmail.com> > Cc: Arnd Bergmann <arnd@arndb.de> > Cc: linux-pci@vger.kernel.org > Cc: linux-arm-msm@vger.kernel.org > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Looks good, but I'm not sure what happens on unload. Did you check? Until this is tested, maybe it's best to prevent module unloading? Arnd
[toc] | [prev] | [next] | [standalone]
| From | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| Date | 2016-02-08 17:00 +0100 |
| Message-ID | <qZWok-7it-55@gated-at.bofh.it> |
| In reply to | #1328878 |
[Re: [PATCH 5/5] drivers/pci: make most of the PCI_DW drivers modular] On 08/02/2016 (Mon 11:00) Arnd Bergmann wrote: > On Sunday 07 February 2016 19:00:44 Paul Gortmaker wrote: > > We've exported the symbols that we know these specific drivers > > will need as tristate, so now we can make the conversion from > > bool to tristate w/o concern for build regressions. > > > > Cc: Bjorn Helgaas <bhelgaas@google.com> > > Cc: Ley Foon Tan <lftan@altera.com> > > Cc: Geert Uytterhoeven <geert+renesas@glider.be> > > Cc: Stanimir Varbanov <svarbanov@mm-sol.com> > > Cc: Thierry Reding <thierry.reding@gmail.com> > > Cc: Arnd Bergmann <arnd@arndb.de> > > Cc: linux-pci@vger.kernel.org > > Cc: linux-arm-msm@vger.kernel.org > > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> > > Looks good, but I'm not sure what happens on unload. Did you check? Per the 0/N I've not got the capability to do run time testing for any of this stuff. And from previous discussions, ISTR that people didn't want to see a blanket block-unload policy implemented. > Until this is tested, maybe it's best to prevent module unloading? If that is what people want, I can add that. P. -- > > Arnd
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web