PCI: Add flag for devices where we can't use bus reset
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 16 Jan 2015 00:16:04 +0000 (18:16 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Jan 2015 16:04:38 +0000 (10:04 -0600)
commitf331a859e0ee5a898c1f47596eddad4c4f02d657
treeb96653706bcaa5b2a779c8df2280894395345aa8
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
PCI: Add flag for devices where we can't use bus reset

Enable a mechanism for devices to quirk that they do not behave when
doing a PCI bus reset.  We require a modest level of spec compliant
behavior in order to do a reset, for instance the device should come
out of reset without throwing errors and PCI config space should be
accessible after reset.  This is too much to ask for some devices.

Link: http://lkml.kernel.org/r/20140923210318.498dacbd@dualc.maya.org
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: stable@vger.kernel.org # v3.14+
drivers/pci/pci.c
include/linux/pci.h