diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-11-28 08:54:28 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-11-28 08:54:28 -0600 |
commit | c2a3d213d1bc007683f63790b1cf522d5586d1a8 (patch) | |
tree | ee79a528174215924ac6de6a078b43b9ed17d8e3 /drivers/pci/pci.c | |
parent | 7d194c2100ad2a6dded545887d02754948ca5241 (diff) | |
parent | 35a0b2378c199d4f26e458b2ca38ea56aaf2d9b8 (diff) | |
download | linux-c2a3d213d1bc007683f63790b1cf522d5586d1a8.tar.bz2 |
Merge branch 'pci/aer'
- Restore AER capability after resume (Mayurkumar Patel)
- Add PoisonTLPBlocked AER counter (Rajat Jain)
- Use for_each_set_bit() to simplify AER code (Andy Shevchenko)
- Fix AER kernel-doc (Andy Shevchenko)
- Add "pcie_ports=dpc-native" parameter to allow native use of DPC even
if platform didn't grant control over AER (Olof Johansson)
* pci/aer:
PCI/DPC: Add "pcie_ports=dpc-native" to allow DPC without AER control
PCI/AER: Fix kernel-doc warnings
PCI/AER: Use for_each_set_bit() to simplify code
PCI/AER: Add PoisonTLPBlocked to Uncorrectable error counters
PCI/AER: Save AER Capability for suspend/resume
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index a97e2571a527..e36015756d3d 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1359,6 +1359,7 @@ int pci_save_state(struct pci_dev *dev) pci_save_ltr_state(dev); pci_save_dpc_state(dev); + pci_save_aer_state(dev); return pci_save_vc_state(dev); } EXPORT_SYMBOL(pci_save_state); @@ -1472,6 +1473,7 @@ void pci_restore_state(struct pci_dev *dev) pci_restore_dpc_state(dev); pci_cleanup_aer_error_status_regs(dev); + pci_restore_aer_state(dev); pci_restore_config_space(dev); |