Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH] PCI/AER: Remove deprecated documentation for pcie_enable_pcie_error_reporting()
@ 2023-02-14 16:48 Dave Jiang
  2023-02-14 17:28 ` Bjorn Helgaas
  2023-02-14 17:37 ` Sathyanarayanan Kuppuswamy
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Jiang @ 2023-02-14 16:48 UTC (permalink / raw)
  To: linux-pci; +Cc: Dan Williams, bhelgaas, lukas

With commit [1] upstream that enables AER reporting by default for all PCIe
devices, the documentation for pcie_enable_pcie_error_reporting() is no
longer necessary. Remove references to the helper function.

[1]: commit f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native")

Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
 Documentation/PCI/pcieaer-howto.rst |   18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/Documentation/PCI/pcieaer-howto.rst b/Documentation/PCI/pcieaer-howto.rst
index 0b36b9ebfa4b..a82802795a06 100644
--- a/Documentation/PCI/pcieaer-howto.rst
+++ b/Documentation/PCI/pcieaer-howto.rst
@@ -135,15 +135,6 @@ hierarchy and links. These errors do not include any device specific
 errors because device specific errors will still get sent directly to
 the device driver.
 
-Configure the AER capability structure
---------------------------------------
-
-AER aware drivers of PCI Express component need change the device
-control registers to enable AER. They also could change AER registers,
-including mask and severity registers. Helper function
-pci_enable_pcie_error_reporting could be used to enable AER. See
-section 3.3.
-
 Provide callbacks
 -----------------
 
@@ -214,15 +205,6 @@ to mmio_enabled.
 
 helper functions
 ----------------
-::
-
-  int pci_enable_pcie_error_reporting(struct pci_dev *dev);
-
-pci_enable_pcie_error_reporting enables the device to send error
-messages to root port when an error is detected. Note that devices
-don't enable the error reporting by default, so device drivers need
-call this function to enable it.
-
 ::
 
   int pci_disable_pcie_error_reporting(struct pci_dev *dev);



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-02-15 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-14 16:48 [PATCH] PCI/AER: Remove deprecated documentation for pcie_enable_pcie_error_reporting() Dave Jiang
2023-02-14 17:28 ` Bjorn Helgaas
2023-02-14 17:37   ` Dave Jiang
2023-02-15 14:02     ` Stefan Roese
2023-02-14 19:16   ` Sathyanarayanan Kuppuswamy
2023-02-14 17:37 ` Sathyanarayanan Kuppuswamy
2023-02-14 17:42   ` Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox