Skip to content

PCI: Disable parity checking

Bjorn Helgaas linux-arm-kernel linux-pci netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 2 repliesIn review

Changes in v4 from the cover letter

- add pci_disable_parity() (not conditional on CONFIG_PCI_QUIRKS)
- remove setting of dev->broken_parity_status

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: Add pci_disable_parity()drivers/pci/pci.c include/linux/pci.h+18 -00 replies
2/3IB/mthca: Disable parity reportingdrivers/pci/quirks.c+4 -90 replies
3/3ARM: iop32x: disable N2100 PCI parity reportingarch/arm/mach-iop32x/n2100.c drivers/net/ethernet/realtek/r8169_main.c+4 -180 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHeiner KallweitKrzysztof Wilczyński
SeriesR-b
1/3Based-on-patch-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] PCI: Disable parity checking

From: Bjorn Helgaas <[email protected]>

I think this is essentially the same as Heiner's v3 posting, with these changes:

- Added a pci_disable_parity() interface in pci.c instead of making a public pci_quirk_broken_parity() because quirks.c is only compiled when CONFIG_PCI_QUIRKS=y.

- Removed the setting of dev->broken_parity_status because it's really only used by EDAC error reporting, and if we disable parity error reporting, we shouldn't get there. This change will be visible in the sysfs "broken_parity_status" file, but I doubt that's important.

I dropped Leon's reviewed-by because I fiddled with the code. Similarly I haven't added your signed-off-by, Heiner, because I don't want you blamed for my errors. But if this looks OK to you I'll add it.

v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
- reduce scope of N2100 change to using the new PCI core quirk
v3: https://lore.kernel.org/r/[email protected]/
- improve commit message of patch 2

v4:
- add pci_disable_parity() (not conditional on CONFIG_PCI_QUIRKS)
- remove setting of dev->broken_parity_status

Bjorn Helgaas (1):
PCI: Add pci_disable_parity()

Heiner Kallweit (2):
IB/mthca: Disable parity reporting
ARM: iop32x: disable N2100 PCI parity reporting

 arch/arm/mach-iop32x/n2100.c              |  8 ++++----
 drivers/net/ethernet/realtek/r8169_main.c | 14 --------------
 drivers/pci/pci.c                         | 17 +++++++++++++++++
 drivers/pci/quirks.c                      | 13 ++++---------
 include/linux/pci.h                       |  1 +
 5 files changed, 26 insertions(+), 27 deletions(-)
Signature · 1 line
2.25.1