Merge branch 'pci/link'
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Feb 2021 20:59:18 +0000 (14:59 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Feb 2021 20:59:18 +0000 (14:59 -0600)
- Remove bandwidth notification for now to avoid reporting spam (Bjorn
  Helgaas)

* pci/link:
  PCI/LINK: Remove bandwidth notification

1  2 
drivers/pci/pcie/portdrv_pci.c

@@@ -153,8 -153,7 +153,8 @@@ static void pcie_portdrv_remove(struct 
  static pci_ers_result_t pcie_portdrv_error_detected(struct pci_dev *dev,
                                        pci_channel_state_t error)
  {
 -      /* Root Port has no impact. Always recovers. */
 +      if (error == pci_channel_io_frozen)
 +              return PCI_ERS_RESULT_NEED_RESET;
        return PCI_ERS_RESULT_CAN_RECOVER;
  }
  
@@@ -256,7 -255,6 +256,6 @@@ static void __init pcie_init_services(v
        pcie_pme_init();
        pcie_dpc_init();
        pcie_hp_init();
-       pcie_bandwidth_notification_init();
  }
  
  static int __init pcie_portdrv_init(void)