arm64 pci_iomap, was: Re: next build: 258 warnings 9 failures (next/next-20141119)

Arnd Bergmann arnd at
Wed Nov 19 03:15:45 PST 2014

On Wednesday 19 November 2014 02:49:59 Olof's autobuilder wrote:
>         arm64.allmodconfig:
> drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
>  #warning Processor architecture undefined
> drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
>  #warning Processor architecture undefined!
> :(.text+0x42344): undefined reference to `pci_iomap'
> :(.text+0x42ca0): undefined reference to `pci_iomap'
> :(.text+0x11c10): undefined reference to `pci_iomap'
>         arm64.defconfig:
> drivers/pci/quirks.c:2965: undefined reference to `pci_iomap'
> drivers/pci/quirks.c:3328: undefined reference to `pci_iomap'
> drivers/tty/serial/8250/8250_pci.c:1044: undefined reference to `pci_iomap'
> drivers/tty/serial/8250/8250_pci.c:1012: undefined reference to `pci_iomap'
> lib/devres.c:273: undefined reference to `pci_iomap'

Hi Thierry,

This is another regression from your asm-generic change in arm64. We
are now lacking a working pci_iomap function after you removed the
'select GENERIC_IOMAP' statement.

For all I can tell, this is the correct solution (note GENERIC_PCI_IOMAP
instead of GENERIC_IOMAP):

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 37cd23625708..bc8879c283b9 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -25,6 +25,7 @@ config ARM64
        select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
+       select GENERIC_PCI_IOMAP
        select GENERIC_SCHED_CLOCK

Any comments?


More information about the linux-arm-kernel mailing list