linux/drivers/pci
Matthew Wilcox 4fb88c1a28 PCI: Make pci_scan_slot more robust
Yinghai pointed out that the new pci_scan_slot() crashes when called
on an ARI-capable slot that is empty.  Fix this by exiting early from
pci_scan_slot if there is no device in the slot.

Also make next_ari_func() robust against devices not existing in case
the ARI capability is corrupt.  ARI also requires that the devices be
listed in order, so if we find a function listed that is out of order,
stop scanning to prevent loops.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-02-22 16:17:17 -08:00
..
hotplug PCI: hotplug/cpcihp, fix pci device refcounting 2010-02-22 16:17:02 -08:00
pcie PCI: fix nested spinlock hang in aer_inject 2010-01-25 10:42:52 -08:00
.gitignore
access.c
bus.c resource/PCI: mark struct resource as const 2010-02-22 16:16:57 -08:00
dmar.c Merge git://git.infradead.org/iommu-2.6 2009-12-16 10:11:38 -08:00
hotplug-pci.c
hotplug.c
htirq.c
intel-iommu.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-12-30 13:13:24 -08:00
intr_remapping.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-12-30 13:13:24 -08:00
intr_remapping.h
ioapic.c
iov.c PCI: use pci_is_pcie() in pci core 2009-11-24 15:25:16 -08:00
iova.c
irq.c
Kconfig PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
Makefile PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
msi.c
msi.h
pci-acpi.c PCI/PM: Propagate wake-up enable for PCIe devices too 2009-12-16 13:37:49 -08:00
pci-driver.c
pci-stub.c
pci-sysfs.c PCI: Check the node argument passed to cpumask_of_node 2010-01-04 15:10:56 -08:00
pci.c PCI: Clean up build for CONFIG_PCI_QUIRKS unset 2010-02-22 16:15:21 -08:00
pci.h PCI: Clean up build for CONFIG_PCI_QUIRKS unset 2010-02-22 16:15:21 -08:00
probe.c PCI: Make pci_scan_slot more robust 2010-02-22 16:17:17 -08:00
proc.c
quirks.c PCI: Clean up build for CONFIG_PCI_QUIRKS unset 2010-02-22 16:15:21 -08:00
remove.c
rom.c
search.c PCI: change PCI nomenclature in drivers/pci/ (comment changes) 2009-12-16 13:37:53 -08:00
setup-bus.c PCI: don't dump resource when bus resource flags indicates unused 2010-02-22 16:17:00 -08:00
setup-irq.c
setup-res.c
slot.c PCI: Add support for reporting PCIe 3.0 speeds 2010-02-22 16:15:19 -08:00
syscall.c