summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/pci.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-10-06 10:56:54 +0200
committerIngo Molnar <mingo@kernel.org>2015-10-06 10:56:54 +0200
commit38a413cbc2b2834683b21823d964bc2d2f0abb82 (patch)
tree2c62753bef5068ca9a34f13beee142304d028ec0 /arch/alpha/kernel/pci.c
parentx86/mm: Fix no-change case in try_preserve_large_page() (diff)
parentLinux 4.3-rc3 (diff)
downloadlinux-38a413cbc2b2834683b21823d964bc2d2f0abb82.tar.xz
linux-38a413cbc2b2834683b21823d964bc2d2f0abb82.zip
Merge tag 'v4.3-rc3' into x86/mm, to pick up fixes before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/alpha/kernel/pci.c')
-rw-r--r--arch/alpha/kernel/pci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c
index cded02c890aa..5f387ee5b5c5 100644
--- a/arch/alpha/kernel/pci.c
+++ b/arch/alpha/kernel/pci.c
@@ -242,7 +242,12 @@ pci_restore_srm_config(void)
void pcibios_fixup_bus(struct pci_bus *bus)
{
- struct pci_dev *dev;
+ struct pci_dev *dev = bus->self;
+
+ if (pci_has_flag(PCI_PROBE_ONLY) && dev &&
+ (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) {
+ pci_read_bridge_bases(bus);
+ }
list_for_each_entry(dev, &bus->devices, bus_list) {
pdev_save_srm_config(dev);