diff options
author | Keith Busch <keith.busch@intel.com> | 2018-09-20 19:27:07 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-09-21 00:06:18 +0300 |
commit | 874b3251113a1e2cbe79c24994dc03fe4fe4b99b (patch) | |
tree | 21dc0001d4f94374f306dd64f4fe7e10bbefc75e /drivers/pci/pci.c | |
parent | c29de84149aba5f74e87b6491c13ac7203c12f55 (diff) | |
download | linux-874b3251113a1e2cbe79c24994dc03fe4fe4b99b.tar.xz |
PCI: portdrv: Restore PCI config state on slot reset
The port's config space may be cleared after a link reset, which wipes out
the bridge's bus and memory windows. Restore the config space that was
saved during probe so we can access downstream devices.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions