Home
last modified time | relevance | path

Searched hist:"765 bf9b739731b925ca26a8f05765b87f2bd9724" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/pci/
H A Dsetup-bus.cdiff 765bf9b739731b925ca26a8f05765b87f2bd9724 Wed Jun 08 06:04:47 CDT 2016 Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> PCI: Add generic pci_bus_claim_resources()

All PCI resources (bridge windows and BARs) should be inserted in the
iomem_resource and ioport_resource trees so we know what space is occupied
and what is available for other devices. There's nothing arch-specific
about this, but it is currently done by arch-specific code.

Add a generic pci_bus_claim_resources() interface so we can migrate away
from the arch-specific code.

[bhelgaas: changelog]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Yinghai Lu <yinghai@kernel.org>
/openbmc/linux/include/linux/
H A Dpci.hdiff 765bf9b739731b925ca26a8f05765b87f2bd9724 Wed Jun 08 06:04:47 CDT 2016 Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> PCI: Add generic pci_bus_claim_resources()

All PCI resources (bridge windows and BARs) should be inserted in the
iomem_resource and ioport_resource trees so we know what space is occupied
and what is available for other devices. There's nothing arch-specific
about this, but it is currently done by arch-specific code.

Add a generic pci_bus_claim_resources() interface so we can migrate away
from the arch-specific code.

[bhelgaas: changelog]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Yinghai Lu <yinghai@kernel.org>