All of lore.kernel.org
 help / color / mirror / Atom feed
* PCIe host controller without IO port access.
@ 2014-11-02 23:37 ` Hauke Mehrtens
  0 siblings, 0 replies; 10+ messages in thread
From: Hauke Mehrtens @ 2014-11-02 23:37 UTC (permalink / raw)
  To: linux-arm-kernel@lists.infradead.org, linux-pci

Hi,

I am currently writing a driver for a PCIe host controller which does
not support IO port access.

My plan was to only provide IORESOURCE_MEM to pci_sys_data->resources,
but then it allocates some generic IORESOURCE_IO memory in
arch/arm/kernel/bios32.c:pcibios_init_resources(). This will work for
the fist PCIe controller, but when the second controller gets registered
I am getting this: "unable to allocate I/O port region (-16)".

Is there an example for an arm driver for a PCIe controller which does
not support IO port access?

Should I change arch/arm/kernel/bios32.c in a way so that it would
ignore the io port mem?

Hauke

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

end of thread, other threads:[~2014-11-04 10:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-02 23:37 PCIe host controller without IO port access Hauke Mehrtens
2014-11-02 23:37 ` Hauke Mehrtens
2014-11-03 17:41 ` Bjorn Helgaas
2014-11-03 17:41   ` Bjorn Helgaas
2014-11-03 22:00   ` Rob Herring
2014-11-03 22:00     ` Rob Herring
2014-11-03 23:08     ` Hauke Mehrtens
2014-11-03 23:08       ` Hauke Mehrtens
2014-11-04 10:19       ` Arnd Bergmann
2014-11-04 10:19         ` Arnd Bergmann

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.