mbox series

[0/3] PCI: Disable parity checking if broken_parity is set

Message ID a6f09e1b-4076-59d1-a4e3-05c5955bfff2@gmail.com (mailing list archive)
Headers show
Series PCI: Disable parity checking if broken_parity is set | expand

Message

Heiner Kallweit Jan. 5, 2021, 9:40 a.m. UTC
If we know that a device has broken parity checking, then disable it.
This avoids quirks like in r8169 where on the first parity error
interrupt parity checking will be disabled if broken_parity_status
is set. Make pci_quirk_broken_parity() public so that it can be used
by platform code, e.g. for Thecus N2100.

Heiner Kallweit (3):
  PCI: Disable parity checking if broken_parity_status is set
  ARM: iop32x: improve N2100 PCI broken parity quirk
  r8169: simplify broken parity handling now that PCI core takes care

 arch/arm/mach-iop32x/n2100.c              |  8 +++-----
 drivers/net/ethernet/realtek/r8169_main.c | 14 --------------
 drivers/pci/quirks.c                      | 17 +++++++++++------
 include/linux/pci.h                       |  2 ++
 4 files changed, 16 insertions(+), 25 deletions(-)