diff options
author | Konstantin Khlebnikov <[email protected]> | 2013-03-14 18:49:37 +0400 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-04-02 18:03:09 -0600 |
commit | 6e0eda3c389887168455b92b6f7b48f552227067 (patch) | |
tree | d3d336d2ab410a895a6f7257ef9b147225c5ee82 /lib/mpi/mpi-cmp.c | |
parent | b8178f130e25c1bdac1c33e0996f1ff6e20ec08e (diff) |
PCI: Don't try to disable Bus Master on disconnected PCI devices
This is a fix for commit 7897e60227 ("PCI: Disable Bus Master
unconditionally in pci_device_shutdown()"). Vivek reported that
with this commit, kexec failed because none of his SATA disks
came up.
A ->shutdown() callback might put the device in D3cold, which means config
space is no longer available.
[bhelgaas: changelog]
Link: https://lkml.org/lkml/2013/3/12/529
Reported-and-Tested-by: Vivek Goyal <[email protected]>
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions