PCI: Restore ACS configuration as part of pci_restore_state()
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 7 Jul 2015 19:24:35 +0000 (12:24 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jul 2015 15:40:56 +0000 (10:40 -0500)
commitccbc175aad819e1d4b6af6246b12d55b13d97815
tree9814cde7741c61d198b3e6c32150a73bfb691ab2
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
PCI: Restore ACS configuration as part of pci_restore_state()

Previously we did not restore ACS state after a PCIe reset.  This meant
that we could not reassign interfaces after a system suspend because the
D0->D3 transition disabled ACS, and we didn't restore it when going back to
D0.

Restore ACS configuration in pci_restore_state().

[bhelgaas: changelog]
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Allen Kay <allen.m.kay@intel.com>
CC: Chris Wright <chris@sous-sol.org>
CC: Alex Williamson <alex.williamson@redhat.com>
drivers/pci/pci.c