]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa294dcc2bb6f344de4dd1a24ad1ec2db4fadcfb
treeb96653706bcaa5b2a779c8df2280894395345aa8
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
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