RE: [PATCH v10 2/7] PCI/AER: factor out error reporting from AER
From: Christoph Hellwig > > - pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT); > > - /* TODO: Should kernel panic here? */ > > - pci_info(dev, "AER: Device recovery failed\n"); > > -} > > +EXPORT_SYMBOL(pci_find_aer_service); > > EXPORT_SYMBPOL_GPL please. Is this a function that a 'normal' PCIe device driver would need to call? If so it is a PITA requiring all drivers that want AER to be GPL. David
RE: [PATCH v10 2/7] PCI/AER: factor out error reporting from AER
From: Christoph Hellwig > > - pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT); > > - /* TODO: Should kernel panic here? */ > > - pci_info(dev, "AER: Device recovery failed\n"); > > -} > > +EXPORT_SYMBOL(pci_find_aer_service); > > EXPORT_SYMBPOL_GPL please. Is this a function that a 'normal' PCIe device driver would need to call? If so it is a PITA requiring all drivers that want AER to be GPL. David
Re: [PATCH v10 2/7] PCI/AER: factor out error reporting from AER
> - pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT); > - /* TODO: Should kernel panic here? */ > - pci_info(dev, "AER: Device recovery failed\n"); > -} > +EXPORT_SYMBOL(pci_find_aer_service); EXPORT_SYMBPOL_GPL please.
Re: [PATCH v10 2/7] PCI/AER: factor out error reporting from AER
> - pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT); > - /* TODO: Should kernel panic here? */ > - pci_info(dev, "AER: Device recovery failed\n"); > -} > +EXPORT_SYMBOL(pci_find_aer_service); EXPORT_SYMBPOL_GPL please.