Jan Glauber 33ba90aa4d PCI: Avoid slot reset if bridge itself is broken
When checking to see if a PCI slot can safely be reset, we previously
checked to see if any of the children had their PCI_DEV_FLAGS_NO_BUS_RESET
flag set.

Some PCIe root port bridges do not behave well after a slot reset, and may
cause the device in the slot to become unusable.

Add a check for PCI_DEV_FLAGS_NO_BUS_RESET being set in the bridge device
to prevent the slot from being reset.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
2017-10-11 13:29:09 -05:00
..
2017-09-07 13:24:20 -05:00
2017-09-08 15:47:43 -07:00
2017-09-07 13:24:16 -05:00
2017-05-08 19:03:25 -07:00
2017-07-02 16:14:27 -05:00
2017-09-08 15:47:43 -07:00
2017-09-05 12:45:03 -07:00
2017-09-08 15:47:43 -07:00
2016-11-29 18:05:09 -06:00
2017-01-14 11:37:18 +01:00
2016-06-20 13:24:20 -05:00