]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mthca: Disable parity reporting
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 30 Mar 2021 17:43:17 +0000 (12:43 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 31 Mar 2021 17:29:33 +0000 (12:29 -0500)
commit0cd0ba343f231c56d87e6e937a68b14cbcd91432
treec0b3a6a72d139acc212a9a41cb9f97589ec7c52f
parente660ef1f0320d4601874e533cee9e76fa23c6c11
IB/mthca: Disable parity reporting

For Mellanox Tavor devices, we previously set dev->broken_parity_status,
which does not change the device's behavior; it merely prevents the EDAC
PCI error reporting from warning about Master Data Parity Error, Signaled
System Error, or Detected Parity Error for this device.

Instead, disable Parity Error Response so the device doesn't report
parity errors in the first place.

[bhelgaas: split out pci_disable_parity(), commit log, keep quirk static]
Link: https://lore.kernel.org/r/20210330174318.1289680-3-helgaas@kernel.org
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
drivers/pci/quirks.c