]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/DPC: Save and restore config state
authorKeith Busch <keith.busch@intel.com>
Thu, 20 Sep 2018 16:27:08 +0000 (10:27 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Sep 2018 21:06:27 +0000 (16:06 -0500)
commitad7171fa49e41f9c501814885f7a208750ff9820
treebcc27a181369ca9722b10235f706eca64b7fdf6e
parente9974b26750230c2f0e68339f737ffb44f9535fd
PCI/DPC: Save and restore config state

This patch provides DPC save and restore capabilities.  This is necessary
for the driver to observe DPC events in the event the configuration space
needs to be restored after a reset.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/pcie/dpc.c