10 Apr, 2015
1 commit
-
* pci/misc:
PCI: Read capability list as dwords, not bytes
PCI: Don't clear ASPM bits when the FADT declares it's unsupported
PCI: Clarify policy for vendor IDs in pci.txt
PCI/ACPI: Optimize device state transition delays
PCI: Export pci_find_host_bridge() for use inside PCI core
PCI: Make a shareable UUID for PCI firmware ACPI _DSM
PCI: Fix typo in Thunderbolt kernel message
09 Apr, 2015
1 commit
-
The find_pci_host_bridge() function can be useful to other PCI code so
export it. Change its name to pci_find_host_bridge().Signed-off-by: Aaron Lu
Signed-off-by: Bjorn Helgaas
04 Mar, 2015
1 commit
-
Add helper functions to get/put the root bus's host bridge device.
Tested-by: Suravee Suthikulpanit (AMD Seattle)
Signed-off-by: Murali Karicheri
Signed-off-by: Bjorn Helgaas
Reviewed-by: Catalin Marinas
Acked-by: Will Deacon
CC: Joerg Roedel
CC: Grant Likely
CC: Rob Herring
CC: Russell King
CC: Arnd Bergmann
05 Feb, 2015
1 commit
-
Use common resource list management data structure and interfaces
instead of private implementation.Signed-off-by: Jiang Liu
Acked-by: Will Deacon
Acked-by: Bjorn Helgaas
Signed-off-by: Rafael J. Wysocki
15 Apr, 2014
1 commit
-
None of these files are actually using any __init type directives and hence
don't need to include . Most are just a left over from
__devinit and __cpuinit removal, or simply due to code getting copied from
one driver to the next.Signed-off-by: Paul Gortmaker
Signed-off-by: Bjorn Helgaas
27 Feb, 2014
1 commit
-
We have two identical copies of resource_contains() already, and more
places that could use it. This moves it to ioport.h where it can be
shared.resource_contains(struct resource *r1, struct resource *r2) returns true
iff r1 and r2 are the same type (most callers already checked this
separately) and the r1 address range completely contains r2.In addition, the new resource_contains() checks that both r1 and r2 have
addresses assigned to them. If a resource is IORESOURCE_UNSET, it doesn't
have a valid address and can't contain or be contained by another resource.
Some callers already check this or for res->start.No functional change.
Signed-off-by: Bjorn Helgaas
22 Dec, 2013
1 commit
-
These interfaces:
pcibios_resource_to_bus(struct pci_dev *dev, *bus_region, *resource)
pcibios_bus_to_resource(struct pci_dev *dev, *resource, *bus_region)took a pci_dev, but they really depend only on the pci_bus. And we want to
use them in resource allocation paths where we have the bus but not a
device, so this patch converts them to take the pci_bus instead of the
pci_dev:pcibios_resource_to_bus(struct pci_bus *bus, *bus_region, *resource)
pcibios_bus_to_resource(struct pci_bus *bus, *resource, *bus_region)In fact, with standard PCI-PCI bridges, they only depend on the host
bridge, because that's the only place address translation occurs, but
we aren't going that far yet.[bhelgaas: changelog]
Signed-off-by: Yinghai Lu
Signed-off-by: Bjorn Helgaas
01 May, 2012
4 commits
-
We need a hook to release host bridge resources allocated when creating
root bus.Signed-off-by: Yinghai Lu
Signed-off-by: Bjorn Helgaas -
Use that device for pci_root_bus bridge pointer.
Use pci_release_bus_bridge_dev() to release allocated pci_host_bridge in
remove path.Use root bus bridge pointer to get host bridge pointer instead of searching
host bridge list. That leaves the host bridge list unused, so remove it.Signed-off-by: Yinghai Lu
Signed-off-by: Bjorn Helgaas -
pci_host_bridge() looks like a C++ constructor. Also separate
find_pci_root_bus() out.Signed-off-by: Yinghai Lu
Signed-off-by: Bjorn Helgaas -
Move host bridge-related code from probe.c to a new host-bridge.c.
Signed-off-by: Yinghai Lu
Signed-off-by: Bjorn Helgaas