]> 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)
commitec94dfab4cc8f2813582270429d1b22f928b87ab
treec0b3a6a72d139acc212a9a41cb9f97589ec7c52f
parent49b900a185f18f6875655f71d002d5be31ab154f
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