aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2013-05-07 14:35:44 -0600
committerBjorn Helgaas <[email protected]>2013-05-07 14:35:44 -0600
commite253aaf0af51c1e4dc7dd3b26ea8e666bf9a2d8d (patch)
tree1e108b6df63cd51372246fdc2281cffaa548b6a1 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentdd72be99d11dbf738d910a38479ce414a51eb21e (diff)
PCI: Delay final fixups until resources are assigned
Commit 4f535093cf "PCI: Put pci_dev in device tree as early as possible" moved final fixups from pci_bus_add_device() to pci_device_add(). But pci_device_add() happens before resource assignment, so BARs may not be valid yet. Typical flow for hot-add: pciehp_configure_device pci_scan_slot pci_scan_single_device pci_device_add pci_fixup_device(pci_fixup_final, dev) # previous location # resource assignment happens here pci_bus_add_devices pci_bus_add_device pci_fixup_device(pci_fixup_final, dev) # new location [bhelgaas: changelog, move fixups to pci_bus_add_device()] Reference: https://lkml.kernel.org/r/20130415182614.GB9224@xanatos Reported-by: David Bulkow <[email protected]> Tested-by: David Bulkow <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: [email protected] # v3.9+
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions