PCI: mvebu: Restrict build to 32-bit ARM
Subsystems (2)
PATCH 1/1 PCI: mvebu: Restrict build to 32-bit ARM
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as ARCH_MVEBU and ARCH_DOVE were exclusively 32-bit, but that's changed now, with ARCH_MVEBU also being available on 64-bit ARM.
--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/pci/host/Kconfig +1 -0
@@ -14,6 +14,7 @@ config PCI_DRA7XX config PCI_MVEBU bool "Marvell EBU PCIe controller" depends on ARCH_MVEBU || ARCH_DOVE + depends on ARM depends on OF config PCIE_DW
Signature · 1 line
2.7.1
Quoted 8 lines · On Thursday 18 February 2016 14:32:10 Thierry Reding wrote:
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as
ARCH_MVEBUandARCH_DOVEwere exclusively 32-bit, but that's changed now, withARCH_MVEBUalso being available on 64-bit ARM.Signed-off-by Thierry Reding <[email protected]>
Looks fine as a temporary workaround, but I think what we really want to do here is to remove the dependency, as the new ARM64 platforms are going to need this driver anyway.
Arnd
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines · On Thursday 18 February 2016 14:32:10 Thierry Reding wrote:
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as
ARCH_MVEBUandARCH_DOVEwere exclusively 32-bit, but that's changed now, withARCH_MVEBUalso being available on 64-bit ARM.
Quoted 5 lines
Quoted 1 line
Signed-off-by Thierry Reding <[email protected]>Looks fine as a temporary workaround, but I think what we really want to do here is to remove the dependency, as the new ARM64 platforms are going to need this driver anyway.
Agreed. I've been meaning to do just that for Tegra as well, but the conversion is somewhat more involved and this is currently breaking the linux-next builds, so a quick fix, even if temporary, is warranted in my opinion.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160218/a03a27ec/attachment-0001.sig>
Hello,
Quoted 11 lines · Thierry Reding
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as
ARCH_MVEBUandARCH_DOVEwere exclusively 32-bit, but that's changed now, withARCH_MVEBUalso being available on 64-bit ARM.Signed-off-by Thierry Reding <[email protected]>--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines · On Thursday 18 February 2016 14:32:10 Thierry Reding wrote:
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as
ARCH_MVEBUandARCH_DOVEwere exclusively 32-bit, but that's changed now, withARCH_MVEBUalso being available on 64-bit ARM.
Quoted 5 lines
Quoted 1 line
Signed-off-by Thierry Reding <[email protected]>Looks fine as a temporary workaround, but I think what we really want to do here is to remove the dependency, as the new ARM64 platforms are going to need this driver anyway.
Actually the mvebu ARM64 platform we know about (Armada 3700, 7K and 8K), won't use the same controller. A7K/A8K will use a synopsis IP and Armada 3700 a new Marvell IP.
So for me depending on ARM32 is enough.
Gregory
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 16 lines · On Thursday 18 February 2016 15:34:30 Gregory CLEMENT wrote:
Quoted 8 lines · Arnd Bergmann
Quoted 7 lines · On Thursday 18 February 2016 14:32:10 Thierry Reding wrote:
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as
ARCH_MVEBUandARCH_DOVEwere exclusively 32-bit, but that's changed now, withARCH_MVEBUalso being available on 64-bit ARM.Quoted 5 lines
Quoted 1 line
Signed-off-by Thierry Reding <[email protected]>Looks fine as a temporary workaround, but I think what we really want to do here is to remove the dependency, as the new ARM64 platforms are going to need this driver anyway.
Quoted 5 lines
Actually the mvebu ARM64 platform we know about (Armada 3700, 7K and 8K), won't use the same controller. A7K/A8K will use a synopsis IP and Armada 3700 a new Marvell IP.
So for me depending on ARM32 is enough.
Ah, that makes things much easier indeed.
Does this mean no more MBUS on the 64-bit platforms too?
Arnd
Bjorn Helgaas
AppliedQuoted 8 lines · Thierry Reding
From: Thierry Reding <[email protected]>
This driver uses PCI glue that is only available on 32-bit ARM. This used to work fine as long as
ARCH_MVEBUandARCH_DOVEwere exclusively 32-bit, but that's changed now, withARCH_MVEBUalso being available on 64-bit ARM.Signed-off-by Thierry Reding <[email protected]>
I applied this with Thomas' ack to my for-linus branch for v4.5, thanks Thierry!
Quoted 19 lines
--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-0@@ -14,6 +14,7 @@ config PCI_DRA7XX config PCI_MVEBU bool "Marvell EBU PCIe controller" depends on ARCH_MVEBU || ARCH_DOVE + depends on ARM depends on OF config PCIE_DWSignature · 1 line
2.7.1