[git pull] PCI fixes

Jesse Barnes
2010-11-15T17:45:46Z

The following changes since commit
f6614b7bb405a9b35dd28baea989a749492c46b2:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (2010-11-09 10:34:48 -0800)

are available in the git repository at:

ssh://master.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 for-linus

There's one very recent commit in here, but it's just a warning fix
from Randy so should be ok.

This set includes a fix for a long standing mmap issue on /proc/bus/pci
(present since we added the map range checking during that e1000 EEPROM
fire drill) and a fix from Bjorn for a recent resource handling
regression. It also adds a little code to better handle device power
states at enable time; rather than assuming device state is unknown at
enable time (which will prevent us from configuring things like MSI),
we read the current state out of the device if possible, fixing some
network and gfx related bugs in the process.

Bjorn Helgaas (2):
x86/PCI: coalesce overlapping host bridge windows
PCI: fix pci_bus_alloc_resource() hang, prefer positive decode

Jesse Barnes (1):
PCI: read current power state at enable time

Martin Wilck (1):
PCI: fix size checks for mmap() on /proc/bus/pci files

Randy Dunlap (1):
PCI: sysfs: fix printk warnings

Steven Rostedt (1):
PCI hotplug: ibmphp: Add check to prevent reading beyond mapped area

arch/x86/pci/acpi.c | 103 +++++++++++++++++++++++++++++-------
drivers/pci/bus.c | 70 +++++++++++++++++--------
drivers/pci/hotplug/ibmphp_ebda.c | 6 ++
drivers/pci/pci-sysfs.c | 23 ++++++--
drivers/pci/pci.c | 12 ++++
drivers/pci/pci.h | 7 ++-
drivers/pci/proc.c | 2 +-
7 files changed, 174 insertions(+), 49 deletions(-)