Thread (44 messages) flat view 44 messages, 9 authors, 2016-06-24

[PATCH v1 00/25] PCI: Request host bridge window resources

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-06-07 13:25:43
Also in: linux-pci, linux-renesas-soc, linux-tegra, lkml

On Tuesday, June 7, 2016 8:11:05 AM CEST Bjorn Helgaas wrote:
quoted
What do you think is the correct behavior here, should the driver only
request the PIO range with parent=ioport_resource, or should it also
request the MMIO window for the I/O ports with parent=iomem_resource?
In the latter case, any idea how that can be generalized?
I think it should request both because I think iomem_resource should
contain everything in the memory map.  This would be required if we ever
did any significant reassignment of top-level devices, e.g., ACPI devices.
Ok. Should we try to pass the mmio resource for the I/O window to
the devm_request_pci_bus_resources() function along with the other
arguments then?

As far as I can tell, it should not go into the resource list
because it is not something the PCI core code should access the
way it handles the other resources.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help