From: Dave Jiang <dave.jiang@intel.com>
To: Dan Williams <dan.j.williams@intel.com>, linux-cxl@vger.kernel.org
Cc: bhelgaas@google.com, ira.weiny@intel.com,
Jonathan.Cameron@huawei.com, lukas@wunner.de
Subject: Re: [PATCH] cxl: remove unnecessary calling of pci_enable_pcie_error_reporting()
Date: Tue, 14 Feb 2023 09:53:40 -0700 [thread overview]
Message-ID: <195dcde1-792a-ff57-2b94-b04647370be8@intel.com> (raw)
In-Reply-To: <51fa9a1b-adb9-78c0-bea4-ed27469e078c@intel.com>
On 2/13/23 8:59 PM, Dave Jiang wrote:
>
>
> On 2/13/23 6:22 PM, Dan Williams wrote:
>> Dave Jiang wrote:
>>> With this [1] commit upstream, pci_enable_pci_error_report() is no
>>> longer
>>> necessary for the driver to call. Remove call and related cleanups.
>>>
>>> [1]: f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native")
>>
>> Care to fixup the Documentation as well so others do not follow the same
>> pattern?
>
> Sure I'll add the diffs below.
Sent as separate patch:
https://lore.kernel.org/linux-pci/167639333373.777843.2141436875951823865.stgit@djiang5-mobl3.local/T/#u
>
>>
>> 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);
prev parent reply other threads:[~2023-02-14 16:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-13 20:28 [PATCH] cxl: remove unnecessary calling of pci_enable_pcie_error_reporting() Dave Jiang
2023-02-14 1:22 ` Dan Williams
2023-02-14 3:59 ` Dave Jiang
2023-02-14 16:53 ` Dave Jiang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=195dcde1-792a-ff57-2b94-b04647370be8@intel.com \
--to=dave.jiang@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=bhelgaas@google.com \
--cc=dan.j.williams@intel.com \
--cc=ira.weiny@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=lukas@wunner.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox