Myron Stowe
f795d86aaa
PCI: Shrink decoding-disabled window while sizing BARs
...
__pci_read_base() disables decoding while sizing device BARs. We can't
print while decoding is disabled, which leads to some rather messy exit
logic.
Coalesce the sizing logic to minimize the time decoding is disabled. This
lets us print errors where they're detected.
The refactoring also takes advantage of the symmetry of obtaining the BAR's
extent (pci_size) and storing the result as the 'region' for both the
32-bit and 64-bit BARs, consolidating both cases.
No functional change intended.
[bhelgaas: move pci_size() up, per Thomas Petazzoni, Thierry Reding, Kevin Hilman]
Signed-off-by: Myron Stowe <[email protected] >
Signed-off-by: Bjorn Helgaas <[email protected] >
CC: Matthew Wilcox <[email protected] >
2014-11-10 20:28:17 -07:00
..
host
PCI changes for the v3.18 merge window:
2014-10-09 15:03:49 -04:00
hotplug
PCI changes for the v3.18 merge window:
2014-10-09 15:03:49 -04:00
pcie
ACPI and power management updates for 3.18-rc1
2014-10-09 16:07:43 -04:00
access.c
PCI: Merge multi-line quoted strings
2014-06-10 20:20:42 -06:00
ats.c
bus.c
PCI: Move EXPORT_SYMBOL so it immediately follows function/variable
2014-06-10 13:36:10 -06:00
host-bridge.c
hotplug-pci.c
htirq.c
PCI changes for the v3.16 merge window (part 2):
2014-06-12 13:20:24 -07:00
ioapic.c
PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
2014-08-12 12:15:14 -06:00
iov.c
PCI: Use device flag helper functions
2014-09-16 16:19:58 -06:00
irq.c
Kconfig
Makefile
msi.c
VFIO updates for v3.18-rc1
2014-10-11 06:49:24 -04:00
of.c
pci-acpi.c
PCI: Shuffle pci-acpi.c functions to group them logically
2014-09-12 20:01:38 -06:00
pci-driver.c
PCI: Remove unnecessary variable in pci_add_dynid()
2014-09-03 12:42:33 -06:00
pci-label.c
ACPI / PCI: Fix sysfs acpi_index and label errors
2014-07-02 15:27:08 -06:00
pci-stub.c
PCI: Whitespace cleanup
2014-06-10 20:20:19 -06:00
pci-sysfs.c
Merge branch 'pci/msi' into next
2014-10-01 12:31:46 -06:00
pci.c
Merge branch 'pci/host-generic' into next
2014-10-01 12:31:23 -06:00
pci.h
Merge branches 'pci/hotplug', 'pci/pci_is_bridge' and 'pci/virtualization' into next
2014-05-28 16:21:07 -06:00
probe.c
PCI: Shrink decoding-disabled window while sizing BARs
2014-11-10 20:28:17 -07:00
proc.c
PCI: Whitespace cleanup
2014-06-10 20:20:19 -06:00
quirks.c
Merge branch 'pci/virtualization' into next
2014-10-06 09:58:37 -06:00
remove.c
rom.c
PCI: Whitespace cleanup
2014-06-10 20:20:19 -06:00
search.c
PCI: Remove unused pci_find_upstream_pcie_bridge()
2014-09-22 14:46:13 -06:00
setup-bus.c
PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources()
2014-09-30 13:56:46 -06:00
setup-irq.c
PCI: Whitespace cleanup
2014-06-10 20:20:19 -06:00
setup-res.c
PCI: Tidy resource assignment messages
2014-07-08 16:29:08 -06:00
slot.c
syscall.c
PCI: Whitespace cleanup
2014-06-10 20:20:19 -06:00
vc.c
vpd.c
xen-pcifront.c
xen: remove DEFINE_XENBUS_DRIVER() macro
2014-10-06 10:27:57 +01:00